@contember/client 2.0.0-alpha.19 → 2.0.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/index.cjs +7 -29
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +3 -29
- package/dist/development/index.js.map +1 -1
- package/dist/development/src/{content/upload/GenerateUploadUrlMutationBuilder.cjs → GenerateUploadUrlMutationBuilder.cjs} +2 -4
- package/dist/development/src/GenerateUploadUrlMutationBuilder.cjs.map +1 -0
- package/dist/development/src/{content/upload/GenerateUploadUrlMutationBuilder.js → GenerateUploadUrlMutationBuilder.js} +2 -4
- package/dist/development/src/GenerateUploadUrlMutationBuilder.js.map +1 -0
- package/dist/production/index.cjs +7 -29
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.js +3 -29
- package/dist/production/index.js.map +1 -1
- package/dist/production/src/{content/upload/GenerateUploadUrlMutationBuilder.cjs → GenerateUploadUrlMutationBuilder.cjs} +2 -4
- package/dist/production/src/GenerateUploadUrlMutationBuilder.cjs.map +1 -0
- package/dist/production/src/{content/upload/GenerateUploadUrlMutationBuilder.js → GenerateUploadUrlMutationBuilder.js} +2 -4
- package/dist/production/src/GenerateUploadUrlMutationBuilder.js.map +1 -0
- package/dist/types/{content/upload/GenerateUploadUrlMutationBuilder.d.ts → GenerateUploadUrlMutationBuilder.d.ts} +1 -2
- package/dist/types/GenerateUploadUrlMutationBuilder.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -14
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/{content/upload/GenerateUploadUrlMutationBuilder.ts → GenerateUploadUrlMutationBuilder.ts} +2 -6
- package/src/index.ts +2 -19
- package/tests/cases/unit/generateUploadUrlMutationBuilder.spec.ts +1 -2
- package/dist/development/src/content/formatContentApiRelativeUrl.cjs +0 -5
- package/dist/development/src/content/formatContentApiRelativeUrl.cjs.map +0 -1
- package/dist/development/src/content/formatContentApiRelativeUrl.js +0 -5
- package/dist/development/src/content/formatContentApiRelativeUrl.js.map +0 -1
- package/dist/development/src/content/params/whereToFilter.cjs +0 -17
- package/dist/development/src/content/params/whereToFilter.cjs.map +0 -1
- package/dist/development/src/content/params/whereToFilter.js +0 -17
- package/dist/development/src/content/params/whereToFilter.js.map +0 -1
- package/dist/development/src/content/replaceGraphQlLiteral.cjs +0 -15
- package/dist/development/src/content/replaceGraphQlLiteral.cjs.map +0 -1
- package/dist/development/src/content/replaceGraphQlLiteral.js +0 -15
- package/dist/development/src/content/replaceGraphQlLiteral.js.map +0 -1
- package/dist/development/src/content/upload/GenerateUploadUrlMutationBuilder.cjs.map +0 -1
- package/dist/development/src/content/upload/GenerateUploadUrlMutationBuilder.js.map +0 -1
- package/dist/development/src/graphQlBuilder/GraphQlLiteral.cjs +0 -15
- package/dist/development/src/graphQlBuilder/GraphQlLiteral.cjs.map +0 -1
- package/dist/development/src/graphQlBuilder/GraphQlLiteral.js +0 -15
- package/dist/development/src/graphQlBuilder/GraphQlLiteral.js.map +0 -1
- package/dist/development/src/graphQlClient/GraphQlClient.cjs +0 -26
- package/dist/development/src/graphQlClient/GraphQlClient.cjs.map +0 -1
- package/dist/development/src/graphQlClient/GraphQlClient.js +0 -26
- package/dist/development/src/graphQlClient/GraphQlClient.js.map +0 -1
- package/dist/development/src/system/formatSystemApiRelativeUrl.cjs +0 -5
- package/dist/development/src/system/formatSystemApiRelativeUrl.cjs.map +0 -1
- package/dist/development/src/system/formatSystemApiRelativeUrl.js +0 -5
- package/dist/development/src/system/formatSystemApiRelativeUrl.js.map +0 -1
- package/dist/development/src/tenant/loginMutation.cjs +0 -34
- package/dist/development/src/tenant/loginMutation.cjs.map +0 -1
- package/dist/development/src/tenant/loginMutation.js +0 -34
- package/dist/development/src/tenant/loginMutation.js.map +0 -1
- package/dist/development/src/tenant/tenantApiRelativeUrl.cjs +0 -5
- package/dist/development/src/tenant/tenantApiRelativeUrl.cjs.map +0 -1
- package/dist/development/src/tenant/tenantApiRelativeUrl.js +0 -5
- package/dist/development/src/tenant/tenantApiRelativeUrl.js.map +0 -1
- package/dist/development/src/tenant/tenantErrorMessages.cjs +0 -18
- package/dist/development/src/tenant/tenantErrorMessages.cjs.map +0 -1
- package/dist/development/src/tenant/tenantErrorMessages.js +0 -18
- package/dist/development/src/tenant/tenantErrorMessages.js.map +0 -1
- package/dist/production/src/content/formatContentApiRelativeUrl.cjs +0 -5
- package/dist/production/src/content/formatContentApiRelativeUrl.cjs.map +0 -1
- package/dist/production/src/content/formatContentApiRelativeUrl.js +0 -5
- package/dist/production/src/content/formatContentApiRelativeUrl.js.map +0 -1
- package/dist/production/src/content/params/whereToFilter.cjs +0 -17
- package/dist/production/src/content/params/whereToFilter.cjs.map +0 -1
- package/dist/production/src/content/params/whereToFilter.js +0 -17
- package/dist/production/src/content/params/whereToFilter.js.map +0 -1
- package/dist/production/src/content/replaceGraphQlLiteral.cjs +0 -15
- package/dist/production/src/content/replaceGraphQlLiteral.cjs.map +0 -1
- package/dist/production/src/content/replaceGraphQlLiteral.js +0 -15
- package/dist/production/src/content/replaceGraphQlLiteral.js.map +0 -1
- package/dist/production/src/content/upload/GenerateUploadUrlMutationBuilder.cjs.map +0 -1
- package/dist/production/src/content/upload/GenerateUploadUrlMutationBuilder.js.map +0 -1
- package/dist/production/src/graphQlBuilder/GraphQlLiteral.cjs +0 -12
- package/dist/production/src/graphQlBuilder/GraphQlLiteral.cjs.map +0 -1
- package/dist/production/src/graphQlBuilder/GraphQlLiteral.js +0 -12
- package/dist/production/src/graphQlBuilder/GraphQlLiteral.js.map +0 -1
- package/dist/production/src/graphQlClient/GraphQlClient.cjs +0 -26
- package/dist/production/src/graphQlClient/GraphQlClient.cjs.map +0 -1
- package/dist/production/src/graphQlClient/GraphQlClient.js +0 -26
- package/dist/production/src/graphQlClient/GraphQlClient.js.map +0 -1
- package/dist/production/src/system/formatSystemApiRelativeUrl.cjs +0 -5
- package/dist/production/src/system/formatSystemApiRelativeUrl.cjs.map +0 -1
- package/dist/production/src/system/formatSystemApiRelativeUrl.js +0 -5
- package/dist/production/src/system/formatSystemApiRelativeUrl.js.map +0 -1
- package/dist/production/src/tenant/loginMutation.cjs +0 -34
- package/dist/production/src/tenant/loginMutation.cjs.map +0 -1
- package/dist/production/src/tenant/loginMutation.js +0 -34
- package/dist/production/src/tenant/loginMutation.js.map +0 -1
- package/dist/production/src/tenant/tenantApiRelativeUrl.cjs +0 -5
- package/dist/production/src/tenant/tenantApiRelativeUrl.cjs.map +0 -1
- package/dist/production/src/tenant/tenantApiRelativeUrl.js +0 -5
- package/dist/production/src/tenant/tenantApiRelativeUrl.js.map +0 -1
- package/dist/production/src/tenant/tenantErrorMessages.cjs +0 -18
- package/dist/production/src/tenant/tenantErrorMessages.cjs.map +0 -1
- package/dist/production/src/tenant/tenantErrorMessages.js +0 -18
- package/dist/production/src/tenant/tenantErrorMessages.js.map +0 -1
- package/dist/types/content/formatContentApiRelativeUrl.d.ts +0 -2
- package/dist/types/content/formatContentApiRelativeUrl.d.ts.map +0 -1
- package/dist/types/content/index.d.ts +0 -5
- package/dist/types/content/index.d.ts.map +0 -1
- package/dist/types/content/params/index.d.ts +0 -2
- package/dist/types/content/params/index.d.ts.map +0 -1
- package/dist/types/content/params/whereToFilter.d.ts +0 -4
- package/dist/types/content/params/whereToFilter.d.ts.map +0 -1
- package/dist/types/content/replaceGraphQlLiteral.d.ts +0 -6
- package/dist/types/content/replaceGraphQlLiteral.d.ts.map +0 -1
- package/dist/types/content/upload/GenerateUploadUrlMutationBuilder.d.ts.map +0 -1
- package/dist/types/content/upload/index.d.ts +0 -2
- package/dist/types/content/upload/index.d.ts.map +0 -1
- package/dist/types/crudQueryBuilder/index.d.ts +0 -2
- package/dist/types/crudQueryBuilder/index.d.ts.map +0 -1
- package/dist/types/crudQueryBuilder/types.d.ts +0 -4
- package/dist/types/crudQueryBuilder/types.d.ts.map +0 -1
- package/dist/types/graphQlBuilder/GraphQlLiteral.d.ts +0 -9
- package/dist/types/graphQlBuilder/GraphQlLiteral.d.ts.map +0 -1
- package/dist/types/graphQlBuilder/QueryBuilder.d.ts +0 -11
- package/dist/types/graphQlBuilder/QueryBuilder.d.ts.map +0 -1
- package/dist/types/graphQlBuilder/index.d.ts +0 -3
- package/dist/types/graphQlBuilder/index.d.ts.map +0 -1
- package/dist/types/graphQlClient/GraphQlClient.d.ts +0 -17
- package/dist/types/graphQlClient/GraphQlClient.d.ts.map +0 -1
- package/dist/types/graphQlClient/index.d.ts +0 -4
- package/dist/types/graphQlClient/index.d.ts.map +0 -1
- package/dist/types/system/events/RelationFilter.d.ts +0 -5
- package/dist/types/system/events/RelationFilter.d.ts.map +0 -1
- package/dist/types/system/events/SystemEvent.d.ts +0 -10
- package/dist/types/system/events/SystemEvent.d.ts.map +0 -1
- package/dist/types/system/events/TreeFilter.d.ts +0 -7
- package/dist/types/system/events/TreeFilter.d.ts.map +0 -1
- package/dist/types/system/events/index.d.ts +0 -4
- package/dist/types/system/events/index.d.ts.map +0 -1
- package/dist/types/system/formatSystemApiRelativeUrl.d.ts +0 -2
- package/dist/types/system/formatSystemApiRelativeUrl.d.ts.map +0 -1
- package/dist/types/system/index.d.ts +0 -3
- package/dist/types/system/index.d.ts.map +0 -1
- package/dist/types/tenant/index.d.ts +0 -4
- package/dist/types/tenant/index.d.ts.map +0 -1
- package/dist/types/tenant/loginMutation.d.ts +0 -32
- package/dist/types/tenant/loginMutation.d.ts.map +0 -1
- package/dist/types/tenant/tenantApiRelativeUrl.d.ts +0 -2
- package/dist/types/tenant/tenantApiRelativeUrl.d.ts.map +0 -1
- package/dist/types/tenant/tenantErrorMessages.d.ts +0 -5
- package/dist/types/tenant/tenantErrorMessages.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -3
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/isEmptyObject.d.ts +0 -2
- package/dist/types/utils/isEmptyObject.d.ts.map +0 -1
- package/dist/types/utils/readFileAsArrayBuffer.d.ts +0 -2
- package/dist/types/utils/readFileAsArrayBuffer.d.ts.map +0 -1
- package/src/content/formatContentApiRelativeUrl.ts +0 -2
- package/src/content/index.ts +0 -4
- package/src/content/params/index.ts +0 -1
- package/src/content/params/whereToFilter.ts +0 -19
- package/src/content/replaceGraphQlLiteral.ts +0 -22
- package/src/content/upload/index.ts +0 -1
- package/src/crudQueryBuilder/index.ts +0 -1
- package/src/crudQueryBuilder/types.ts +0 -8
- package/src/graphQlBuilder/GraphQlLiteral.ts +0 -14
- package/src/graphQlBuilder/QueryBuilder.ts +0 -13
- package/src/graphQlBuilder/index.ts +0 -2
- package/src/graphQlClient/GraphQlClient.ts +0 -40
- package/src/graphQlClient/index.ts +0 -8
- package/src/system/events/RelationFilter.ts +0 -4
- package/src/system/events/SystemEvent.ts +0 -9
- package/src/system/events/TreeFilter.ts +0 -7
- package/src/system/events/index.ts +0 -3
- package/src/system/formatSystemApiRelativeUrl.ts +0 -1
- package/src/system/index.ts +0 -2
- package/src/tenant/index.ts +0 -3
- package/src/tenant/loginMutation.ts +0 -61
- package/src/tenant/tenantApiRelativeUrl.ts +0 -1
- package/src/tenant/tenantErrorMessages.ts +0 -14
- package/src/utils/index.ts +0 -2
- package/src/utils/isEmptyObject.ts +0 -9
- package/src/utils/readFileAsArrayBuffer.ts +0 -12
- package/tests/cases/unit/params.spec.ts +0 -26
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateUploadUrlMutationBuilder.cjs","sources":["../../../../../../packages/client/src/content/upload/GenerateUploadUrlMutationBuilder.ts"],"sourcesContent":["import { GraphQlLiteral } from '../../graphQlBuilder'\nimport { GraphQlField, GraphQlPrintResult, GraphQlQueryPrinter, GraphQlSelectionSetItem } from '@contember/graphql-builder'\nimport { GraphQlBuilder } from '../../index'\nimport { replaceGraphQlLiteral } from '../replaceGraphQlLiteral'\n\nclass GenerateUploadUrlMutationBuilder {\n\tprivate static generateUploadUrlFields = [\n\t\tnew GraphQlField(null, 'url'),\n\t\tnew GraphQlField(null, 'publicUrl'),\n\t\tnew GraphQlField(null, 'method'),\n\t\tnew GraphQlField(null, 'headers', {}, [\n\t\t\tnew GraphQlField(null, 'key'),\n\t\t\tnew GraphQlField(null, 'value'),\n\t\t]),\n\t]\n\t/**\n\t * @internal\n\t */\n\tpublic static buildQuery(parameters: GenerateUploadUrlMutationBuilder.MutationParameters): GraphQlPrintResult {\n\t\tconst selectionItems: GraphQlSelectionSetItem[] = []\n\t\tfor (const alias in parameters) {\n\t\t\tconst fileParameters = parameters[alias]\n\t\t\tif (fileParameters.suffix || fileParameters.fileName || fileParameters.extension) {\n\t\t\t\tconst { contentType, prefix, expiration, acl, size, suffix, fileName, extension } = replaceGraphQlLiteral(fileParameters)\n\t\t\t\tselectionItems.push(new GraphQlField(alias, 'generateUploadUrl', {\n\t\t\t\t\tinput: {\n\t\t\t\t\t\tvalue: { contentType, prefix, expiration, acl, size, suffix, fileName, extension },\n\t\t\t\t\t\tgraphQlType: 'S3GenerateSignedUploadInput',\n\t\t\t\t\t},\n\t\t\t\t}, GenerateUploadUrlMutationBuilder.generateUploadUrlFields))\n\t\t\t} else {\n\t\t\t\tselectionItems.push(new GraphQlField(alias, 'generateUploadUrl', {\n\t\t\t\t\tcontentType: {\n\t\t\t\t\t\tgraphQlType: 'String',\n\t\t\t\t\t\tvalue: fileParameters.contentType,\n\t\t\t\t\t},\n\t\t\t\t\texpiration: {\n\t\t\t\t\t\tgraphQlType: 'Int',\n\t\t\t\t\t\tvalue: fileParameters.expiration,\n\t\t\t\t\t},\n\t\t\t\t\tprefix: {\n\t\t\t\t\t\tgraphQlType: 'String',\n\t\t\t\t\t\tvalue: fileParameters.prefix,\n\t\t\t\t\t},\n\t\t\t\t\tacl: {\n\t\t\t\t\t\tgraphQlType: 'S3Acl',\n\t\t\t\t\t\tvalue: fileParameters.acl instanceof GraphQlBuilder.GraphqlLiteral ? fileParameters.acl?.value : fileParameters.acl,\n\t\t\t\t\t},\n\t\t\t\t}, GenerateUploadUrlMutationBuilder.generateUploadUrlFields))\n\t\t\t}\n\t\t}\n\n\t\tconst printer = new GraphQlQueryPrinter()\n\t\treturn printer.printDocument('mutation', selectionItems, {})\n\t}\n}\n\nnamespace GenerateUploadUrlMutationBuilder {\n\texport type Acl =\n\t\t| 'PUBLIC_READ'\n\t\t| 'PRIVATE'\n\t\t| 'NONE'\n\t\t| GraphQlLiteral<'PUBLIC_READ' | 'PRIVATE' | 'NONE'>\n\n\texport type FileParameters = {\n\t\tcontentType: string\n\t\texpiration?: number\n\t\tsize?: number\n\t\tprefix?: string\n\t\textension?: string\n\t\tsuffix?: string\n\t\tfileName?: string\n\t\tacl?: Acl\n\t}\n\n\texport interface MutationParameters {\n\t\t[alias: string]: FileParameters\n\t}\n\n\texport interface ResponseBody {\n\t\turl: string\n\t\tpublicUrl: string\n\t\tmethod: string\n\t\theaders: Array<{\n\t\t\tkey: string\n\t\t\tvalue: string\n\t\t}>\n\t}\n\n\texport interface MutationResponse {\n\t\t[alias: string]: ResponseBody\n\t}\n}\n\nexport { GenerateUploadUrlMutationBuilder }\n"],"names":["_GenerateUploadUrlMutationBuilder","replaceGraphQlLiteral","GraphQlField","GraphQlBuilder","GraphQlQueryPrinter"],"mappings":";;;;;;;;AAKA,MAAM,oCAAN,MAAMA,mCAAiC;AAAA;AAAA;AAAA;AAAA,EAatC,OAAc,WAAW,YAAqF;AAC7G,UAAM,iBAA4C,CAAA;AAClD,eAAW,SAAS,YAAY;AACzB,YAAA,iBAAiB,WAAW,KAAK;AACvC,UAAI,eAAe,UAAU,eAAe,YAAY,eAAe,WAAW;AAC3E,cAAA,EAAE,aAAa,QAAQ,YAAY,KAAK,MAAM,QAAQ,UAAU,UAAA,IAAcC,sBAAA,sBAAsB,cAAc;AACxH,uBAAe,KAAK,IAAIC,4BAAa,OAAO,qBAAqB;AAAA,UAChE,OAAO;AAAA,YACN,OAAO,EAAE,aAAa,QAAQ,YAAY,KAAK,MAAM,QAAQ,UAAU,UAAU;AAAA,YACjF,aAAa;AAAA,UACd;AAAA,QAAA,GACEF,mCAAiC,uBAAuB,CAAC;AAAA,MAAA,OACtD;AACN,uBAAe,KAAK,IAAIE,4BAAa,OAAO,qBAAqB;AAAA,UAChE,aAAa;AAAA,YACZ,aAAa;AAAA,YACb,OAAO,eAAe;AAAA,UACvB;AAAA,UACA,YAAY;AAAA,YACX,aAAa;AAAA,YACb,OAAO,eAAe;AAAA,UACvB;AAAA,UACA,QAAQ;AAAA,YACP,aAAa;AAAA,YACb,OAAO,eAAe;AAAA,UACvB;AAAA,UACA,KAAK;AAAA,YACJ,aAAa;AAAA,YACb,OAAO,eAAe,eAAeC,4BAAe,iBAAiB,eAAe,KAAK,QAAQ,eAAe;AAAA,UACjH;AAAA,QAAA,GACEH,mCAAiC,uBAAuB,CAAC;AAAA,MAC7D;AAAA,IACD;AAEM,UAAA,UAAU,IAAII,eAAAA;AACpB,WAAO,QAAQ,cAAc,YAAY,gBAAgB,CAAE,CAAA;AAAA,EAC5D;AACD;AAjDC,cADK,mCACU,2BAA0B;AAAA,EACxC,IAAIF,eAAa,aAAA,MAAM,KAAK;AAAA,EAC5B,IAAIA,eAAa,aAAA,MAAM,WAAW;AAAA,EAClC,IAAIA,eAAa,aAAA,MAAM,QAAQ;AAAA,EAC/B,IAAIA,4BAAa,MAAM,WAAW,IAAI;AAAA,IACrC,IAAIA,eAAa,aAAA,MAAM,KAAK;AAAA,IAC5B,IAAIA,eAAa,aAAA,MAAM,OAAO;AAAA,EAAA,CAC9B;AACF,CAAA;AATD,IAAM,mCAAN;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateUploadUrlMutationBuilder.js","sources":["../../../../../../packages/client/src/content/upload/GenerateUploadUrlMutationBuilder.ts"],"sourcesContent":["import { GraphQlLiteral } from '../../graphQlBuilder'\nimport { GraphQlField, GraphQlPrintResult, GraphQlQueryPrinter, GraphQlSelectionSetItem } from '@contember/graphql-builder'\nimport { GraphQlBuilder } from '../../index'\nimport { replaceGraphQlLiteral } from '../replaceGraphQlLiteral'\n\nclass GenerateUploadUrlMutationBuilder {\n\tprivate static generateUploadUrlFields = [\n\t\tnew GraphQlField(null, 'url'),\n\t\tnew GraphQlField(null, 'publicUrl'),\n\t\tnew GraphQlField(null, 'method'),\n\t\tnew GraphQlField(null, 'headers', {}, [\n\t\t\tnew GraphQlField(null, 'key'),\n\t\t\tnew GraphQlField(null, 'value'),\n\t\t]),\n\t]\n\t/**\n\t * @internal\n\t */\n\tpublic static buildQuery(parameters: GenerateUploadUrlMutationBuilder.MutationParameters): GraphQlPrintResult {\n\t\tconst selectionItems: GraphQlSelectionSetItem[] = []\n\t\tfor (const alias in parameters) {\n\t\t\tconst fileParameters = parameters[alias]\n\t\t\tif (fileParameters.suffix || fileParameters.fileName || fileParameters.extension) {\n\t\t\t\tconst { contentType, prefix, expiration, acl, size, suffix, fileName, extension } = replaceGraphQlLiteral(fileParameters)\n\t\t\t\tselectionItems.push(new GraphQlField(alias, 'generateUploadUrl', {\n\t\t\t\t\tinput: {\n\t\t\t\t\t\tvalue: { contentType, prefix, expiration, acl, size, suffix, fileName, extension },\n\t\t\t\t\t\tgraphQlType: 'S3GenerateSignedUploadInput',\n\t\t\t\t\t},\n\t\t\t\t}, GenerateUploadUrlMutationBuilder.generateUploadUrlFields))\n\t\t\t} else {\n\t\t\t\tselectionItems.push(new GraphQlField(alias, 'generateUploadUrl', {\n\t\t\t\t\tcontentType: {\n\t\t\t\t\t\tgraphQlType: 'String',\n\t\t\t\t\t\tvalue: fileParameters.contentType,\n\t\t\t\t\t},\n\t\t\t\t\texpiration: {\n\t\t\t\t\t\tgraphQlType: 'Int',\n\t\t\t\t\t\tvalue: fileParameters.expiration,\n\t\t\t\t\t},\n\t\t\t\t\tprefix: {\n\t\t\t\t\t\tgraphQlType: 'String',\n\t\t\t\t\t\tvalue: fileParameters.prefix,\n\t\t\t\t\t},\n\t\t\t\t\tacl: {\n\t\t\t\t\t\tgraphQlType: 'S3Acl',\n\t\t\t\t\t\tvalue: fileParameters.acl instanceof GraphQlBuilder.GraphqlLiteral ? fileParameters.acl?.value : fileParameters.acl,\n\t\t\t\t\t},\n\t\t\t\t}, GenerateUploadUrlMutationBuilder.generateUploadUrlFields))\n\t\t\t}\n\t\t}\n\n\t\tconst printer = new GraphQlQueryPrinter()\n\t\treturn printer.printDocument('mutation', selectionItems, {})\n\t}\n}\n\nnamespace GenerateUploadUrlMutationBuilder {\n\texport type Acl =\n\t\t| 'PUBLIC_READ'\n\t\t| 'PRIVATE'\n\t\t| 'NONE'\n\t\t| GraphQlLiteral<'PUBLIC_READ' | 'PRIVATE' | 'NONE'>\n\n\texport type FileParameters = {\n\t\tcontentType: string\n\t\texpiration?: number\n\t\tsize?: number\n\t\tprefix?: string\n\t\textension?: string\n\t\tsuffix?: string\n\t\tfileName?: string\n\t\tacl?: Acl\n\t}\n\n\texport interface MutationParameters {\n\t\t[alias: string]: FileParameters\n\t}\n\n\texport interface ResponseBody {\n\t\turl: string\n\t\tpublicUrl: string\n\t\tmethod: string\n\t\theaders: Array<{\n\t\t\tkey: string\n\t\t\tvalue: string\n\t\t}>\n\t}\n\n\texport interface MutationResponse {\n\t\t[alias: string]: ResponseBody\n\t}\n}\n\nexport { GenerateUploadUrlMutationBuilder }\n"],"names":["_GenerateUploadUrlMutationBuilder"],"mappings":";;;;;;AAKA,MAAM,oCAAN,MAAMA,mCAAiC;AAAA;AAAA;AAAA;AAAA,EAatC,OAAc,WAAW,YAAqF;AAC7G,UAAM,iBAA4C,CAAA;AAClD,eAAW,SAAS,YAAY;AACzB,YAAA,iBAAiB,WAAW,KAAK;AACvC,UAAI,eAAe,UAAU,eAAe,YAAY,eAAe,WAAW;AAC3E,cAAA,EAAE,aAAa,QAAQ,YAAY,KAAK,MAAM,QAAQ,UAAU,UAAA,IAAc,sBAAsB,cAAc;AACxH,uBAAe,KAAK,IAAI,aAAa,OAAO,qBAAqB;AAAA,UAChE,OAAO;AAAA,YACN,OAAO,EAAE,aAAa,QAAQ,YAAY,KAAK,MAAM,QAAQ,UAAU,UAAU;AAAA,YACjF,aAAa;AAAA,UACd;AAAA,QAAA,GACEA,mCAAiC,uBAAuB,CAAC;AAAA,MAAA,OACtD;AACN,uBAAe,KAAK,IAAI,aAAa,OAAO,qBAAqB;AAAA,UAChE,aAAa;AAAA,YACZ,aAAa;AAAA,YACb,OAAO,eAAe;AAAA,UACvB;AAAA,UACA,YAAY;AAAA,YACX,aAAa;AAAA,YACb,OAAO,eAAe;AAAA,UACvB;AAAA,UACA,QAAQ;AAAA,YACP,aAAa;AAAA,YACb,OAAO,eAAe;AAAA,UACvB;AAAA,UACA,KAAK;AAAA,YACJ,aAAa;AAAA,YACb,OAAO,eAAe,eAAe,eAAe,iBAAiB,eAAe,KAAK,QAAQ,eAAe;AAAA,UACjH;AAAA,QAAA,GACEA,mCAAiC,uBAAuB,CAAC;AAAA,MAC7D;AAAA,IACD;AAEM,UAAA,UAAU,IAAI;AACpB,WAAO,QAAQ,cAAc,YAAY,gBAAgB,CAAE,CAAA;AAAA,EAC5D;AACD;AAjDC,cADK,mCACU,2BAA0B;AAAA,EACxC,IAAI,aAAa,MAAM,KAAK;AAAA,EAC5B,IAAI,aAAa,MAAM,WAAW;AAAA,EAClC,IAAI,aAAa,MAAM,QAAQ;AAAA,EAC/B,IAAI,aAAa,MAAM,WAAW,IAAI;AAAA,IACrC,IAAI,aAAa,MAAM,KAAK;AAAA,IAC5B,IAAI,aAAa,MAAM,OAAO;AAAA,EAAA,CAC9B;AACF,CAAA;AATD,IAAM,mCAAN;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
class GraphQlLiteral {
|
|
4
|
-
constructor(value) {
|
|
5
|
-
this.value = value;
|
|
6
|
-
}
|
|
7
|
-
toString() {
|
|
8
|
-
return `Literal(${this.value})`;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.GraphQlLiteral = GraphQlLiteral;
|
|
12
|
-
//# sourceMappingURL=GraphQlLiteral.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQlLiteral.cjs","sources":["../../../../../packages/client/src/graphQlBuilder/GraphQlLiteral.ts"],"sourcesContent":["/**\n * @deprecated Directly use the value instead.\n */\nexport class GraphQlLiteral<Value extends string = string> {\n\tconstructor(public readonly value: Value) {\n\t\tif (import.meta.env.DEV) {\n\t\t\tconsole.warn('GraphQlLiteral is deprecated, use the value directly instead.')\n\t\t}\n\t}\n\n\tpublic toString() {\n\t\treturn `Literal(${this.value})`\n\t}\n}\n"],"names":[],"mappings":";;AAGO,MAAM,eAA8C;AAAA,EAC1D,YAA4B,OAAc;AAAd,SAAA,QAAA;AAAA,EAI5B;AAAA,EAEO,WAAW;AACV,WAAA,WAAW,KAAK,KAAK;AAAA,EAC7B;AACD;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQlLiteral.js","sources":["../../../../../packages/client/src/graphQlBuilder/GraphQlLiteral.ts"],"sourcesContent":["/**\n * @deprecated Directly use the value instead.\n */\nexport class GraphQlLiteral<Value extends string = string> {\n\tconstructor(public readonly value: Value) {\n\t\tif (import.meta.env.DEV) {\n\t\t\tconsole.warn('GraphQlLiteral is deprecated, use the value directly instead.')\n\t\t}\n\t}\n\n\tpublic toString() {\n\t\treturn `Literal(${this.value})`\n\t}\n}\n"],"names":[],"mappings":"AAGO,MAAM,eAA8C;AAAA,EAC1D,YAA4B,OAAc;AAAd,SAAA,QAAA;AAAA,EAI5B;AAAA,EAEO,WAAW;AACV,WAAA,WAAW,KAAK,KAAK;AAAA,EAC7B;AACD;"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const graphqlClient = require("@contember/graphql-client");
|
|
4
|
-
class GraphQlClient extends graphqlClient.GraphQlClient {
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated use execute
|
|
7
|
-
*/
|
|
8
|
-
async sendRequest(query, options = {}) {
|
|
9
|
-
console.debug(query);
|
|
10
|
-
const response = await this.doExecute(query, {
|
|
11
|
-
...options,
|
|
12
|
-
apiToken: options.apiTokenOverride ?? options.apiToken
|
|
13
|
-
});
|
|
14
|
-
if (response.ok) {
|
|
15
|
-
return await response.json();
|
|
16
|
-
}
|
|
17
|
-
const failedRequest = {
|
|
18
|
-
status: response.status,
|
|
19
|
-
statusText: response.statusText,
|
|
20
|
-
responseText: await response.text()
|
|
21
|
-
};
|
|
22
|
-
return Promise.reject(failedRequest);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.GraphQlClient = GraphQlClient;
|
|
26
|
-
//# sourceMappingURL=GraphQlClient.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQlClient.cjs","sources":["../../../../../packages/client/src/graphQlClient/GraphQlClient.ts"],"sourcesContent":["import { GraphQlClient as BaseGraphQLClient, GraphQlClientRequestOptions as BaseGraphQlClientRequestOptions } from '@contember/graphql-client'\n\nexport interface GraphQlClientRequestOptions extends BaseGraphQlClientRequestOptions {\n\t/**\n\t * @deprecated use apiToken\n\t */\n\tapiTokenOverride?: string\n}\n\nexport type GraphQlClientFailedRequestMetadata = Pick<Response, 'status' | 'statusText'> & {\n\tresponseText: string\n}\n\nexport class GraphQlClient extends BaseGraphQLClient {\n\t/**\n\t * @deprecated use execute\n\t */\n\tasync sendRequest<T = unknown>(query: string, options: GraphQlClientRequestOptions = {}): Promise<T> {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.debug(query)\n\t\tconst response = await this.doExecute(query, {\n\t\t\t...options,\n\t\t\tapiToken: options.apiTokenOverride ?? options.apiToken,\n\t\t})\n\n\t\tif (response.ok) {\n\t\t\t// It may still have errors (e.g. unfilled fields) but as far as the request goes, it is ok.\n\t\t\treturn await response.json()\n\t\t}\n\n\t\tconst failedRequest: GraphQlClientFailedRequestMetadata = {\n\t\t\tstatus: response.status,\n\t\t\tstatusText: response.statusText,\n\t\t\tresponseText: await response.text(),\n\t\t}\n\n\t\treturn Promise.reject(failedRequest)\n\t}\n\n}\n"],"names":["BaseGraphQLClient"],"mappings":";;;AAaO,MAAM,sBAAsBA,cAAAA,cAAkB;AAAA;AAAA;AAAA;AAAA,EAIpD,MAAM,YAAyB,OAAe,UAAuC,IAAgB;AAEpG,YAAQ,MAAM,KAAK;AACnB,UAAM,WAAW,MAAM,KAAK,UAAU,OAAO;AAAA,MAC5C,GAAG;AAAA,MACH,UAAU,QAAQ,oBAAoB,QAAQ;AAAA,IAAA,CAC9C;AAED,QAAI,SAAS,IAAI;AAET,aAAA,MAAM,SAAS;IACvB;AAEA,UAAM,gBAAoD;AAAA,MACzD,QAAQ,SAAS;AAAA,MACjB,YAAY,SAAS;AAAA,MACrB,cAAc,MAAM,SAAS,KAAK;AAAA,IAAA;AAG5B,WAAA,QAAQ,OAAO,aAAa;AAAA,EACpC;AAED;;"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { GraphQlClient as GraphQlClient$1 } from "@contember/graphql-client";
|
|
2
|
-
class GraphQlClient extends GraphQlClient$1 {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use execute
|
|
5
|
-
*/
|
|
6
|
-
async sendRequest(query, options = {}) {
|
|
7
|
-
console.debug(query);
|
|
8
|
-
const response = await this.doExecute(query, {
|
|
9
|
-
...options,
|
|
10
|
-
apiToken: options.apiTokenOverride ?? options.apiToken
|
|
11
|
-
});
|
|
12
|
-
if (response.ok) {
|
|
13
|
-
return await response.json();
|
|
14
|
-
}
|
|
15
|
-
const failedRequest = {
|
|
16
|
-
status: response.status,
|
|
17
|
-
statusText: response.statusText,
|
|
18
|
-
responseText: await response.text()
|
|
19
|
-
};
|
|
20
|
-
return Promise.reject(failedRequest);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
GraphQlClient
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=GraphQlClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQlClient.js","sources":["../../../../../packages/client/src/graphQlClient/GraphQlClient.ts"],"sourcesContent":["import { GraphQlClient as BaseGraphQLClient, GraphQlClientRequestOptions as BaseGraphQlClientRequestOptions } from '@contember/graphql-client'\n\nexport interface GraphQlClientRequestOptions extends BaseGraphQlClientRequestOptions {\n\t/**\n\t * @deprecated use apiToken\n\t */\n\tapiTokenOverride?: string\n}\n\nexport type GraphQlClientFailedRequestMetadata = Pick<Response, 'status' | 'statusText'> & {\n\tresponseText: string\n}\n\nexport class GraphQlClient extends BaseGraphQLClient {\n\t/**\n\t * @deprecated use execute\n\t */\n\tasync sendRequest<T = unknown>(query: string, options: GraphQlClientRequestOptions = {}): Promise<T> {\n\t\t// eslint-disable-next-line no-console\n\t\tconsole.debug(query)\n\t\tconst response = await this.doExecute(query, {\n\t\t\t...options,\n\t\t\tapiToken: options.apiTokenOverride ?? options.apiToken,\n\t\t})\n\n\t\tif (response.ok) {\n\t\t\t// It may still have errors (e.g. unfilled fields) but as far as the request goes, it is ok.\n\t\t\treturn await response.json()\n\t\t}\n\n\t\tconst failedRequest: GraphQlClientFailedRequestMetadata = {\n\t\t\tstatus: response.status,\n\t\t\tstatusText: response.statusText,\n\t\t\tresponseText: await response.text(),\n\t\t}\n\n\t\treturn Promise.reject(failedRequest)\n\t}\n\n}\n"],"names":["BaseGraphQLClient"],"mappings":";AAaO,MAAM,sBAAsBA,gBAAkB;AAAA;AAAA;AAAA;AAAA,EAIpD,MAAM,YAAyB,OAAe,UAAuC,IAAgB;AAEpG,YAAQ,MAAM,KAAK;AACnB,UAAM,WAAW,MAAM,KAAK,UAAU,OAAO;AAAA,MAC5C,GAAG;AAAA,MACH,UAAU,QAAQ,oBAAoB,QAAQ;AAAA,IAAA,CAC9C;AAED,QAAI,SAAS,IAAI;AAET,aAAA,MAAM,SAAS;IACvB;AAEA,UAAM,gBAAoD;AAAA,MACzD,QAAQ,SAAS;AAAA,MACjB,YAAY,SAAS;AAAA,MACrB,cAAc,MAAM,SAAS,KAAK;AAAA,IAAA;AAG5B,WAAA,QAAQ,OAAO,aAAa;AAAA,EACpC;AAED;"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const formatSystemApiRelativeUrl = (projectSlug) => `/system/${projectSlug}`;
|
|
4
|
-
exports.formatSystemApiRelativeUrl = formatSystemApiRelativeUrl;
|
|
5
|
-
//# sourceMappingURL=formatSystemApiRelativeUrl.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatSystemApiRelativeUrl.cjs","sources":["../../../../../packages/client/src/system/formatSystemApiRelativeUrl.ts"],"sourcesContent":["export const formatSystemApiRelativeUrl = (projectSlug: string) => `/system/${projectSlug}`\n"],"names":[],"mappings":";;AAAO,MAAM,6BAA6B,CAAC,gBAAwB,WAAW,WAAW;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatSystemApiRelativeUrl.js","sources":["../../../../../packages/client/src/system/formatSystemApiRelativeUrl.ts"],"sourcesContent":["export const formatSystemApiRelativeUrl = (projectSlug: string) => `/system/${projectSlug}`\n"],"names":[],"mappings":"AAAO,MAAM,6BAA6B,CAAC,gBAAwB,WAAW,WAAW;"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const loginMutation = `
|
|
4
|
-
mutation($email: String!, $password: String!, $expiration: Int) {
|
|
5
|
-
signIn(email: $email, password: $password, expiration: $expiration) {
|
|
6
|
-
ok
|
|
7
|
-
errors {
|
|
8
|
-
endUserMessage
|
|
9
|
-
code
|
|
10
|
-
}
|
|
11
|
-
result {
|
|
12
|
-
token
|
|
13
|
-
person {
|
|
14
|
-
id
|
|
15
|
-
email
|
|
16
|
-
identity {
|
|
17
|
-
id
|
|
18
|
-
projects {
|
|
19
|
-
project {
|
|
20
|
-
id
|
|
21
|
-
slug
|
|
22
|
-
}
|
|
23
|
-
memberships {
|
|
24
|
-
role
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
33
|
-
exports.loginMutation = loginMutation;
|
|
34
|
-
//# sourceMappingURL=loginMutation.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginMutation.cjs","sources":["../../../../../packages/client/src/tenant/loginMutation.ts"],"sourcesContent":["export interface LoginMutationResponse {\n\tdata: {\n\t\tsignIn: {\n\t\t\tok: boolean\n\t\t\terrors: Array<{\n\t\t\t\tendUserMessage: string | null\n\t\t\t\tcode: string\n\t\t\t}>\n\t\t\tresult: {\n\t\t\t\ttoken: string\n\t\t\t\tperson: {\n\t\t\t\t\tid: string\n\t\t\t\t\temail: string\n\t\t\t\t\tidentity: {\n\t\t\t\t\t\tid: string\n\t\t\t\t\t\tprojects: Array<{\n\t\t\t\t\t\t\tproject: {\n\t\t\t\t\t\t\t\tid: string\n\t\t\t\t\t\t\t\tslug: string\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmemberships: Array<{\n\t\t\t\t\t\t\t\trole: string\n\t\t\t\t\t\t\t}>\n\t\t\t\t\t\t}>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} | null\n\t\t}\n\t}\n}\n\nexport const loginMutation = `\n\tmutation($email: String!, $password: String!, $expiration: Int) {\n\t\tsignIn(email: $email, password: $password, expiration: $expiration) {\n\t\t\tok\n\t\t\terrors {\n\t\t\t\tendUserMessage\n\t\t\t\tcode\n\t\t\t}\n\t\t\tresult {\n\t\t\t\ttoken\n\t\t\t\tperson {\n\t\t\t\t\tid\n\t\t\t\t\temail\n\t\t\t\t\tidentity {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tprojects {\n\t\t\t\t\t\t\tproject {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tslug\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmemberships {\n\t\t\t\t\t\t\t\trole\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n`\n"],"names":[],"mappings":";;AA+BO,MAAM,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const loginMutation = `
|
|
2
|
-
mutation($email: String!, $password: String!, $expiration: Int) {
|
|
3
|
-
signIn(email: $email, password: $password, expiration: $expiration) {
|
|
4
|
-
ok
|
|
5
|
-
errors {
|
|
6
|
-
endUserMessage
|
|
7
|
-
code
|
|
8
|
-
}
|
|
9
|
-
result {
|
|
10
|
-
token
|
|
11
|
-
person {
|
|
12
|
-
id
|
|
13
|
-
email
|
|
14
|
-
identity {
|
|
15
|
-
id
|
|
16
|
-
projects {
|
|
17
|
-
project {
|
|
18
|
-
id
|
|
19
|
-
slug
|
|
20
|
-
}
|
|
21
|
-
memberships {
|
|
22
|
-
role
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
`;
|
|
31
|
-
export {
|
|
32
|
-
loginMutation
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=loginMutation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginMutation.js","sources":["../../../../../packages/client/src/tenant/loginMutation.ts"],"sourcesContent":["export interface LoginMutationResponse {\n\tdata: {\n\t\tsignIn: {\n\t\t\tok: boolean\n\t\t\terrors: Array<{\n\t\t\t\tendUserMessage: string | null\n\t\t\t\tcode: string\n\t\t\t}>\n\t\t\tresult: {\n\t\t\t\ttoken: string\n\t\t\t\tperson: {\n\t\t\t\t\tid: string\n\t\t\t\t\temail: string\n\t\t\t\t\tidentity: {\n\t\t\t\t\t\tid: string\n\t\t\t\t\t\tprojects: Array<{\n\t\t\t\t\t\t\tproject: {\n\t\t\t\t\t\t\t\tid: string\n\t\t\t\t\t\t\t\tslug: string\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmemberships: Array<{\n\t\t\t\t\t\t\t\trole: string\n\t\t\t\t\t\t\t}>\n\t\t\t\t\t\t}>\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} | null\n\t\t}\n\t}\n}\n\nexport const loginMutation = `\n\tmutation($email: String!, $password: String!, $expiration: Int) {\n\t\tsignIn(email: $email, password: $password, expiration: $expiration) {\n\t\t\tok\n\t\t\terrors {\n\t\t\t\tendUserMessage\n\t\t\t\tcode\n\t\t\t}\n\t\t\tresult {\n\t\t\t\ttoken\n\t\t\t\tperson {\n\t\t\t\t\tid\n\t\t\t\t\temail\n\t\t\t\t\tidentity {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tprojects {\n\t\t\t\t\t\t\tproject {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tslug\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmemberships {\n\t\t\t\t\t\t\t\trole\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n`\n"],"names":[],"mappings":"AA+BO,MAAM,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantApiRelativeUrl.cjs","sources":["../../../../../packages/client/src/tenant/tenantApiRelativeUrl.ts"],"sourcesContent":["export const tenantApiRelativeUrl = '/tenant'\n"],"names":[],"mappings":";;AAAO,MAAM,uBAAuB;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantApiRelativeUrl.js","sources":["../../../../../packages/client/src/tenant/tenantApiRelativeUrl.ts"],"sourcesContent":["export const tenantApiRelativeUrl = '/tenant'\n"],"names":[],"mappings":"AAAO,MAAM,uBAAuB;"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const tenantErrorMessages = {
|
|
4
|
-
TOO_WEAK: "Password is too weak.",
|
|
5
|
-
EMAIL_ALREADY_EXISTS: "Email already exists.",
|
|
6
|
-
UNKNOWN_EMAIL: "Unknown email.",
|
|
7
|
-
INVALID_PASSWORD: "Password is invalid.",
|
|
8
|
-
ALREADY_MEMBER: "User is already a member of this project."
|
|
9
|
-
};
|
|
10
|
-
const getTenantErrorMessage = (errorCode) => {
|
|
11
|
-
if (errorCode in tenantErrorMessages) {
|
|
12
|
-
return tenantErrorMessages[errorCode];
|
|
13
|
-
}
|
|
14
|
-
return `Unknown error occurred. [${errorCode}]`;
|
|
15
|
-
};
|
|
16
|
-
exports.getTenantErrorMessage = getTenantErrorMessage;
|
|
17
|
-
exports.tenantErrorMessages = tenantErrorMessages;
|
|
18
|
-
//# sourceMappingURL=tenantErrorMessages.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantErrorMessages.cjs","sources":["../../../../../packages/client/src/tenant/tenantErrorMessages.ts"],"sourcesContent":["export const tenantErrorMessages: { [key: string]: string } = {\n\tTOO_WEAK: 'Password is too weak.',\n\tEMAIL_ALREADY_EXISTS: 'Email already exists.',\n\tUNKNOWN_EMAIL: 'Unknown email.',\n\tINVALID_PASSWORD: 'Password is invalid.',\n\tALREADY_MEMBER: 'User is already a member of this project.',\n}\n\nexport const getTenantErrorMessage = (errorCode: string): string => {\n\tif (errorCode in tenantErrorMessages) {\n\t\treturn tenantErrorMessages[errorCode]\n\t}\n\treturn `Unknown error occurred. [${errorCode}]`\n}\n"],"names":[],"mappings":";;AAAO,MAAM,sBAAiD;AAAA,EAC7D,UAAU;AAAA,EACV,sBAAsB;AAAA,EACtB,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,gBAAgB;AACjB;AAEa,MAAA,wBAAwB,CAAC,cAA8B;AACnE,MAAI,aAAa,qBAAqB;AACrC,WAAO,oBAAoB,SAAS;AAAA,EACrC;AACA,SAAO,4BAA4B,SAAS;AAC7C;;;"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const tenantErrorMessages = {
|
|
2
|
-
TOO_WEAK: "Password is too weak.",
|
|
3
|
-
EMAIL_ALREADY_EXISTS: "Email already exists.",
|
|
4
|
-
UNKNOWN_EMAIL: "Unknown email.",
|
|
5
|
-
INVALID_PASSWORD: "Password is invalid.",
|
|
6
|
-
ALREADY_MEMBER: "User is already a member of this project."
|
|
7
|
-
};
|
|
8
|
-
const getTenantErrorMessage = (errorCode) => {
|
|
9
|
-
if (errorCode in tenantErrorMessages) {
|
|
10
|
-
return tenantErrorMessages[errorCode];
|
|
11
|
-
}
|
|
12
|
-
return `Unknown error occurred. [${errorCode}]`;
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
getTenantErrorMessage,
|
|
16
|
-
tenantErrorMessages
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=tenantErrorMessages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantErrorMessages.js","sources":["../../../../../packages/client/src/tenant/tenantErrorMessages.ts"],"sourcesContent":["export const tenantErrorMessages: { [key: string]: string } = {\n\tTOO_WEAK: 'Password is too weak.',\n\tEMAIL_ALREADY_EXISTS: 'Email already exists.',\n\tUNKNOWN_EMAIL: 'Unknown email.',\n\tINVALID_PASSWORD: 'Password is invalid.',\n\tALREADY_MEMBER: 'User is already a member of this project.',\n}\n\nexport const getTenantErrorMessage = (errorCode: string): string => {\n\tif (errorCode in tenantErrorMessages) {\n\t\treturn tenantErrorMessages[errorCode]\n\t}\n\treturn `Unknown error occurred. [${errorCode}]`\n}\n"],"names":[],"mappings":"AAAO,MAAM,sBAAiD;AAAA,EAC7D,UAAU;AAAA,EACV,sBAAsB;AAAA,EACtB,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,gBAAgB;AACjB;AAEa,MAAA,wBAAwB,CAAC,cAA8B;AACnE,MAAI,aAAa,qBAAqB;AACrC,WAAO,oBAAoB,SAAS;AAAA,EACrC;AACA,SAAO,4BAA4B,SAAS;AAC7C;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatContentApiRelativeUrl.d.ts","sourceRoot":"","sources":["../../../src/content/formatContentApiRelativeUrl.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,gBAAiB,MAAM,aAAa,MAAM,WAC3C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/content/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,+BAA+B,CAAA;AAC7C,cAAc,yBAAyB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/content/params/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Input } from '@contember/schema';
|
|
2
|
-
import { GraphQlLiteral } from '../../graphQlBuilder';
|
|
3
|
-
export declare const whereToFilter: (by: Input.UniqueWhere<GraphQlLiteral>) => Input.Where<Input.Condition<Input.ColumnValue<GraphQlLiteral>>>;
|
|
4
|
-
//# sourceMappingURL=whereToFilter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whereToFilter.d.ts","sourceRoot":"","sources":["../../../../src/content/params/whereToFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAY,MAAM,mBAAmB,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,eAAO,MAAM,aAAa,OACrB,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,KACnC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAahE,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { GraphQlLiteral } from '../graphQlBuilder';
|
|
2
|
-
export type ReplaceGraphQlLiteral<T> = T extends GraphQlLiteral<infer Value> ? Value : T extends string | number | boolean | null ? T : T extends {} ? {
|
|
3
|
-
[K in keyof T]: ReplaceGraphQlLiteral<T[K]>;
|
|
4
|
-
} : T extends any[] ? ReplaceGraphQlLiteral<T[number]>[] : T;
|
|
5
|
-
export declare const replaceGraphQlLiteral: <T>(input: T) => ReplaceGraphQlLiteral<T>;
|
|
6
|
-
//# sourceMappingURL=replaceGraphQlLiteral.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"replaceGraphQlLiteral.d.ts","sourceRoot":"","sources":["../../../src/content/replaceGraphQlLiteral.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI,CAAC,SAAS,cAAc,CAAC,MAAM,KAAK,CAAC,GACzE,KAAK,GACL,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GACzC,CAAC,GACD,CAAC,SAAS,EAAE,GACX;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAC/C,CAAC,SAAS,GAAG,EAAE,GACd,qBAAqB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAClC,CAAC,CAAA;AAEP,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,CAAC,KAAG,qBAAqB,CAAC,CAAC,CAS1E,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateUploadUrlMutationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/content/upload/GenerateUploadUrlMutationBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAgB,kBAAkB,EAAgD,MAAM,4BAA4B,CAAA;AAI3H,cAAM,gCAAgC;IACrC,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAQrC;IACD;;OAEG;WACW,UAAU,CAAC,UAAU,EAAE,gCAAgC,CAAC,kBAAkB,GAAG,kBAAkB;CAqC7G;AAED,kBAAU,gCAAgC,CAAC;IAC1C,KAAY,GAAG,GACZ,aAAa,GACb,SAAS,GACT,MAAM,GACN,cAAc,CAAC,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC,CAAA;IAErD,KAAY,cAAc,GAAG;QAC5B,WAAW,EAAE,MAAM,CAAA;QACnB,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,GAAG,CAAC,EAAE,GAAG,CAAA;KACT,CAAA;IAED,UAAiB,kBAAkB;QAClC,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,CAAA;KAC/B;IAED,UAAiB,YAAY;QAC5B,GAAG,EAAE,MAAM,CAAA;QACX,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,KAAK,CAAC;YACd,GAAG,EAAE,MAAM,CAAA;YACX,KAAK,EAAE,MAAM,CAAA;SACb,CAAC,CAAA;KACF;IAED,UAAiB,gBAAgB;QAChC,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAAA;KAC7B;CACD;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/content/upload/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/crudQueryBuilder/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/crudQueryBuilder/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElD,MAAM,MAAM,cAAc,GACvB,cAAc,CAAC,KAAK,CAAC,GACrB,cAAc,CAAC,MAAM,CAAC,GACtB,GAAG,KAAK,CAAC,cAAc,EAAE,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQlLiteral.d.ts","sourceRoot":"","sources":["../../../src/graphQlBuilder/GraphQlLiteral.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,cAAc,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM;aAC5B,KAAK,EAAE,KAAK;gBAAZ,KAAK,EAAE,KAAK;IAMjC,QAAQ;CAGf"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { GraphQlLiteral } from './GraphQlLiteral';
|
|
2
|
-
export declare namespace QueryBuilder {
|
|
3
|
-
interface Object {
|
|
4
|
-
[key: string]: Value;
|
|
5
|
-
}
|
|
6
|
-
interface List extends Array<Value> {
|
|
7
|
-
}
|
|
8
|
-
type AtomicValue = string | null | number | boolean | GraphQlLiteral;
|
|
9
|
-
type Value = AtomicValue | Object | List;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=QueryBuilder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/graphQlBuilder/QueryBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAGtD,yBAAiB,YAAY,CAAC;IAC7B,UAAiB,MAAM;QACtB,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAA;KACpB;IAED,UAAiB,IAAK,SAAQ,KAAK,CAAC,KAAK,CAAC;KAAG;IAE7C,KAAY,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc,CAAA;IAC3E,KAAY,KAAK,GAAG,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;CAC/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/graphQlBuilder/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { GraphQlClient as BaseGraphQLClient, GraphQlClientRequestOptions as BaseGraphQlClientRequestOptions } from '@contember/graphql-client';
|
|
2
|
-
export interface GraphQlClientRequestOptions extends BaseGraphQlClientRequestOptions {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated use apiToken
|
|
5
|
-
*/
|
|
6
|
-
apiTokenOverride?: string;
|
|
7
|
-
}
|
|
8
|
-
export type GraphQlClientFailedRequestMetadata = Pick<Response, 'status' | 'statusText'> & {
|
|
9
|
-
responseText: string;
|
|
10
|
-
};
|
|
11
|
-
export declare class GraphQlClient extends BaseGraphQLClient {
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated use execute
|
|
14
|
-
*/
|
|
15
|
-
sendRequest<T = unknown>(query: string, options?: GraphQlClientRequestOptions): Promise<T>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=GraphQlClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GraphQlClient.d.ts","sourceRoot":"","sources":["../../../src/graphQlClient/GraphQlClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,2BAA2B,IAAI,+BAA+B,EAAE,MAAM,2BAA2B,CAAA;AAE9I,MAAM,WAAW,2BAA4B,SAAQ,+BAA+B;IACnF;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,MAAM,kCAAkC,GAAG,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,YAAY,CAAC,GAAG;IAC1F,YAAY,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,qBAAa,aAAc,SAAQ,iBAAiB;IACnD;;OAEG;IACG,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,2BAAgC,GAAG,OAAO,CAAC,CAAC,CAAC;CAsBpG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/graphQlClient/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,YAAY,EACX,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,GACnB,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RelationFilter.d.ts","sourceRoot":"","sources":["../../../../src/system/events/RelationFilter.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,cAAc,EAAE,CAAA;CAC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SystemEvent.d.ts","sourceRoot":"","sources":["../../../../src/system/events/SystemEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACpC,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,aAAa,EAAE,MAAM,CAAA;CACrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TreeFilter.d.ts","sourceRoot":"","sources":["../../../../src/system/events/TreeFilter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,MAAM,WAAW,UAAU;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,SAAS,EAAE,cAAc,EAAE,CAAA;CAC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/system/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatSystemApiRelativeUrl.d.ts","sourceRoot":"","sources":["../../../src/system/formatSystemApiRelativeUrl.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,gBAAiB,MAAM,WAA6B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/system/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,8BAA8B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tenant/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface LoginMutationResponse {
|
|
2
|
-
data: {
|
|
3
|
-
signIn: {
|
|
4
|
-
ok: boolean;
|
|
5
|
-
errors: Array<{
|
|
6
|
-
endUserMessage: string | null;
|
|
7
|
-
code: string;
|
|
8
|
-
}>;
|
|
9
|
-
result: {
|
|
10
|
-
token: string;
|
|
11
|
-
person: {
|
|
12
|
-
id: string;
|
|
13
|
-
email: string;
|
|
14
|
-
identity: {
|
|
15
|
-
id: string;
|
|
16
|
-
projects: Array<{
|
|
17
|
-
project: {
|
|
18
|
-
id: string;
|
|
19
|
-
slug: string;
|
|
20
|
-
};
|
|
21
|
-
memberships: Array<{
|
|
22
|
-
role: string;
|
|
23
|
-
}>;
|
|
24
|
-
}>;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
} | null;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export declare const loginMutation = "\n\tmutation($email: String!, $password: String!, $expiration: Int) {\n\t\tsignIn(email: $email, password: $password, expiration: $expiration) {\n\t\t\tok\n\t\t\terrors {\n\t\t\t\tendUserMessage\n\t\t\t\tcode\n\t\t\t}\n\t\t\tresult {\n\t\t\t\ttoken\n\t\t\t\tperson {\n\t\t\t\t\tid\n\t\t\t\t\temail\n\t\t\t\t\tidentity {\n\t\t\t\t\t\tid\n\t\t\t\t\t\tprojects {\n\t\t\t\t\t\t\tproject {\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tslug\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tmemberships {\n\t\t\t\t\t\t\t\trole\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n";
|
|
32
|
-
//# sourceMappingURL=loginMutation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loginMutation.d.ts","sourceRoot":"","sources":["../../../src/tenant/loginMutation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACrC,IAAI,EAAE;QACL,MAAM,EAAE;YACP,EAAE,EAAE,OAAO,CAAA;YACX,MAAM,EAAE,KAAK,CAAC;gBACb,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;gBAC7B,IAAI,EAAE,MAAM,CAAA;aACZ,CAAC,CAAA;YACF,MAAM,EAAE;gBACP,KAAK,EAAE,MAAM,CAAA;gBACb,MAAM,EAAE;oBACP,EAAE,EAAE,MAAM,CAAA;oBACV,KAAK,EAAE,MAAM,CAAA;oBACb,QAAQ,EAAE;wBACT,EAAE,EAAE,MAAM,CAAA;wBACV,QAAQ,EAAE,KAAK,CAAC;4BACf,OAAO,EAAE;gCACR,EAAE,EAAE,MAAM,CAAA;gCACV,IAAI,EAAE,MAAM,CAAA;6BACZ,CAAA;4BACD,WAAW,EAAE,KAAK,CAAC;gCAClB,IAAI,EAAE,MAAM,CAAA;6BACZ,CAAC,CAAA;yBACF,CAAC,CAAA;qBACF,CAAA;iBACD,CAAA;aACD,GAAG,IAAI,CAAA;SACR,CAAA;KACD,CAAA;CACD;AAED,eAAO,MAAM,aAAa,kkBA6BzB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantApiRelativeUrl.d.ts","sourceRoot":"","sources":["../../../src/tenant/tenantApiRelativeUrl.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,YAAY,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenantErrorMessages.d.ts","sourceRoot":"","sources":["../../../src/tenant/tenantErrorMessages.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAMxD,CAAA;AAED,eAAO,MAAM,qBAAqB,cAAe,MAAM,KAAG,MAKzD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA"}
|