Skip to content

Commit

Permalink
[DOCS-2743] Replace FQLX beta docs links in main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed May 7, 2024
1 parent 36e264f commit 5854af4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/client-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface ClientConfiguration {
linearized?: boolean;

/**
* Controls what Javascript type to deserialize {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/types#long | Fauna longs} to.
* Controls what Javascript type to deserialize {@link https://docs.fauna.com/fauna/current/reference/fql_reference/types#long | Fauna longs} to.
* Use 'number' to deserialize longs to number. Use 'bigint' to deserialize to bigint. Defaults to 'number'.
* Note, for extremely large maginitude numbers Javascript's number will lose precision; as Javascript's
* 'number' can only support +/- 2^53-1 whereas Fauna's long is 64 bit. If this is detected, a warning will
Expand Down
8 changes: 0 additions & 8 deletions src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export class ServiceError extends FaunaError {
* QueryRuntimeError's occur when a bug in your query causes an invalid execution
* to be requested.
* The 'code' field will vary based on the specific error cause.
*
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/errors#runtime-errors}
*/
export class QueryRuntimeError extends ServiceError {
constructor(failure: QueryFailure, httpStatus: 400) {
Expand All @@ -85,8 +83,6 @@ export class QueryRuntimeError extends ServiceError {
/**
* An error due to a "compile-time" check of the query
* failing.
*
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/errors#runtime-errors}
*/
export class QueryCheckError extends ServiceError {
constructor(failure: QueryFailure, httpStatus: 400) {
Expand All @@ -101,8 +97,6 @@ export class QueryCheckError extends ServiceError {
/**
* An error due to an invalid request to Fauna. Either the request body was not
* valid JSON or did not conform to the API specification
*
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/errors#runtime-errors}
*/
export class InvalidRequestError extends ServiceError {
constructor(failure: QueryFailure, httpStatus: 400) {
Expand All @@ -116,8 +110,6 @@ export class InvalidRequestError extends ServiceError {

/**
* An error due to calling the FQL `abort` function.
*
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/errors#runtime-errors}
*/
export class AbortError extends ServiceError {
/**
Expand Down
4 changes: 2 additions & 2 deletions src/values/date-time.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import * as PARSE from "../regex";
* Converting to a Javascript date before sending to Fauna could result in loss
* of precision.
*
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/builtin_functions/time/time}
* @see {@link https://docs.fauna.com/fauna/current/reference/fql_reference/types#time}
*/
export class TimeStub {
readonly isoString: string;
Expand Down Expand Up @@ -104,7 +104,7 @@ export class TimeStub {
* be taken to specify the desired date, since Javascript `Date`s use local
* timezone info by default.
*
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/builtin_functions/date/date}
* @see {@link https://docs.fauna.com/fauna/current/reference/fql_reference/types#date}
*/
export class DateStub {
readonly dateString: string;
Expand Down
4 changes: 2 additions & 2 deletions src/values/set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { QueryOptions, QueryValue } from "../wire-protocol";

/**
* A materialized view of a Set.
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/types#set}
* @see {@link https://docs.fauna.com/fauna/current/reference/fql_reference/types#set}
*/
export class Page<T extends QueryValue> {
/** A materialized page of data */
Expand All @@ -26,7 +26,7 @@ export class Page<T extends QueryValue> {
* A un-materialized Set. Typically received when a materialized Set contains
* another set, the EmbeddedSet does not contain any data to avoid potential
* issues such as self-reference and infinite recursion
* @see {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/types#set}
* @see {@link https://docs.fauna.com/fauna/current/reference/fql_reference/types#set}
*/
export class EmbeddedSet {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/wire-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface QueryOptions {
linearized?: boolean;

/**
* Controls what Javascript type to deserialize {@link https://fqlx-beta--fauna-docs.netlify.app/fqlx/beta/reference/language/types#long | Fauna longs} to.
* Controls what Javascript type to deserialize {@link https://docs.fauna.com/fauna/current/reference/fql_reference/types#long | Fauna longs} to.
* Use 'number' to deserialize longs to number. Use 'bigint' to deserialize to bigint. Defaults to 'number'.
* Note, for extremely large maginitude numbers Javascript's number will lose precision; as Javascript's
* 'number' can only support +/- 2^53-1 whereas Fauna's long is 64 bit. If this is detected, a warning will
Expand Down

0 comments on commit 5854af4

Please sign in to comment.