@supabase/postgrest-js
Advanced tools
Comparing version 1.0.0-next.5 to 1.0.0-next.6
@@ -62,5 +62,9 @@ declare type Whitespace = ' ' | '\n' | '\t'; | ||
* - `field!hint(nodes)` | ||
* - `field!inner(nodes)` | ||
* - `field!hint!inner(nodes)` | ||
* - `renamed_field:field` | ||
* - `renamed_field:field(nodes)` | ||
* - `renamed_field:field!hint(nodes)` | ||
* - `renamed_field:field!inner(nodes)` | ||
* - `renamed_field:field!hint!inner(nodes)` | ||
* | ||
@@ -71,3 +75,9 @@ * TODO: casting operators `::text`, JSON operators `->`, `->>`. | ||
star: true; | ||
}, EatWhitespace<Remainder>] : ParseIdentifier<Input> extends [infer Name, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `:${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer OriginalName, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
}, EatWhitespace<Remainder>] : ParseIdentifier<Input> extends [infer Name, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [infer _Fields, `${infer Remainder}`] ? [ | ||
{ | ||
name: Name; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
@@ -81,3 +91,3 @@ `${infer Remainder}` | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
@@ -91,9 +101,12 @@ `${infer Remainder}` | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : EatWhitespace<Remainder> extends `:${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer OriginalName, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
`${infer Remainder}` | ||
] ? [ | ||
{ | ||
name: Name; | ||
original: OriginalName; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseIdentifier<EatWhitespace<Remainder>> : EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
@@ -107,3 +120,6 @@ `${infer Remainder}` | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [infer _Fields, `${infer Remainder}`] ? [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
`${infer Remainder}` | ||
] ? [ | ||
{ | ||
@@ -114,5 +130,26 @@ name: Name; | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
`${infer Remainder}` | ||
] ? [ | ||
{ | ||
name: Name; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : [ | ||
{ | ||
name: Name; | ||
original: OriginalName; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseIdentifier<EatWhitespace<Remainder>> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [infer _Fields, `${infer Remainder}`] ? [ | ||
{ | ||
name: Name; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : [ | ||
{ | ||
name: Name; | ||
original: Name; | ||
@@ -119,0 +156,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.0.0-next.5"; | ||
export declare const version = "1.0.0-next.6"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '1.0.0-next.5'; | ||
exports.version = '1.0.0-next.6'; | ||
//# sourceMappingURL=version.js.map |
@@ -62,5 +62,9 @@ declare type Whitespace = ' ' | '\n' | '\t'; | ||
* - `field!hint(nodes)` | ||
* - `field!inner(nodes)` | ||
* - `field!hint!inner(nodes)` | ||
* - `renamed_field:field` | ||
* - `renamed_field:field(nodes)` | ||
* - `renamed_field:field!hint(nodes)` | ||
* - `renamed_field:field!inner(nodes)` | ||
* - `renamed_field:field!hint!inner(nodes)` | ||
* | ||
@@ -71,3 +75,9 @@ * TODO: casting operators `::text`, JSON operators `->`, `->>`. | ||
star: true; | ||
}, EatWhitespace<Remainder>] : ParseIdentifier<Input> extends [infer Name, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `:${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer OriginalName, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
}, EatWhitespace<Remainder>] : ParseIdentifier<Input> extends [infer Name, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [infer _Fields, `${infer Remainder}`] ? [ | ||
{ | ||
name: Name; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
@@ -81,3 +91,3 @@ `${infer Remainder}` | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
@@ -91,9 +101,12 @@ `${infer Remainder}` | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : EatWhitespace<Remainder> extends `:${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer OriginalName, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
`${infer Remainder}` | ||
] ? [ | ||
{ | ||
name: Name; | ||
original: OriginalName; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseIdentifier<EatWhitespace<Remainder>> : EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : EatWhitespace<Remainder> extends `!${infer Remainder}` ? ParseIdentifier<EatWhitespace<Remainder>> extends [infer _Hint, `${infer Remainder}`] ? EatWhitespace<Remainder> extends `!inner${infer Remainder}` ? ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
@@ -107,3 +120,6 @@ `${infer Remainder}` | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [infer _Fields, `${infer Remainder}`] ? [ | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!inner`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
`${infer Remainder}` | ||
] ? [ | ||
{ | ||
@@ -114,5 +130,26 @@ name: Name; | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : ParserError<'Expected embedded resource after `!hint`'> : ParserError<'Expected identifier after `!`'> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [ | ||
infer _Fields, | ||
`${infer Remainder}` | ||
] ? [ | ||
{ | ||
name: Name; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : [ | ||
{ | ||
name: Name; | ||
original: OriginalName; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseIdentifier<EatWhitespace<Remainder>> : ParseEmbeddedResource<EatWhitespace<Remainder>> extends [infer _Fields, `${infer Remainder}`] ? [ | ||
{ | ||
name: Name; | ||
foreignTable: true; | ||
}, | ||
EatWhitespace<Remainder> | ||
] : ParseEmbeddedResource<EatWhitespace<Remainder>> extends ParserError<string> ? ParseEmbeddedResource<EatWhitespace<Remainder>> : [ | ||
{ | ||
name: Name; | ||
original: Name; | ||
@@ -119,0 +156,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.0.0-next.5"; | ||
export declare const version = "1.0.0-next.6"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = '1.0.0-next.5'; | ||
export const version = '1.0.0-next.6'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/postgrest-js", | ||
"version": "1.0.0-next.5", | ||
"version": "1.0.0-next.6", | ||
"description": "Isomorphic PostgREST client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
202270
2757