@datocms/cma-client 5.5.0-alpha.0 → 5.5.0-alpha.2

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.
@@ -8134,17 +8134,14 @@ export type UploadAttributes = {
8134
8134
  */
8135
8135
  mux_mp4_highest_res: null | 'high' | 'medium' | 'low';
8136
8136
  /**
8137
- * Per-asset default metadata applied when no record-level overrides are present. `alt`, `title`, and `custom_data` are objects keyed by locale; `focal_point` is non-localized — a single value per asset, applied across every locale (only meaningful for image assets).
8138
- *
8139
- * > [!PROTIP] 📘 Requires the `non_localized_focal_points` environment opt-in
8140
- * > This shape is returned and accepted in environments where the opt-in is active. The opt-in is the path forward and will become the default for all projects. Environments where it is still inactive use a legacy locale-keyed shape under the hood (kept working for compatibility) — opt in to align with this documentation.
8137
+ * Per-asset default metadata applied when no record-level overrides are present. `alt`, `title`, and `custom_data` are objects keyed by locale; `focal_point` is a single value per asset (only meaningful for image assets). See [non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) for more info.
8141
8138
  */
8142
8139
  default_field_metadata: {
8143
8140
  alt: LocalizedAlt;
8144
8141
  title: LocalizedTitle;
8145
8142
  custom_data: LocalizedCustomData;
8146
8143
  /**
8147
- * Focal point — non-localized; a single value applies across every locale (only meaningful for image assets)
8144
+ * Focal point (only for image assets)
8148
8145
  */
8149
8146
  focal_point: {
8150
8147
  /**
@@ -8335,7 +8332,7 @@ export type UploadCreateSchema = {
8335
8332
  title?: LocalizedTitle;
8336
8333
  custom_data?: LocalizedCustomData;
8337
8334
  /**
8338
- * Focal point — non-localized; a single value applies across every locale (only meaningful for image assets)
8335
+ * Focal point (only for image assets)
8339
8336
  */
8340
8337
  focal_point?: {
8341
8338
  /**
@@ -8443,7 +8440,7 @@ export type UploadUpdateSchema = {
8443
8440
  title?: LocalizedTitle;
8444
8441
  custom_data?: LocalizedCustomData;
8445
8442
  /**
8446
- * Focal point — non-localized; a single value applies across every locale (only meaningful for image assets)
8443
+ * Focal point (only for image assets)
8447
8444
  */
8448
8445
  focal_point?: {
8449
8446
  /**
@@ -10935,32 +10932,125 @@ export type PublicInfoAttributes = {
10935
10932
  */
10936
10933
  custom_i18n_messages_template_url: null | string;
10937
10934
  /**
10938
- * Specifies the color-scheme for the project
10935
+ * Specifies the color-scheme for the project. For monochromatic themes the response only includes type and hue — frontends must derive the palette from the hue. For custom themes the primary_color, light_color, accent_color, and dark_color fields are returned.
10939
10936
  */
10940
10937
  theme: {
10941
- primary_color: {
10938
+ /**
10939
+ * Whether the project is using a custom color palette or a monochromatic one derived from a hue.
10940
+ */
10941
+ type: 'custom' | 'monochromatic';
10942
+ /**
10943
+ * If the type is monochromatic, the value will fall between 0 and 359. If it's not, the value will be null.
10944
+ */
10945
+ hue: number | null;
10946
+ /**
10947
+ * An integer color channel value (0-255)
10948
+ */
10949
+ color_channel?: number;
10950
+ /**
10951
+ * An RGBA color value
10952
+ */
10953
+ color?: {
10954
+ /**
10955
+ * An integer color channel value (0-255)
10956
+ */
10942
10957
  red: number;
10958
+ /**
10959
+ * An integer color channel value (0-255)
10960
+ */
10943
10961
  green: number;
10962
+ /**
10963
+ * An integer color channel value (0-255)
10964
+ */
10944
10965
  blue: number;
10966
+ /**
10967
+ * An integer color channel value (0-255)
10968
+ */
10945
10969
  alpha: number;
10946
10970
  [k: string]: unknown;
10947
10971
  };
10948
- light_color: {
10972
+ /**
10973
+ * An RGBA color value
10974
+ */
10975
+ primary_color?: {
10976
+ /**
10977
+ * An integer color channel value (0-255)
10978
+ */
10979
+ red: number;
10980
+ /**
10981
+ * An integer color channel value (0-255)
10982
+ */
10983
+ green: number;
10984
+ /**
10985
+ * An integer color channel value (0-255)
10986
+ */
10987
+ blue: number;
10988
+ /**
10989
+ * An integer color channel value (0-255)
10990
+ */
10991
+ alpha: number;
10992
+ };
10993
+ /**
10994
+ * An RGBA color value
10995
+ */
10996
+ light_color?: {
10997
+ /**
10998
+ * An integer color channel value (0-255)
10999
+ */
10949
11000
  red: number;
11001
+ /**
11002
+ * An integer color channel value (0-255)
11003
+ */
10950
11004
  green: number;
11005
+ /**
11006
+ * An integer color channel value (0-255)
11007
+ */
10951
11008
  blue: number;
11009
+ /**
11010
+ * An integer color channel value (0-255)
11011
+ */
10952
11012
  alpha: number;
10953
11013
  };
10954
- accent_color: {
11014
+ /**
11015
+ * An RGBA color value
11016
+ */
11017
+ accent_color?: {
11018
+ /**
11019
+ * An integer color channel value (0-255)
11020
+ */
10955
11021
  red: number;
11022
+ /**
11023
+ * An integer color channel value (0-255)
11024
+ */
10956
11025
  green: number;
11026
+ /**
11027
+ * An integer color channel value (0-255)
11028
+ */
10957
11029
  blue: number;
11030
+ /**
11031
+ * An integer color channel value (0-255)
11032
+ */
10958
11033
  alpha: number;
10959
11034
  };
10960
- dark_color: {
11035
+ /**
11036
+ * An RGBA color value
11037
+ */
11038
+ dark_color?: {
11039
+ /**
11040
+ * An integer color channel value (0-255)
11041
+ */
10961
11042
  red: number;
11043
+ /**
11044
+ * An integer color channel value (0-255)
11045
+ */
10962
11046
  green: number;
11047
+ /**
11048
+ * An integer color channel value (0-255)
11049
+ */
10963
11050
  blue: number;
11051
+ /**
11052
+ * An integer color channel value (0-255)
11053
+ */
10964
11054
  alpha: number;
10965
11055
  };
10966
11056
  };
@@ -11325,7 +11415,7 @@ export type SiteAttributes = {
11325
11415
  };
11326
11416
  };
11327
11417
  /**
11328
- * Specifies the theme to use in administrative area
11418
+ * Specifies the theme to use in administrative area. For monochromatic themes the response only includes type, hue, and logo — frontends must derive the palette from the hue. For custom themes the primary_color, light_color, accent_color, and dark_color fields are returned.
11329
11419
  */
11330
11420
  theme: {
11331
11421
  /**
@@ -11336,28 +11426,113 @@ export type SiteAttributes = {
11336
11426
  * If the type is monochromatic, the value will fall between 0 and 359. If it's not, the value will be null.
11337
11427
  */
11338
11428
  hue: number | null;
11339
- primary_color: {
11429
+ /**
11430
+ * An integer color channel value (0-255)
11431
+ */
11432
+ color_channel?: number;
11433
+ /**
11434
+ * An RGBA color value
11435
+ */
11436
+ color?: {
11437
+ /**
11438
+ * An integer color channel value (0-255)
11439
+ */
11340
11440
  red: number;
11441
+ /**
11442
+ * An integer color channel value (0-255)
11443
+ */
11341
11444
  green: number;
11445
+ /**
11446
+ * An integer color channel value (0-255)
11447
+ */
11342
11448
  blue: number;
11449
+ /**
11450
+ * An integer color channel value (0-255)
11451
+ */
11343
11452
  alpha: number;
11344
11453
  };
11345
- light_color: {
11454
+ /**
11455
+ * An RGBA color value
11456
+ */
11457
+ primary_color?: {
11458
+ /**
11459
+ * An integer color channel value (0-255)
11460
+ */
11346
11461
  red: number;
11462
+ /**
11463
+ * An integer color channel value (0-255)
11464
+ */
11347
11465
  green: number;
11466
+ /**
11467
+ * An integer color channel value (0-255)
11468
+ */
11348
11469
  blue: number;
11470
+ /**
11471
+ * An integer color channel value (0-255)
11472
+ */
11349
11473
  alpha: number;
11350
11474
  };
11351
- accent_color: {
11475
+ /**
11476
+ * An RGBA color value
11477
+ */
11478
+ light_color?: {
11479
+ /**
11480
+ * An integer color channel value (0-255)
11481
+ */
11482
+ red: number;
11483
+ /**
11484
+ * An integer color channel value (0-255)
11485
+ */
11486
+ green: number;
11487
+ /**
11488
+ * An integer color channel value (0-255)
11489
+ */
11490
+ blue: number;
11491
+ /**
11492
+ * An integer color channel value (0-255)
11493
+ */
11494
+ alpha: number;
11495
+ };
11496
+ /**
11497
+ * An RGBA color value
11498
+ */
11499
+ accent_color?: {
11500
+ /**
11501
+ * An integer color channel value (0-255)
11502
+ */
11352
11503
  red: number;
11504
+ /**
11505
+ * An integer color channel value (0-255)
11506
+ */
11353
11507
  green: number;
11508
+ /**
11509
+ * An integer color channel value (0-255)
11510
+ */
11354
11511
  blue: number;
11512
+ /**
11513
+ * An integer color channel value (0-255)
11514
+ */
11355
11515
  alpha: number;
11356
11516
  };
11357
- dark_color: {
11517
+ /**
11518
+ * An RGBA color value
11519
+ */
11520
+ dark_color?: {
11521
+ /**
11522
+ * An integer color channel value (0-255)
11523
+ */
11358
11524
  red: number;
11525
+ /**
11526
+ * An integer color channel value (0-255)
11527
+ */
11359
11528
  green: number;
11529
+ /**
11530
+ * An integer color channel value (0-255)
11531
+ */
11360
11532
  blue: number;
11533
+ /**
11534
+ * An integer color channel value (0-255)
11535
+ */
11361
11536
  alpha: number;
11362
11537
  };
11363
11538
  /**
@@ -11477,7 +11652,7 @@ export type SiteMeta = {
11477
11652
  */
11478
11653
  milliseconds_in_datetime: boolean;
11479
11654
  /**
11480
- * Whether the non-localized focal points opt-in is active for the environment. When active, an upload's `focal_point` is stored once per asset rather than once per locale, and the CMA `default_field_metadata` attribute is exposed in its field-keyed shape (with `alt`/`title`/`custom_data` keyed by locale and a single top-level `focal_point`). When inactive, the CMA continues to accept and return the legacy locale-keyed shape — the single stored focal_point is replicated into every locale entry on read. The CDA's behavior is unaffected: it already returns a single `focalPoint` value.
11655
+ * Whether the [Non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) opt-in product update is active or not
11481
11656
  */
11482
11657
  non_localized_focal_points: boolean;
11483
11658
  };
@@ -11578,28 +11753,88 @@ export type SiteUpdateSchema = {
11578
11753
  * The upload ID that is used as the logo for the project
11579
11754
  */
11580
11755
  logo: string | null;
11756
+ /**
11757
+ * An RGBA color value
11758
+ */
11581
11759
  primary_color: {
11760
+ /**
11761
+ * An integer color channel value (0-255)
11762
+ */
11582
11763
  red: number;
11764
+ /**
11765
+ * An integer color channel value (0-255)
11766
+ */
11583
11767
  green: number;
11768
+ /**
11769
+ * An integer color channel value (0-255)
11770
+ */
11584
11771
  blue: number;
11772
+ /**
11773
+ * An integer color channel value (0-255)
11774
+ */
11585
11775
  alpha: number;
11586
11776
  };
11777
+ /**
11778
+ * An RGBA color value
11779
+ */
11587
11780
  light_color: {
11781
+ /**
11782
+ * An integer color channel value (0-255)
11783
+ */
11588
11784
  red: number;
11785
+ /**
11786
+ * An integer color channel value (0-255)
11787
+ */
11589
11788
  green: number;
11789
+ /**
11790
+ * An integer color channel value (0-255)
11791
+ */
11590
11792
  blue: number;
11793
+ /**
11794
+ * An integer color channel value (0-255)
11795
+ */
11591
11796
  alpha: number;
11592
11797
  };
11798
+ /**
11799
+ * An RGBA color value
11800
+ */
11593
11801
  accent_color: {
11802
+ /**
11803
+ * An integer color channel value (0-255)
11804
+ */
11594
11805
  red: number;
11806
+ /**
11807
+ * An integer color channel value (0-255)
11808
+ */
11595
11809
  green: number;
11810
+ /**
11811
+ * An integer color channel value (0-255)
11812
+ */
11596
11813
  blue: number;
11814
+ /**
11815
+ * An integer color channel value (0-255)
11816
+ */
11597
11817
  alpha: number;
11598
11818
  };
11819
+ /**
11820
+ * An RGBA color value
11821
+ */
11599
11822
  dark_color?: {
11823
+ /**
11824
+ * An integer color channel value (0-255)
11825
+ */
11600
11826
  red: number;
11827
+ /**
11828
+ * An integer color channel value (0-255)
11829
+ */
11601
11830
  green: number;
11831
+ /**
11832
+ * An integer color channel value (0-255)
11833
+ */
11602
11834
  blue: number;
11835
+ /**
11836
+ * An integer color channel value (0-255)
11837
+ */
11603
11838
  alpha: number;
11604
11839
  };
11605
11840
  [k: string]: unknown;
@@ -11671,7 +11906,7 @@ export type SiteUpdateSchema = {
11671
11906
  */
11672
11907
  milliseconds_in_datetime?: boolean;
11673
11908
  /**
11674
- * Whether the non-localized focal points opt-in is active for the environment. When active, an upload's `focal_point` is stored once per asset rather than once per locale, and the CMA `default_field_metadata` attribute is exposed in its field-keyed shape (with `alt`/`title`/`custom_data` keyed by locale and a single top-level `focal_point`). When inactive, the CMA continues to accept and return the legacy locale-keyed shape — the single stored focal_point is replicated into every locale entry on read. The CDA's behavior is unaffected: it already returns a single `focalPoint` value.
11909
+ * Whether the [Non-localized focal points](https://www.datocms.com/product-updates/non-localized-focal-points) opt-in product update is active or not
11675
11910
  */
11676
11911
  non_localized_focal_points?: boolean;
11677
11912
  };
@@ -11773,6 +12008,13 @@ export type SiteActivateImprovedItemsListingTargetSchema = {
11773
12008
  export type SiteActivateMillisecondsInDatetimeTargetSchema = {
11774
12009
  data: Site;
11775
12010
  };
12011
+ /**
12012
+ * This interface was referenced by `Site`'s JSON-Schema
12013
+ * via the `activate_non_localized_focal_points.targetSchema` link.
12014
+ */
12015
+ export type SiteActivateNonLocalizedFocalPointsTargetSchema = {
12016
+ data: Site;
12017
+ };
11776
12018
  /**
11777
12019
  * This interface was referenced by `Site`'s JSON-Schema
11778
12020
  * via the `update_assets_cdn_default_settings.schema` link.
@@ -25,4 +25,26 @@ export default class Session extends BaseResource {
25
25
  * @deprecated This API call is to be considered private and might change without notice
26
26
  */
27
27
  rawCreate(body: RawApiTypes.SessionCreateSchema): Promise<RawApiTypes.SessionCreateTargetSchema>;
28
+ /**
29
+ * Destroy the current session
30
+ *
31
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/session/destroy
32
+ *
33
+ * @throws {ApiError}
34
+ * @throws {TimeoutError}
35
+ *
36
+ * @deprecated This API call is to be considered private and might change without notice
37
+ */
38
+ destroy(): Promise<void>;
39
+ /**
40
+ * Destroy the current session
41
+ *
42
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/session/destroy
43
+ *
44
+ * @throws {ApiError}
45
+ * @throws {TimeoutError}
46
+ *
47
+ * @deprecated This API call is to be considered private and might change without notice
48
+ */
49
+ rawDestroy(): Promise<void>;
28
50
  }
@@ -35,6 +35,35 @@ export default class Session extends BaseResource {
35
35
  body,
36
36
  });
37
37
  }
38
+ /**
39
+ * Destroy the current session
40
+ *
41
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/session/destroy
42
+ *
43
+ * @throws {ApiError}
44
+ * @throws {TimeoutError}
45
+ *
46
+ * @deprecated This API call is to be considered private and might change without notice
47
+ */
48
+ destroy() {
49
+ return this.rawDestroy();
50
+ }
51
+ /**
52
+ * Destroy the current session
53
+ *
54
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/session/destroy
55
+ *
56
+ * @throws {ApiError}
57
+ * @throws {TimeoutError}
58
+ *
59
+ * @deprecated This API call is to be considered private and might change without notice
60
+ */
61
+ rawDestroy() {
62
+ return this.client.request({
63
+ method: 'DELETE',
64
+ url: '/session',
65
+ });
66
+ }
38
67
  }
39
68
  Session.TYPE = 'session';
40
69
  //# sourceMappingURL=Session.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../../src/generated/resources/Session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,YAAY;IAG/C;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAkC;QACvC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAkC,IAAI,EAAE;YAChE,IAAI,EAAE,mBAAmB;YACzB,UAAU,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC;YAC7C,aAAa,EAAE,EAAE;SAClB,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAAqC,IAAI,CAAC,CACxE,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,SAAS,CACP,IAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAwC;YAChE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,WAAW;YAChB,IAAI;SACL,CAAC,CAAC;IACL,CAAC;;AA1Ce,YAAI,GAAG,SAAkB,CAAC"}
1
+ {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../../src/generated/resources/Session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,YAAY;IAG/C;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAkC;QACvC,OAAO,IAAI,CAAC,SAAS,CACnB,KAAK,CAAC,oBAAoB,CAAkC,IAAI,EAAE;YAChE,IAAI,EAAE,mBAAmB;YACzB,UAAU,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC;YAC7C,aAAa,EAAE,EAAE;SAClB,CAAC,CACH,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAAqC,IAAI,CAAC,CACxE,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,SAAS,CACP,IAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAwC;YAChE,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,WAAW;YAChB,IAAI;SACL,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC;IAC3B,CAAC;IAED;;;;;;;;;OASG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO;YAC/B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;;AAzEe,YAAI,GAAG,SAAkB,CAAC"}
@@ -259,6 +259,28 @@ export default class Site extends BaseResource {
259
259
  * @deprecated This API call is to be considered private and might change without notice
260
260
  */
261
261
  rawActivateMillisecondsInDatetime(): Promise<RawApiTypes.SiteActivateMillisecondsInDatetimeTargetSchema>;
262
+ /**
263
+ * Activate non-localized focal points
264
+ *
265
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/site/activate_non_localized_focal_points
266
+ *
267
+ * @throws {ApiError}
268
+ * @throws {TimeoutError}
269
+ *
270
+ * @deprecated This API call is to be considered private and might change without notice
271
+ */
272
+ activateNonLocalizedFocalPoints(): Promise<ApiTypes.Site>;
273
+ /**
274
+ * Activate non-localized focal points
275
+ *
276
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/site/activate_non_localized_focal_points
277
+ *
278
+ * @throws {ApiError}
279
+ * @throws {TimeoutError}
280
+ *
281
+ * @deprecated This API call is to be considered private and might change without notice
282
+ */
283
+ rawActivateNonLocalizedFocalPoints(): Promise<RawApiTypes.SiteActivateNonLocalizedFocalPointsTargetSchema>;
262
284
  /**
263
285
  * Update CDN settings default assets
264
286
  *
@@ -358,6 +358,35 @@ export default class Site extends BaseResource {
358
358
  url: '/site/activate-milliseconds-in-datetime',
359
359
  });
360
360
  }
361
+ /**
362
+ * Activate non-localized focal points
363
+ *
364
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/site/activate_non_localized_focal_points
365
+ *
366
+ * @throws {ApiError}
367
+ * @throws {TimeoutError}
368
+ *
369
+ * @deprecated This API call is to be considered private and might change without notice
370
+ */
371
+ activateNonLocalizedFocalPoints() {
372
+ return this.rawActivateNonLocalizedFocalPoints().then((body) => Utils.deserializeResponseBody(body));
373
+ }
374
+ /**
375
+ * Activate non-localized focal points
376
+ *
377
+ * Read more: https://www.datocms.com/docs/content-management-api/resources/site/activate_non_localized_focal_points
378
+ *
379
+ * @throws {ApiError}
380
+ * @throws {TimeoutError}
381
+ *
382
+ * @deprecated This API call is to be considered private and might change without notice
383
+ */
384
+ rawActivateNonLocalizedFocalPoints() {
385
+ return this.client.request({
386
+ method: 'PUT',
387
+ url: '/site/activate-non-localized-focal-points',
388
+ });
389
+ }
361
390
  /**
362
391
  * Update CDN settings default assets
363
392
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Site.js","sourceRoot":"","sources":["../../../../src/generated/resources/Site.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,YAAY,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,YAAY;IAG5C;;;;;;;OAOG;IACH,IAAI,CAAC,WAAyC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE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C,CAAC,IAAI,EAAE,EAAE,CAC1D,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,+BAA+B;QAC7B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uCAAuC;SAC7C,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,8BAA8B;QAC5B,OAAO,IAAI,CAAC,iCAAiC,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAC5D,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iCAAiC;QAC/B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;SAC/C,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,8BAA8B,CAC5B,IAAuD;QAEvD,OAAO,IAAI,CAAC,iCAAiC,CAC3C,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,6BAA6B;YACnC,UAAU,EAAE,CAAC,6BAA6B,CAAC;YAC3C,aAAa,EAAE,EAAE;SAClB,CACF,CACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iCAAiC,CAC/B,IAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI;SACL,CACF,CAAC;IACJ,CAAC;;AAtfe,SAAI,GAAG,MAAe,CAAC"}
1
+ {"version":3,"file":"Site.js","sourceRoot":"","sources":["../../../../src/generated/resources/Site.ts"],"names":[],"mappings":"A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AA8B,CAC5B,IAAuD;QAEvD,OAAO,IAAI,CAAC,iCAAiC,CAC3C,KAAK,CAAC,oBAAoB,CACxB,IAAI,EACJ;YACE,IAAI,EAAE,6BAA6B;YACnC,UAAU,EAAE,CAAC,6BAA6B,CAAC;YAC3C,aAAa,EAAE,EAAE;SAClB,CACF,CACF,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACd,KAAK,CAAC,uBAAuB,CAC3B,IAAI,CACL,CACF,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,iCAAiC,CAC/B,IAA0D;QAE1D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CACxB;YACE,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI;SACL,CACF,CAAC;IACJ,CAAC;;AA3hBe,SAAI,GAAG,MAAe,CAAC"}
@@ -59,7 +59,7 @@ export function isValidId(id) {
59
59
  return true;
60
60
  }
61
61
  export function generateId() {
62
- const bytes = v4(null, new Uint8Array(16));
62
+ const bytes = v4(undefined, new Uint8Array(16));
63
63
  // Here we unset the first bit to ensure [A-Za-f] as the first char.
64
64
  //
65
65
  // If we didn't do this, we would generate IDs that, once encoded
@@ -1 +1 @@
1
- {"version":3,"file":"id.js","sourceRoot":"","sources":["../../../src/utilities/id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAE1B,SAAS,6BAA6B,CAAC,KAAiB;IACtD,MAAM,MAAM,GACV,OAAO,MAAM,KAAK,WAAW;QAC3B,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QACvE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAE5C,o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