@wix/auto_sdk_data_collections 1.0.111 → 1.0.113
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/build/cjs/index.d.ts +31 -31
- package/build/cjs/index.js +16 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +211 -36
- package/build/cjs/index.typings.js +16 -16
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +169 -5
- package/build/cjs/meta.js +16 -16
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +31 -31
- package/build/es/index.mjs +16 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +211 -36
- package/build/es/index.typings.mjs +16 -16
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +169 -5
- package/build/es/meta.mjs +16 -16
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +31 -31
- package/build/internal/cjs/index.typings.d.ts +99 -310
- package/build/internal/cjs/meta.d.ts +65 -266
- package/build/internal/es/index.d.mts +31 -31
- package/build/internal/es/index.typings.d.mts +99 -310
- package/build/internal/es/meta.d.mts +65 -266
- package/package.json +2 -2
|
@@ -104,7 +104,6 @@ interface DataCollection {
|
|
|
104
104
|
dataPermissions?: DataPermissions;
|
|
105
105
|
/**
|
|
106
106
|
* Actual data operations permitted for the caller. Included only if requested by `includeAllowedDataPermissions`
|
|
107
|
-
* @internal
|
|
108
107
|
* @readonly
|
|
109
108
|
*/
|
|
110
109
|
allowedDataPermissions?: AllowedDataPermissions;
|
|
@@ -421,7 +420,6 @@ declare enum Type {
|
|
|
421
420
|
/**
|
|
422
421
|
* Secured media object with digital file metadata.
|
|
423
422
|
* @documentationMaturity preview
|
|
424
|
-
* @internal
|
|
425
423
|
*/
|
|
426
424
|
SECURED_MEDIA = "SECURED_MEDIA",
|
|
427
425
|
/**
|
|
@@ -436,7 +434,7 @@ declare enum Type {
|
|
|
436
434
|
MEDIA_VECTOR_ART = "MEDIA_VECTOR_ART"
|
|
437
435
|
}
|
|
438
436
|
/** @enumType */
|
|
439
|
-
type TypeWithLiterals = Type | 'TEXT' | 'NUMBER' | 'DATE' | 'DATETIME' | 'IMAGE' | 'BOOLEAN' | 'DOCUMENT' | 'URL' | 'RICH_TEXT' | 'VIDEO' | 'ANY' | 'ARRAY_STRING' | 'ARRAY_DOCUMENT' | 'AUDIO' | 'TIME' | 'LANGUAGE' | 'RICH_CONTENT' | 'MEDIA_GALLERY' | 'ADDRESS' | 'PAGE_LINK' | 'REFERENCE' | 'MULTI_REFERENCE' | 'OBJECT' | 'ARRAY' | 'LEGACY_TIME' | 'LEGACY_BOOK' | 'LEGACY_EXTERNAL_URL' | 'LEGACY_BROKEN_REFERENCE' | 'LEGACY_IMAGE' | 'LEGACY_COLOR' | 'LEGACY_EXTERNAL_VIDEO' | 'SLUG' | 'EMAIL' | 'MEDIA_IMAGE' | 'MEDIA_VECTOR_ART';
|
|
437
|
+
type TypeWithLiterals = Type | 'TEXT' | 'NUMBER' | 'DATE' | 'DATETIME' | 'IMAGE' | 'BOOLEAN' | 'DOCUMENT' | 'URL' | 'RICH_TEXT' | 'VIDEO' | 'ANY' | 'ARRAY_STRING' | 'ARRAY_DOCUMENT' | 'AUDIO' | 'TIME' | 'LANGUAGE' | 'RICH_CONTENT' | 'MEDIA_GALLERY' | 'ADDRESS' | 'PAGE_LINK' | 'REFERENCE' | 'MULTI_REFERENCE' | 'OBJECT' | 'ARRAY' | 'LEGACY_TIME' | 'LEGACY_BOOK' | 'LEGACY_EXTERNAL_URL' | 'LEGACY_BROKEN_REFERENCE' | 'LEGACY_IMAGE' | 'LEGACY_COLOR' | 'LEGACY_EXTERNAL_VIDEO' | 'SLUG' | 'EMAIL' | 'SECURED_MEDIA' | 'MEDIA_IMAGE' | 'MEDIA_VECTOR_ART';
|
|
440
438
|
interface TypeMetadata extends TypeMetadataMetadataOneOf {
|
|
441
439
|
/** Metadata for a reference field. */
|
|
442
440
|
reference?: Reference;
|
|
@@ -448,110 +446,47 @@ interface TypeMetadata extends TypeMetadataMetadataOneOf {
|
|
|
448
446
|
array?: _Array;
|
|
449
447
|
/** Metadata for a page link field. */
|
|
450
448
|
pageLink?: PageLink;
|
|
451
|
-
/**
|
|
452
|
-
* Metadata for a slug field.
|
|
453
|
-
* @internal
|
|
454
|
-
*/
|
|
449
|
+
/** Metadata for a slug field. */
|
|
455
450
|
slug?: Slug;
|
|
456
|
-
/**
|
|
457
|
-
* Metadata for TEXT.
|
|
458
|
-
* @internal
|
|
459
|
-
*/
|
|
451
|
+
/** Metadata for TEXT. */
|
|
460
452
|
text?: Text;
|
|
461
|
-
/**
|
|
462
|
-
* Metadata for NUMBER.
|
|
463
|
-
* @internal
|
|
464
|
-
*/
|
|
453
|
+
/** Metadata for NUMBER. */
|
|
465
454
|
number?: _Number;
|
|
466
|
-
/**
|
|
467
|
-
* Metadata for DATE.
|
|
468
|
-
* @internal
|
|
469
|
-
*/
|
|
455
|
+
/** Metadata for DATE. */
|
|
470
456
|
date?: _Date;
|
|
471
|
-
/**
|
|
472
|
-
* Metadata for DATETIME.
|
|
473
|
-
* @internal
|
|
474
|
-
*/
|
|
457
|
+
/** Metadata for DATETIME. */
|
|
475
458
|
datetime?: Datetime;
|
|
476
|
-
/**
|
|
477
|
-
* Metadata for IMAGE.
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
459
|
+
/** Metadata for IMAGE. */
|
|
480
460
|
image?: Image;
|
|
481
|
-
/**
|
|
482
|
-
* Metadata for BOOLEAN.
|
|
483
|
-
* @internal
|
|
484
|
-
*/
|
|
461
|
+
/** Metadata for BOOLEAN. */
|
|
485
462
|
boolean?: _Boolean;
|
|
486
|
-
/**
|
|
487
|
-
* Metadata for DOCUMENT.
|
|
488
|
-
* @internal
|
|
489
|
-
*/
|
|
463
|
+
/** Metadata for DOCUMENT. */
|
|
490
464
|
document?: Document;
|
|
491
|
-
/**
|
|
492
|
-
* Metadata for URL.
|
|
493
|
-
* @internal
|
|
494
|
-
*/
|
|
465
|
+
/** Metadata for URL. */
|
|
495
466
|
url?: Url;
|
|
496
|
-
/**
|
|
497
|
-
* Metadata for RICH_TEXT.
|
|
498
|
-
* @internal
|
|
499
|
-
*/
|
|
467
|
+
/** Metadata for RICH_TEXT. */
|
|
500
468
|
richText?: RichText;
|
|
501
|
-
/**
|
|
502
|
-
* Metadata for VIDEO.
|
|
503
|
-
* @internal
|
|
504
|
-
*/
|
|
469
|
+
/** Metadata for VIDEO. */
|
|
505
470
|
video?: Video;
|
|
506
|
-
/**
|
|
507
|
-
* Metadata for ARRAY_STRING.
|
|
508
|
-
* @internal
|
|
509
|
-
*/
|
|
471
|
+
/** Metadata for ARRAY_STRING. */
|
|
510
472
|
arrayString?: ArrayString;
|
|
511
|
-
/**
|
|
512
|
-
* Metadata for ARRAY_DOCUMENT.
|
|
513
|
-
* @internal
|
|
514
|
-
*/
|
|
473
|
+
/** Metadata for ARRAY_DOCUMENT. */
|
|
515
474
|
arrayDocument?: ArrayDocument;
|
|
516
|
-
/**
|
|
517
|
-
* Metadata for AUDIO.
|
|
518
|
-
* @internal
|
|
519
|
-
*/
|
|
475
|
+
/** Metadata for AUDIO. */
|
|
520
476
|
audio?: Audio;
|
|
521
|
-
/**
|
|
522
|
-
* Metadata for TIME.
|
|
523
|
-
* @internal
|
|
524
|
-
*/
|
|
477
|
+
/** Metadata for TIME. */
|
|
525
478
|
time?: Time;
|
|
526
|
-
/**
|
|
527
|
-
* Metadata for RICH_CONTENT.
|
|
528
|
-
* @internal
|
|
529
|
-
*/
|
|
479
|
+
/** Metadata for RICH_CONTENT. */
|
|
530
480
|
richContent?: RichContent;
|
|
531
|
-
/**
|
|
532
|
-
* Metadata for MEDIA_GALLERY.
|
|
533
|
-
* @internal
|
|
534
|
-
*/
|
|
481
|
+
/** Metadata for MEDIA_GALLERY. */
|
|
535
482
|
mediaGallery?: MediaGallery;
|
|
536
|
-
/**
|
|
537
|
-
* Metadata for ADDRESS.
|
|
538
|
-
* @internal
|
|
539
|
-
*/
|
|
483
|
+
/** Metadata for ADDRESS. */
|
|
540
484
|
address?: Address;
|
|
541
|
-
/**
|
|
542
|
-
* Metadata for EMAIL.
|
|
543
|
-
* @internal
|
|
544
|
-
*/
|
|
485
|
+
/** Metadata for EMAIL. */
|
|
545
486
|
email?: Email;
|
|
546
|
-
/**
|
|
547
|
-
* Metadata for LEGACY_COLOR.
|
|
548
|
-
* @internal
|
|
549
|
-
*/
|
|
487
|
+
/** Metadata for LEGACY_COLOR. */
|
|
550
488
|
legacyColor?: LegacyColor;
|
|
551
|
-
/**
|
|
552
|
-
* Metadata for MEDIA_IMAGE.
|
|
553
|
-
* @internal
|
|
554
|
-
*/
|
|
489
|
+
/** Metadata for MEDIA_IMAGE. */
|
|
555
490
|
mediaImage?: MediaImage;
|
|
556
491
|
}
|
|
557
492
|
/** @oneof */
|
|
@@ -566,110 +501,47 @@ interface TypeMetadataMetadataOneOf {
|
|
|
566
501
|
array?: _Array;
|
|
567
502
|
/** Metadata for a page link field. */
|
|
568
503
|
pageLink?: PageLink;
|
|
569
|
-
/**
|
|
570
|
-
* Metadata for a slug field.
|
|
571
|
-
* @internal
|
|
572
|
-
*/
|
|
504
|
+
/** Metadata for a slug field. */
|
|
573
505
|
slug?: Slug;
|
|
574
|
-
/**
|
|
575
|
-
* Metadata for TEXT.
|
|
576
|
-
* @internal
|
|
577
|
-
*/
|
|
506
|
+
/** Metadata for TEXT. */
|
|
578
507
|
text?: Text;
|
|
579
|
-
/**
|
|
580
|
-
* Metadata for NUMBER.
|
|
581
|
-
* @internal
|
|
582
|
-
*/
|
|
508
|
+
/** Metadata for NUMBER. */
|
|
583
509
|
number?: _Number;
|
|
584
|
-
/**
|
|
585
|
-
* Metadata for DATE.
|
|
586
|
-
* @internal
|
|
587
|
-
*/
|
|
510
|
+
/** Metadata for DATE. */
|
|
588
511
|
date?: _Date;
|
|
589
|
-
/**
|
|
590
|
-
* Metadata for DATETIME.
|
|
591
|
-
* @internal
|
|
592
|
-
*/
|
|
512
|
+
/** Metadata for DATETIME. */
|
|
593
513
|
datetime?: Datetime;
|
|
594
|
-
/**
|
|
595
|
-
* Metadata for IMAGE.
|
|
596
|
-
* @internal
|
|
597
|
-
*/
|
|
514
|
+
/** Metadata for IMAGE. */
|
|
598
515
|
image?: Image;
|
|
599
|
-
/**
|
|
600
|
-
* Metadata for BOOLEAN.
|
|
601
|
-
* @internal
|
|
602
|
-
*/
|
|
516
|
+
/** Metadata for BOOLEAN. */
|
|
603
517
|
boolean?: _Boolean;
|
|
604
|
-
/**
|
|
605
|
-
* Metadata for DOCUMENT.
|
|
606
|
-
* @internal
|
|
607
|
-
*/
|
|
518
|
+
/** Metadata for DOCUMENT. */
|
|
608
519
|
document?: Document;
|
|
609
|
-
/**
|
|
610
|
-
* Metadata for URL.
|
|
611
|
-
* @internal
|
|
612
|
-
*/
|
|
520
|
+
/** Metadata for URL. */
|
|
613
521
|
url?: Url;
|
|
614
|
-
/**
|
|
615
|
-
* Metadata for RICH_TEXT.
|
|
616
|
-
* @internal
|
|
617
|
-
*/
|
|
522
|
+
/** Metadata for RICH_TEXT. */
|
|
618
523
|
richText?: RichText;
|
|
619
|
-
/**
|
|
620
|
-
* Metadata for VIDEO.
|
|
621
|
-
* @internal
|
|
622
|
-
*/
|
|
524
|
+
/** Metadata for VIDEO. */
|
|
623
525
|
video?: Video;
|
|
624
|
-
/**
|
|
625
|
-
* Metadata for ARRAY_STRING.
|
|
626
|
-
* @internal
|
|
627
|
-
*/
|
|
526
|
+
/** Metadata for ARRAY_STRING. */
|
|
628
527
|
arrayString?: ArrayString;
|
|
629
|
-
/**
|
|
630
|
-
* Metadata for ARRAY_DOCUMENT.
|
|
631
|
-
* @internal
|
|
632
|
-
*/
|
|
528
|
+
/** Metadata for ARRAY_DOCUMENT. */
|
|
633
529
|
arrayDocument?: ArrayDocument;
|
|
634
|
-
/**
|
|
635
|
-
* Metadata for AUDIO.
|
|
636
|
-
* @internal
|
|
637
|
-
*/
|
|
530
|
+
/** Metadata for AUDIO. */
|
|
638
531
|
audio?: Audio;
|
|
639
|
-
/**
|
|
640
|
-
* Metadata for TIME.
|
|
641
|
-
* @internal
|
|
642
|
-
*/
|
|
532
|
+
/** Metadata for TIME. */
|
|
643
533
|
time?: Time;
|
|
644
|
-
/**
|
|
645
|
-
* Metadata for RICH_CONTENT.
|
|
646
|
-
* @internal
|
|
647
|
-
*/
|
|
534
|
+
/** Metadata for RICH_CONTENT. */
|
|
648
535
|
richContent?: RichContent;
|
|
649
|
-
/**
|
|
650
|
-
* Metadata for MEDIA_GALLERY.
|
|
651
|
-
* @internal
|
|
652
|
-
*/
|
|
536
|
+
/** Metadata for MEDIA_GALLERY. */
|
|
653
537
|
mediaGallery?: MediaGallery;
|
|
654
|
-
/**
|
|
655
|
-
* Metadata for ADDRESS.
|
|
656
|
-
* @internal
|
|
657
|
-
*/
|
|
538
|
+
/** Metadata for ADDRESS. */
|
|
658
539
|
address?: Address;
|
|
659
|
-
/**
|
|
660
|
-
* Metadata for EMAIL.
|
|
661
|
-
* @internal
|
|
662
|
-
*/
|
|
540
|
+
/** Metadata for EMAIL. */
|
|
663
541
|
email?: Email;
|
|
664
|
-
/**
|
|
665
|
-
* Metadata for LEGACY_COLOR.
|
|
666
|
-
* @internal
|
|
667
|
-
*/
|
|
542
|
+
/** Metadata for LEGACY_COLOR. */
|
|
668
543
|
legacyColor?: LegacyColor;
|
|
669
|
-
/**
|
|
670
|
-
* Metadata for MEDIA_IMAGE.
|
|
671
|
-
* @internal
|
|
672
|
-
*/
|
|
544
|
+
/** Metadata for MEDIA_IMAGE. */
|
|
673
545
|
mediaImage?: MediaImage;
|
|
674
546
|
}
|
|
675
547
|
interface FieldCapabilities {
|
|
@@ -805,10 +677,7 @@ interface _Object {
|
|
|
805
677
|
* @maxSize 1000
|
|
806
678
|
*/
|
|
807
679
|
fields?: ObjectField[];
|
|
808
|
-
/**
|
|
809
|
-
* Value assigned when a data item omits this field.
|
|
810
|
-
* @internal
|
|
811
|
-
*/
|
|
680
|
+
/** Value assigned when a data item omits this field. */
|
|
812
681
|
defaultValue?: Record<string, any> | null;
|
|
813
682
|
}
|
|
814
683
|
interface _Array {
|
|
@@ -816,17 +685,10 @@ interface _Array {
|
|
|
816
685
|
elementType?: TypeWithLiterals;
|
|
817
686
|
/** Type-specific configuration, such as the referenced collection for a reference field or the calculation pattern for a page link. */
|
|
818
687
|
typeMetadata?: TypeMetadata;
|
|
819
|
-
/**
|
|
820
|
-
* Minimum permitted number of items in an array field.
|
|
821
|
-
* @internal
|
|
822
|
-
*/
|
|
688
|
+
/** Minimum permitted number of items in an array field. */
|
|
823
689
|
minSize?: number | null;
|
|
824
|
-
/**
|
|
825
|
-
* Maximum permitted number of items in an array field.
|
|
826
|
-
* @internal
|
|
827
|
-
*/
|
|
690
|
+
/** Maximum permitted number of items in an array field. */
|
|
828
691
|
maxSize?: number | null;
|
|
829
|
-
/** @internal */
|
|
830
692
|
defaultValue?: any[];
|
|
831
693
|
}
|
|
832
694
|
interface PageLink {
|
|
@@ -837,10 +699,7 @@ interface PageLink {
|
|
|
837
699
|
* @maxLength 1000
|
|
838
700
|
*/
|
|
839
701
|
linkedRouterPage?: string | null;
|
|
840
|
-
/**
|
|
841
|
-
* Defines the type of the page link.
|
|
842
|
-
* @internal
|
|
843
|
-
*/
|
|
702
|
+
/** Defines the type of the page link. */
|
|
844
703
|
pageLinkType?: PageLinkTypeWithLiterals;
|
|
845
704
|
}
|
|
846
705
|
interface Slug {
|
|
@@ -850,17 +709,10 @@ interface Slug {
|
|
|
850
709
|
* @maxLength 1000
|
|
851
710
|
*/
|
|
852
711
|
pattern?: string;
|
|
853
|
-
/**
|
|
854
|
-
* Minimum permitted length for a string field.
|
|
855
|
-
* @internal
|
|
856
|
-
*/
|
|
712
|
+
/** Minimum permitted length for a string field. */
|
|
857
713
|
minLength?: number | null;
|
|
858
|
-
/**
|
|
859
|
-
* Maximum permitted length for a string field.
|
|
860
|
-
* @internal
|
|
861
|
-
*/
|
|
714
|
+
/** Maximum permitted length for a string field. */
|
|
862
715
|
maxLength?: number | null;
|
|
863
|
-
/** @internal */
|
|
864
716
|
defaultValue?: string | null;
|
|
865
717
|
}
|
|
866
718
|
interface Text extends TextValidationOneOf {
|
|
@@ -1112,27 +964,15 @@ declare enum FieldPluginType {
|
|
|
1112
964
|
UNKNOWN = "UNKNOWN",
|
|
1113
965
|
/** CMS-related field attributes. */
|
|
1114
966
|
CMS = "CMS",
|
|
1115
|
-
/**
|
|
1116
|
-
* Marks a multi-reference field as a category field linking to a Category Group.
|
|
1117
|
-
* @documentationMaturity preview
|
|
1118
|
-
* @internal
|
|
1119
|
-
*/
|
|
967
|
+
/** Marks a multi-reference field as a category field linking to a Category Group. */
|
|
1120
968
|
CATEGORY_FIELD = "CATEGORY_FIELD",
|
|
1121
|
-
/**
|
|
1122
|
-
* Marks a back-reference field on Category Groups indicating a consumer relationship.
|
|
1123
|
-
* @documentationMaturity preview
|
|
1124
|
-
* @internal
|
|
1125
|
-
*/
|
|
969
|
+
/** Marks a back-reference field on Category Groups indicating a consumer relationship. */
|
|
1126
970
|
CATEGORY_CONSUMER = "CATEGORY_CONSUMER",
|
|
1127
|
-
/**
|
|
1128
|
-
* Marks the auto-managed primary category single-reference field on a consumer collection.
|
|
1129
|
-
* @documentationMaturity preview
|
|
1130
|
-
* @internal
|
|
1131
|
-
*/
|
|
971
|
+
/** Marks the auto-managed primary category single-reference field on a consumer collection. */
|
|
1132
972
|
PRIMARY_CATEGORY_FIELD = "PRIMARY_CATEGORY_FIELD"
|
|
1133
973
|
}
|
|
1134
974
|
/** @enumType */
|
|
1135
|
-
type FieldPluginTypeWithLiterals = FieldPluginType | 'UNKNOWN' | 'CMS';
|
|
975
|
+
type FieldPluginTypeWithLiterals = FieldPluginType | 'UNKNOWN' | 'CMS' | 'CATEGORY_FIELD' | 'CATEGORY_CONSUMER' | 'PRIMARY_CATEGORY_FIELD';
|
|
1136
976
|
/** Options for the CMS plugin. */
|
|
1137
977
|
interface CmsOptions {
|
|
1138
978
|
/**
|
|
@@ -1226,15 +1066,9 @@ interface Plugin extends PluginOptionsOneOf {
|
|
|
1226
1066
|
editablePageLinkOptions?: PageLinkPluginOptions;
|
|
1227
1067
|
/** Options for the CMS plugin. */
|
|
1228
1068
|
cmsOptions?: PluginCmsOptions;
|
|
1229
|
-
/**
|
|
1230
|
-
* Options for the Catalog plugin.
|
|
1231
|
-
* @internal
|
|
1232
|
-
*/
|
|
1069
|
+
/** Options for the Catalog plugin. */
|
|
1233
1070
|
catalogOptions?: CatalogOptions;
|
|
1234
|
-
/**
|
|
1235
|
-
* Options for the Draft Items plugin.
|
|
1236
|
-
* @internal
|
|
1237
|
-
*/
|
|
1071
|
+
/** Options for the Draft Items plugin. */
|
|
1238
1072
|
draftItemsOptions?: DraftItemsPluginOptions;
|
|
1239
1073
|
/** Plugin type. */
|
|
1240
1074
|
type?: PluginTypeWithLiterals;
|
|
@@ -1256,15 +1090,9 @@ interface PluginOptionsOneOf {
|
|
|
1256
1090
|
editablePageLinkOptions?: PageLinkPluginOptions;
|
|
1257
1091
|
/** Options for the CMS plugin. */
|
|
1258
1092
|
cmsOptions?: PluginCmsOptions;
|
|
1259
|
-
/**
|
|
1260
|
-
* Options for the Catalog plugin.
|
|
1261
|
-
* @internal
|
|
1262
|
-
*/
|
|
1093
|
+
/** Options for the Catalog plugin. */
|
|
1263
1094
|
catalogOptions?: CatalogOptions;
|
|
1264
|
-
/**
|
|
1265
|
-
* Options for the Draft Items plugin.
|
|
1266
|
-
* @internal
|
|
1267
|
-
*/
|
|
1095
|
+
/** Options for the Draft Items plugin. */
|
|
1268
1096
|
draftItemsOptions?: DraftItemsPluginOptions;
|
|
1269
1097
|
}
|
|
1270
1098
|
declare enum Status {
|
|
@@ -1320,20 +1148,17 @@ interface DraftPermissions {
|
|
|
1320
1148
|
* Access level required to view/edit/remove items from the drafts collection.
|
|
1321
1149
|
* Can be set to one of CMS_EDITOR, PRIVILEGED
|
|
1322
1150
|
* Default: `CMS_EDITOR`
|
|
1323
|
-
* @internal
|
|
1324
1151
|
*/
|
|
1325
1152
|
manageDrafts?: AccessLevelWithLiterals;
|
|
1326
1153
|
/**
|
|
1327
1154
|
* Access level required to publish draft items and unpublish published items.
|
|
1328
1155
|
* Can be set to one of CMS_EDITOR, PRIVILEGED
|
|
1329
1156
|
* Default: `CMS_EDITOR`
|
|
1330
|
-
* @internal
|
|
1331
1157
|
*/
|
|
1332
1158
|
managePublishStatus?: AccessLevelWithLiterals;
|
|
1333
1159
|
/**
|
|
1334
1160
|
* Access level required to view draft items. Managing drafts also grants viewing.
|
|
1335
1161
|
* If omitted, inherits manage_drafts for compatibility.
|
|
1336
|
-
* @internal
|
|
1337
1162
|
*/
|
|
1338
1163
|
viewDrafts?: AccessLevelWithLiterals;
|
|
1339
1164
|
}
|
|
@@ -1362,27 +1187,15 @@ declare enum PluginType {
|
|
|
1362
1187
|
EDITABLE_PAGE_LINK = "EDITABLE_PAGE_LINK",
|
|
1363
1188
|
/** CMS-specific collection properties. */
|
|
1364
1189
|
CMS = "CMS",
|
|
1365
|
-
/**
|
|
1366
|
-
* Indicates that the collection is used as a [Wix Catalog](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalogs/catalog-service-plugin/introduction) app. This plugin is used to manage product data and is required for collections that are part of a catalog.
|
|
1367
|
-
* @documentationMaturity preview
|
|
1368
|
-
* @internal
|
|
1369
|
-
*/
|
|
1190
|
+
/** Indicates that the collection is used as a [Wix Catalog](https://dev.wix.com/docs/rest/business-solutions/e-commerce/catalogs/catalog-service-plugin/introduction) app. This plugin is used to manage product data and is required for collections that are part of a catalog. */
|
|
1370
1191
|
CATALOG = "CATALOG",
|
|
1371
|
-
/**
|
|
1372
|
-
* Marks the collection as a Category Group for categorization features.
|
|
1373
|
-
* @documentationMaturity preview
|
|
1374
|
-
* @internal
|
|
1375
|
-
*/
|
|
1192
|
+
/** Marks the collection as a Category Group for categorization features. */
|
|
1376
1193
|
CATEGORIES = "CATEGORIES",
|
|
1377
|
-
/**
|
|
1378
|
-
* Enables the draft items collection: safe draft editing with explicit publish step.
|
|
1379
|
-
* @documentationMaturity preview
|
|
1380
|
-
* @internal
|
|
1381
|
-
*/
|
|
1194
|
+
/** Enables the draft items collection: safe draft editing with explicit publish step. */
|
|
1382
1195
|
DRAFT_ITEMS = "DRAFT_ITEMS"
|
|
1383
1196
|
}
|
|
1384
1197
|
/** @enumType */
|
|
1385
|
-
type PluginTypeWithLiterals = PluginType | 'PUBLISH' | 'SINGLE_ITEM' | 'URLIZED' | 'GRIDAPPLESS' | 'MULTILINGUAL' | 'SHARED' | 'EDITABLE_PAGE_LINK' | 'CMS';
|
|
1198
|
+
type PluginTypeWithLiterals = PluginType | 'PUBLISH' | 'SINGLE_ITEM' | 'URLIZED' | 'GRIDAPPLESS' | 'MULTILINGUAL' | 'SHARED' | 'EDITABLE_PAGE_LINK' | 'CMS' | 'CATALOG' | 'CATEGORIES' | 'DRAFT_ITEMS';
|
|
1386
1199
|
interface PublishPluginOptions {
|
|
1387
1200
|
/**
|
|
1388
1201
|
* Publication status assigned to items that don't specify one.
|
|
@@ -1607,14 +1420,10 @@ interface DraftItemsPluginOptions extends DraftItemsPluginOptionsPairedCollectio
|
|
|
1607
1420
|
* @readonly
|
|
1608
1421
|
*/
|
|
1609
1422
|
publishedCollectionId?: string;
|
|
1610
|
-
/**
|
|
1611
|
-
* Access levels required to view and manage drafts and change publication status.
|
|
1612
|
-
* @internal
|
|
1613
|
-
*/
|
|
1423
|
+
/** Access levels required to view and manage drafts and change publication status. */
|
|
1614
1424
|
draftPermissions?: DraftPermissions;
|
|
1615
1425
|
/**
|
|
1616
1426
|
* Actual draft management operations permitted for the caller. Included only if requested by `includeAllowedDataPermissions`.
|
|
1617
|
-
* @internal
|
|
1618
1427
|
* @readonly
|
|
1619
1428
|
*/
|
|
1620
1429
|
allowedPermissions?: AllowedDraftPermissions;
|
|
@@ -1622,7 +1431,6 @@ interface DraftItemsPluginOptions extends DraftItemsPluginOptionsPairedCollectio
|
|
|
1622
1431
|
* Whether writes to the published collection are allowed while the Draft Items plugin is enabled.
|
|
1623
1432
|
* Defaults to `false` for newly created collections and newly added plugins.
|
|
1624
1433
|
* Existing schemas that predate this field return `true` for backwards compatibility.
|
|
1625
|
-
* @internal
|
|
1626
1434
|
*/
|
|
1627
1435
|
allowWritesToPublishedCollection?: boolean;
|
|
1628
1436
|
}
|
|
@@ -1811,10 +1619,7 @@ interface GetDataCollectionRequest {
|
|
|
1811
1619
|
* @internal
|
|
1812
1620
|
*/
|
|
1813
1621
|
includeDeletedFields?: boolean;
|
|
1814
|
-
/**
|
|
1815
|
-
* If set allowed for caller data permissions would be included in the response
|
|
1816
|
-
* @internal
|
|
1817
|
-
*/
|
|
1622
|
+
/** If set allowed for caller data permissions would be included in the response */
|
|
1818
1623
|
includeAllowedDataPermissions?: boolean;
|
|
1819
1624
|
/**
|
|
1820
1625
|
* Segment: PUBLIC or DEV.
|
|
@@ -1871,10 +1676,7 @@ interface ListDataCollectionsRequest {
|
|
|
1871
1676
|
* Default: `false`
|
|
1872
1677
|
*/
|
|
1873
1678
|
consistentRead?: boolean;
|
|
1874
|
-
/**
|
|
1875
|
-
* If set allowed for caller data permissions would be included in the response
|
|
1876
|
-
* @internal
|
|
1877
|
-
*/
|
|
1679
|
+
/** If set allowed for caller data permissions would be included in the response */
|
|
1878
1680
|
includeAllowedDataPermissions?: boolean;
|
|
1879
1681
|
/**
|
|
1880
1682
|
* Segment: PUBLIC or DEV.
|
|
@@ -1972,10 +1774,7 @@ interface BulkGetDataCollectionsRequest {
|
|
|
1972
1774
|
* Default: `false`
|
|
1973
1775
|
*/
|
|
1974
1776
|
consistentRead?: boolean;
|
|
1975
|
-
/**
|
|
1976
|
-
* If set allowed for caller data permissions would be included in the response
|
|
1977
|
-
* @internal
|
|
1978
|
-
*/
|
|
1777
|
+
/** If set allowed for caller data permissions would be included in the response */
|
|
1979
1778
|
includeAllowedDataPermissions?: boolean;
|
|
1980
1779
|
/**
|
|
1981
1780
|
* Segment: PUBLIC or DEV.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_data_collections",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.113",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.data.v2.data_collection"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "46a0fd65f8934f7e7d30b0b2ddc063906d67cd54ada9f1a3a48032fc"
|
|
54
54
|
}
|