@payloadcms/figma 0.0.1-alpha.42 → 0.0.1-alpha.44

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.
Files changed (66) hide show
  1. package/dist/constants.d.ts +1 -1
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/constants.js +19 -4
  4. package/dist/constants.js.map +1 -1
  5. package/dist/db-content-api/generated/content-api-types.d.ts +6 -174
  6. package/dist/db-content-api/generated/content-api-types.d.ts.map +1 -1
  7. package/dist/db-content-api/generated/content-api-types.js.map +1 -1
  8. package/dist/db-content-api/index.d.ts +2 -0
  9. package/dist/db-content-api/index.d.ts.map +1 -1
  10. package/dist/db-content-api/index.js +135 -44
  11. package/dist/db-content-api/index.js.map +1 -1
  12. package/dist/db-content-api/utilities/data/castFieldValue.d.ts.map +1 -1
  13. package/dist/db-content-api/utilities/data/castFieldValue.js +4 -1
  14. package/dist/db-content-api/utilities/data/castFieldValue.js.map +1 -1
  15. package/dist/db-content-api/utilities/data/index.d.ts.map +1 -1
  16. package/dist/db-content-api/utilities/data/index.js +16 -2
  17. package/dist/db-content-api/utilities/data/index.js.map +1 -1
  18. package/dist/db-content-api/utilities/locale/index.d.ts +10 -0
  19. package/dist/db-content-api/utilities/locale/index.d.ts.map +1 -0
  20. package/dist/db-content-api/utilities/locale/index.js +21 -0
  21. package/dist/db-content-api/utilities/locale/index.js.map +1 -0
  22. package/dist/db-content-api/utilities/meta/buildLocalizedPaths.d.ts +11 -0
  23. package/dist/db-content-api/utilities/meta/buildLocalizedPaths.d.ts.map +1 -0
  24. package/dist/db-content-api/utilities/meta/buildLocalizedPaths.js +55 -0
  25. package/dist/db-content-api/utilities/meta/buildLocalizedPaths.js.map +1 -0
  26. package/dist/db-content-api/utilities/meta/buildMeta.d.ts +22 -0
  27. package/dist/db-content-api/utilities/meta/buildMeta.d.ts.map +1 -0
  28. package/dist/db-content-api/utilities/meta/buildMeta.js +30 -0
  29. package/dist/db-content-api/utilities/meta/buildMeta.js.map +1 -0
  30. package/dist/db-content-api/utilities/meta/buildPathTypes.d.ts +7 -0
  31. package/dist/db-content-api/utilities/meta/buildPathTypes.d.ts.map +1 -0
  32. package/dist/db-content-api/utilities/{buildPathTypes.js → meta/buildPathTypes.js} +3 -9
  33. package/dist/db-content-api/utilities/meta/buildPathTypes.js.map +1 -0
  34. package/dist/db-content-api/utilities/meta/index.d.ts +5 -0
  35. package/dist/db-content-api/utilities/meta/index.d.ts.map +1 -0
  36. package/dist/db-content-api/utilities/meta/index.js +5 -0
  37. package/dist/db-content-api/utilities/meta/index.js.map +1 -0
  38. package/dist/storage-content-api/client-uploads/ClientUploadHandler.d.ts.map +1 -1
  39. package/dist/storage-content-api/client-uploads/ClientUploadHandler.js +3 -3
  40. package/dist/storage-content-api/client-uploads/ClientUploadHandler.js.map +1 -1
  41. package/dist/storage-content-api/client-uploads/generateSignedURL.d.ts.map +1 -1
  42. package/dist/storage-content-api/client-uploads/generateSignedURL.js +8 -1
  43. package/dist/storage-content-api/client-uploads/generateSignedURL.js.map +1 -1
  44. package/dist/storage-content-api/utilities/getSafeFilename.d.ts +12 -0
  45. package/dist/storage-content-api/utilities/getSafeFilename.d.ts.map +1 -0
  46. package/dist/storage-content-api/utilities/getSafeFilename.js +61 -0
  47. package/dist/storage-content-api/utilities/getSafeFilename.js.map +1 -0
  48. package/dist/storage-content-api/utilities/index.d.ts +2 -0
  49. package/dist/storage-content-api/utilities/index.d.ts.map +1 -0
  50. package/dist/storage-content-api/utilities/index.js +3 -0
  51. package/dist/storage-content-api/utilities/index.js.map +1 -0
  52. package/dist/templates/.env.example +11 -0
  53. package/dist/utils/env-management.d.ts +9 -1
  54. package/dist/utils/env-management.d.ts.map +1 -1
  55. package/dist/utils/env-management.js +39 -17
  56. package/dist/utils/env-management.js.map +1 -1
  57. package/dist/utils/payload-config-ast.d.ts.map +1 -1
  58. package/dist/utils/payload-config-ast.js +7 -0
  59. package/dist/utils/payload-config-ast.js.map +1 -1
  60. package/dist/utils/project.d.ts.map +1 -1
  61. package/dist/utils/project.js +3 -0
  62. package/dist/utils/project.js.map +1 -1
  63. package/package.json +2 -2
  64. package/dist/db-content-api/utilities/buildPathTypes.d.ts +0 -12
  65. package/dist/db-content-api/utilities/buildPathTypes.d.ts.map +0 -1
  66. package/dist/db-content-api/utilities/buildPathTypes.js.map +0 -1
@@ -28,7 +28,7 @@ export declare const ENV_CONFIG: Record<Environment, EnvironmentConfig>;
28
28
  export declare function setEnvironment(env: Environment | undefined): void;
29
29
  /**
30
30
  * Get current Figma environment
31
- * Priority: 1) setEnvironment override, 2) FIGMA_ENV env var, 3) 'production' default
31
+ * Priority: 1) setEnvironment override, 2) FIGMA_ENV env var, 3) .env file, 4) 'production' default
32
32
  */
33
33
  export declare function getEnvironment(): Environment;
34
34
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,SAAS,CAAA;AAElD,KAAK,iBAAiB,GAAG;IACvB,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,gBAAgB,EAAE,MAAM,CAAA;IACxB,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAA;IAChB,4DAA4D;IAC5D,aAAa,EAAE,MAAM,CAAA;IACrB,8BAA8B;IAC9B,gBAAgB,EAAE,MAAM,CAAA;IACxB,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAiB7D,CAAA;AAID;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,CAEjE;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAK5C"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,SAAS,CAAA;AAElD,KAAK,iBAAiB,GAAG;IACvB,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,yCAAyC;IACzC,gBAAgB,EAAE,MAAM,CAAA;IACxB,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAA;IAChB,4DAA4D;IAC5D,aAAa,EAAE,MAAM,CAAA;IACrB,8BAA8B;IAC9B,gBAAgB,EAAE,MAAM,CAAA;IACxB,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAiB7D,CAAA;AAID;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,CAEjE;AAED;;;GAGG;AACH,wBAAgB,cAAc,IAAI,WAAW,CA0B5C"}
package/dist/constants.js CHANGED
@@ -1,6 +1,5 @@
1
+ import { getEnvVarSync } from './utils/env-management.js';
1
2
  /**
2
- * Figma environment (production or staging)
3
- */ /**
4
3
  * Environment-specific configuration for Figma integration.
5
4
  * Selected via FIGMA_ENV ('production' | 'staging'), defaults to 'production'.
6
5
  */ export const ENV_CONFIG = {
@@ -30,12 +29,28 @@ let envOverride;
30
29
  }
31
30
  /**
32
31
  * Get current Figma environment
33
- * Priority: 1) setEnvironment override, 2) FIGMA_ENV env var, 3) 'production' default
32
+ * Priority: 1) setEnvironment override, 2) FIGMA_ENV env var, 3) .env file, 4) 'production' default
34
33
  */ export function getEnvironment() {
35
34
  if (envOverride) {
36
35
  return envOverride;
37
36
  }
38
- return process.env.FIGMA_ENV === 'staging' ? 'staging' : 'production';
37
+ // Check process.env first (case-insensitive)
38
+ if (process.env.FIGMA_ENV?.toLowerCase() === 'staging') {
39
+ return 'staging';
40
+ }
41
+ // Fall back to .env file in cwd
42
+ const envFileValue = getEnvVarSync(process.cwd(), 'FIGMA_ENV');
43
+ if (envFileValue) {
44
+ const env = envFileValue.toLowerCase();
45
+ if (env === 'staging') {
46
+ return 'staging';
47
+ }
48
+ if (env !== 'production') {
49
+ console.warn(`Warning: Invalid FIGMA_ENV value "${envFileValue}" in .env file. Using production.`);
50
+ }
51
+ return 'production';
52
+ }
53
+ return 'production';
39
54
  }
40
55
 
41
56
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/constants.ts"],"sourcesContent":["/**\n * Figma environment (production or staging)\n */\nexport type Environment = 'production' | 'staging'\n\ntype EnvironmentConfig = {\n /** Figma API base URL. Override: FIGMA_API_BASE_URL */\n apiBaseUrl: string\n /** OAuth authorization URL (CLI auth) */\n authorizationUrl: string\n /** OAuth client ID. Override: FIGMA_CLIENT_ID or FIGMA_OAUTH_CLIENT_ID */\n clientId: string\n /** Content API base URL. Override: FIGMA_CONTENT_API_URL */\n contentApiUrl: string\n /** OIDC discovery endpoint */\n identityMetadata: string\n /** JSON Web Key Set URL for token validation */\n jwksUri: string\n}\n\n/**\n * Environment-specific configuration for Figma integration.\n * Selected via FIGMA_ENV ('production' | 'staging'), defaults to 'production'.\n */\nexport const ENV_CONFIG: Record<Environment, EnvironmentConfig> = {\n production: {\n apiBaseUrl: 'https://api.figma.com',\n authorizationUrl: 'https://www.figma.com/oauth',\n clientId: 'lelKVTAzOekFnirnlAMbuD',\n contentApiUrl: 'https://us-east-1.cms-tenants-001-production.figmacontent.com',\n identityMetadata: 'https://www.figma.com/.well-known/openid-configuration',\n jwksUri: 'https://static.figmacontent.com/.well_known/jwks.json',\n },\n staging: {\n apiBaseUrl: 'https://api.staging.figma.com',\n authorizationUrl: 'https://staging.figma.com/oauth',\n clientId: 'wqAToBAp4UI9AZ5M6wTfT9',\n contentApiUrl: 'https://us-east-1.cms-tenants-001-staging.figmacontentstaging.com',\n identityMetadata: 'https://staging.figma.com/.well-known/openid-configuration',\n jwksUri: 'https://static.figmacontentstaging.com/.well_known/jwks.json',\n },\n}\n\nlet envOverride: Environment | undefined\n\n/**\n * Set environment override (used by --env CLI flag)\n * Pass undefined to clear the override\n */\nexport function setEnvironment(env: Environment | undefined): void {\n envOverride = env\n}\n\n/**\n * Get current Figma environment\n * Priority: 1) setEnvironment override, 2) FIGMA_ENV env var, 3) 'production' default\n */\nexport function getEnvironment(): Environment {\n if (envOverride) {\n return envOverride\n }\n return process.env.FIGMA_ENV === 'staging' ? 'staging' : 'production'\n}\n"],"names":["ENV_CONFIG","production","apiBaseUrl","authorizationUrl","clientId","contentApiUrl","identityMetadata","jwksUri","staging","envOverride","setEnvironment","env","getEnvironment","process","FIGMA_ENV"],"mappings":"AAAA;;CAEC,GAkBD;;;CAGC,GACD,OAAO,MAAMA,aAAqD;IAChEC,YAAY;QACVC,YAAY;QACZC,kBAAkB;QAClBC,UAAU;QACVC,eAAe;QACfC,kBAAkB;QAClBC,SAAS;IACX;IACAC,SAAS;QACPN,YAAY;QACZC,kBAAkB;QAClBC,UAAU;QACVC,eAAe;QACfC,kBAAkB;QAClBC,SAAS;IACX;AACF,EAAC;AAED,IAAIE;AAEJ;;;CAGC,GACD,OAAO,SAASC,eAAeC,GAA4B;IACzDF,cAAcE;AAChB;AAEA;;;CAGC,GACD,OAAO,SAASC;IACd,IAAIH,aAAa;QACf,OAAOA;IACT;IACA,OAAOI,QAAQF,GAAG,CAACG,SAAS,KAAK,YAAY,YAAY;AAC3D"}
1
+ {"version":3,"sources":["../src/constants.ts"],"sourcesContent":["import { getEnvVarSync } from './utils/env-management.js'\n\n/**\n * Figma environment (production or staging)\n */\nexport type Environment = 'production' | 'staging'\n\ntype EnvironmentConfig = {\n /** Figma API base URL. Override: FIGMA_API_BASE_URL */\n apiBaseUrl: string\n /** OAuth authorization URL (CLI auth) */\n authorizationUrl: string\n /** OAuth client ID. Override: FIGMA_CLIENT_ID or FIGMA_OAUTH_CLIENT_ID */\n clientId: string\n /** Content API base URL. Override: FIGMA_CONTENT_API_URL */\n contentApiUrl: string\n /** OIDC discovery endpoint */\n identityMetadata: string\n /** JSON Web Key Set URL for token validation */\n jwksUri: string\n}\n\n/**\n * Environment-specific configuration for Figma integration.\n * Selected via FIGMA_ENV ('production' | 'staging'), defaults to 'production'.\n */\nexport const ENV_CONFIG: Record<Environment, EnvironmentConfig> = {\n production: {\n apiBaseUrl: 'https://api.figma.com',\n authorizationUrl: 'https://www.figma.com/oauth',\n clientId: 'lelKVTAzOekFnirnlAMbuD',\n contentApiUrl: 'https://us-east-1.cms-tenants-001-production.figmacontent.com',\n identityMetadata: 'https://www.figma.com/.well-known/openid-configuration',\n jwksUri: 'https://static.figmacontent.com/.well_known/jwks.json',\n },\n staging: {\n apiBaseUrl: 'https://api.staging.figma.com',\n authorizationUrl: 'https://staging.figma.com/oauth',\n clientId: 'wqAToBAp4UI9AZ5M6wTfT9',\n contentApiUrl: 'https://us-east-1.cms-tenants-001-staging.figmacontentstaging.com',\n identityMetadata: 'https://staging.figma.com/.well-known/openid-configuration',\n jwksUri: 'https://static.figmacontentstaging.com/.well_known/jwks.json',\n },\n}\n\nlet envOverride: Environment | undefined\n\n/**\n * Set environment override (used by --env CLI flag)\n * Pass undefined to clear the override\n */\nexport function setEnvironment(env: Environment | undefined): void {\n envOverride = env\n}\n\n/**\n * Get current Figma environment\n * Priority: 1) setEnvironment override, 2) FIGMA_ENV env var, 3) .env file, 4) 'production' default\n */\nexport function getEnvironment(): Environment {\n if (envOverride) {\n return envOverride\n }\n\n // Check process.env first (case-insensitive)\n if (process.env.FIGMA_ENV?.toLowerCase() === 'staging') {\n return 'staging'\n }\n\n // Fall back to .env file in cwd\n const envFileValue = getEnvVarSync(process.cwd(), 'FIGMA_ENV')\n if (envFileValue) {\n const env = envFileValue.toLowerCase()\n if (env === 'staging') {\n return 'staging'\n }\n if (env !== 'production') {\n console.warn(\n `Warning: Invalid FIGMA_ENV value \"${envFileValue}\" in .env file. Using production.`,\n )\n }\n return 'production'\n }\n\n return 'production'\n}\n"],"names":["getEnvVarSync","ENV_CONFIG","production","apiBaseUrl","authorizationUrl","clientId","contentApiUrl","identityMetadata","jwksUri","staging","envOverride","setEnvironment","env","getEnvironment","process","FIGMA_ENV","toLowerCase","envFileValue","cwd","console","warn"],"mappings":"AAAA,SAASA,aAAa,QAAQ,4BAA2B;AAsBzD;;;CAGC,GACD,OAAO,MAAMC,aAAqD;IAChEC,YAAY;QACVC,YAAY;QACZC,kBAAkB;QAClBC,UAAU;QACVC,eAAe;QACfC,kBAAkB;QAClBC,SAAS;IACX;IACAC,SAAS;QACPN,YAAY;QACZC,kBAAkB;QAClBC,UAAU;QACVC,eAAe;QACfC,kBAAkB;QAClBC,SAAS;IACX;AACF,EAAC;AAED,IAAIE;AAEJ;;;CAGC,GACD,OAAO,SAASC,eAAeC,GAA4B;IACzDF,cAAcE;AAChB;AAEA;;;CAGC,GACD,OAAO,SAASC;IACd,IAAIH,aAAa;QACf,OAAOA;IACT;IAEA,6CAA6C;IAC7C,IAAII,QAAQF,GAAG,CAACG,SAAS,EAAEC,kBAAkB,WAAW;QACtD,OAAO;IACT;IAEA,gCAAgC;IAChC,MAAMC,eAAejB,cAAcc,QAAQI,GAAG,IAAI;IAClD,IAAID,cAAc;QAChB,MAAML,MAAMK,aAAaD,WAAW;QACpC,IAAIJ,QAAQ,WAAW;YACrB,OAAO;QACT;QACA,IAAIA,QAAQ,cAAc;YACxBO,QAAQC,IAAI,CACV,CAAC,kCAAkC,EAAEH,aAAa,iCAAiC,CAAC;QAExF;QACA,OAAO;IACT;IAEA,OAAO;AACT"}
@@ -2935,140 +2935,6 @@ export type paths = {
2935
2935
  patch?: never;
2936
2936
  trace?: never;
2937
2937
  };
2938
- '/.well-known/jwks.json': {
2939
- parameters: {
2940
- query?: never;
2941
- header?: never;
2942
- path?: never;
2943
- cookie?: never;
2944
- };
2945
- get: {
2946
- parameters: {
2947
- query?: never;
2948
- header?: never;
2949
- path?: never;
2950
- cookie?: never;
2951
- };
2952
- requestBody?: never;
2953
- responses: {
2954
- /** @description JSON Web Key Set */
2955
- 200: {
2956
- headers: {
2957
- [name: string]: unknown;
2958
- };
2959
- content: {
2960
- 'application/json': components['schemas']['JwksResponse'];
2961
- };
2962
- };
2963
- /** @description Internal Server Error - Key not found */
2964
- 500: {
2965
- headers: {
2966
- [name: string]: unknown;
2967
- };
2968
- content: {
2969
- 'application/json': {
2970
- message: string;
2971
- };
2972
- };
2973
- };
2974
- };
2975
- };
2976
- put?: never;
2977
- post?: never;
2978
- delete?: never;
2979
- options?: never;
2980
- head?: never;
2981
- patch?: never;
2982
- trace?: never;
2983
- };
2984
- '/dev/jwt': {
2985
- parameters: {
2986
- query?: never;
2987
- header?: never;
2988
- path?: never;
2989
- cookie?: never;
2990
- };
2991
- get?: never;
2992
- put?: never;
2993
- post: {
2994
- parameters: {
2995
- query?: never;
2996
- header?: never;
2997
- path?: never;
2998
- cookie?: never;
2999
- };
3000
- requestBody?: {
3001
- content: {
3002
- 'application/json': components['schemas']['CreateJwtRequest'];
3003
- };
3004
- };
3005
- responses: {
3006
- /** @description JWT created successfully */
3007
- 200: {
3008
- headers: {
3009
- [name: string]: unknown;
3010
- };
3011
- content: {
3012
- 'application/json': components['schemas']['CreateJwtResponse'];
3013
- };
3014
- };
3015
- /** @description Internal Server Error - Private key not found */
3016
- 500: {
3017
- headers: {
3018
- [name: string]: unknown;
3019
- };
3020
- content: {
3021
- 'application/json': {
3022
- message: string;
3023
- };
3024
- };
3025
- };
3026
- };
3027
- };
3028
- delete?: never;
3029
- options?: never;
3030
- head?: never;
3031
- patch?: never;
3032
- trace?: never;
3033
- };
3034
- '/dev/clear-db': {
3035
- parameters: {
3036
- query?: never;
3037
- header?: never;
3038
- path?: never;
3039
- cookie?: never;
3040
- };
3041
- get?: never;
3042
- put?: never;
3043
- post: {
3044
- parameters: {
3045
- query?: never;
3046
- header?: never;
3047
- path?: never;
3048
- cookie?: never;
3049
- };
3050
- requestBody?: never;
3051
- responses: {
3052
- /** @description Database cleared successfully */
3053
- 200: {
3054
- headers: {
3055
- [name: string]: unknown;
3056
- };
3057
- content: {
3058
- 'application/json': {
3059
- message: string;
3060
- success: boolean;
3061
- };
3062
- };
3063
- };
3064
- };
3065
- };
3066
- delete?: never;
3067
- options?: never;
3068
- head?: never;
3069
- patch?: never;
3070
- trace?: never;
3071
- };
3072
2938
  };
3073
2939
  export type webhooks = Record<string, never>;
3074
2940
  export type components = {
@@ -3325,6 +3191,7 @@ export type components = {
3325
3191
  [key: string]: components['schemas']['PathType'];
3326
3192
  };
3327
3193
  RequestMeta: {
3194
+ localizedPaths?: string[];
3328
3195
  pathTypes?: components['schemas']['PathTypesMeta'];
3329
3196
  };
3330
3197
  DataValue: string | number | boolean | unknown | components['schemas']['DataValue'][] | {
@@ -3424,11 +3291,8 @@ export type components = {
3424
3291
  page?: number;
3425
3292
  sort?: components['schemas']['SortClause'];
3426
3293
  }[];
3427
- LocaleClause: {
3428
- locale: string;
3429
- fallbackLocale: string;
3430
- paths: string[];
3431
- };
3294
+ /** @example es */
3295
+ LocaleClause: string;
3432
3296
  /**
3433
3297
  * @example {
3434
3298
  * "mode": "include",
@@ -3532,6 +3396,7 @@ export type components = {
3532
3396
  };
3533
3397
  sort?: components['schemas']['SortClause'];
3534
3398
  where: components['schemas']['WhereClause'];
3399
+ locale?: components['schemas']['LocaleClause'];
3535
3400
  };
3536
3401
  DeleteDocumentResponse: {
3537
3402
  result?: {
@@ -3556,6 +3421,7 @@ export type components = {
3556
3421
  select?: components['schemas']['SelectClause'];
3557
3422
  };
3558
3423
  where: components['schemas']['WhereClause'];
3424
+ locale?: components['schemas']['LocaleClause'];
3559
3425
  };
3560
3426
  CountDocumentVersionResponse: {
3561
3427
  result: {
@@ -3705,6 +3571,7 @@ export type components = {
3705
3571
  limit?: number;
3706
3572
  meta?: components['schemas']['RequestMeta'];
3707
3573
  sort?: components['schemas']['SortClause'];
3574
+ locale?: components['schemas']['LocaleClause'];
3708
3575
  returning?: false | {
3709
3576
  join?: components['schemas']['JoinClause'];
3710
3577
  locale?: components['schemas']['LocaleClause'];
@@ -3867,41 +3734,6 @@ export type components = {
3867
3734
  */
3868
3735
  success: true;
3869
3736
  };
3870
- JwksResponse: {
3871
- keys: {
3872
- /** @example RSA */
3873
- kty: string;
3874
- /** @example sig */
3875
- use: string;
3876
- /** @example dev-key-1 */
3877
- kid: string;
3878
- /** @example RS256 */
3879
- alg: string;
3880
- /** @example base64url-encoded-modulus */
3881
- n: string;
3882
- /** @example AQAB */
3883
- e: string;
3884
- }[];
3885
- };
3886
- CreateJwtResponse: {
3887
- /**
3888
- * @description Generated JWT token
3889
- * @example eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
3890
- */
3891
- token: string;
3892
- /**
3893
- * @description Token expiration time in seconds
3894
- * @example 604800
3895
- */
3896
- expires_in: number;
3897
- };
3898
- CreateJwtRequest: {
3899
- /**
3900
- * @description Content system ID to include in the JWT aud field
3901
- * @example 4cfea8de-4f44-4efd-a8fc-7d539249e9f1
3902
- */
3903
- content_system_id?: string;
3904
- };
3905
3737
  };
3906
3738
  responses: never;
3907
3739
  parameters: never;