@wix/auto_sdk_editor-branches_branches 1.0.7 → 1.0.9
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/src/editor-branches-v1-branch-branches.context.d.ts +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.public.d.ts +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.public.js.map +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.types.d.ts +37 -17
- package/build/cjs/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.universal.d.ts +45 -33
- package/build/cjs/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.context.d.ts +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.public.d.ts +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.public.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.types.d.ts +37 -17
- package/build/es/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.universal.d.ts +45 -33
- package/build/es/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.context.d.ts +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.public.d.ts +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.public.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.types.d.ts +37 -17
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.universal.d.ts +45 -33
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.context.d.ts +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.public.d.ts +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.public.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.types.d.ts +37 -17
- package/build/internal/es/src/editor-branches-v1-branch-branches.types.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.d.ts +45 -33
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -346,6 +346,14 @@ export interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
|
346
346
|
urlChanged?: SiteUrlChanged;
|
|
347
347
|
/** Site is marked as PurgedExternally */
|
|
348
348
|
sitePurgedExternally?: SitePurgedExternally;
|
|
349
|
+
/** Emitted when Odeditor is attached. */
|
|
350
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
351
|
+
/** Emitted when Odeditor is detached. */
|
|
352
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
353
|
+
/** Emitted when Picasso is attached. */
|
|
354
|
+
picassoAssigned?: PicassoAssigned;
|
|
355
|
+
/** Emitted when Picasso is detached. */
|
|
356
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
349
357
|
/**
|
|
350
358
|
* A meta site id.
|
|
351
359
|
* @format GUID
|
|
@@ -404,6 +412,14 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
404
412
|
urlChanged?: SiteUrlChanged;
|
|
405
413
|
/** Site is marked as PurgedExternally */
|
|
406
414
|
sitePurgedExternally?: SitePurgedExternally;
|
|
415
|
+
/** Emitted when Odeditor is attached. */
|
|
416
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
417
|
+
/** Emitted when Odeditor is detached. */
|
|
418
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
419
|
+
/** Emitted when Picasso is attached. */
|
|
420
|
+
picassoAssigned?: PicassoAssigned;
|
|
421
|
+
/** Emitted when Picasso is detached. */
|
|
422
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
407
423
|
}
|
|
408
424
|
export interface Asset {
|
|
409
425
|
/**
|
|
@@ -726,30 +742,38 @@ export interface SitePurgedExternally {
|
|
|
726
742
|
*/
|
|
727
743
|
appDefId?: string[];
|
|
728
744
|
}
|
|
745
|
+
/** Assigned Odeditor */
|
|
746
|
+
export interface OdeditorAssigned {
|
|
747
|
+
}
|
|
748
|
+
/** Unassigned Odeditor */
|
|
749
|
+
export interface OdeditorUnassigned {
|
|
750
|
+
}
|
|
751
|
+
/** Assigned Picasso editor */
|
|
752
|
+
export interface PicassoAssigned {
|
|
753
|
+
}
|
|
754
|
+
/** Unassigned Picasso */
|
|
755
|
+
export interface PicassoUnassigned {
|
|
756
|
+
}
|
|
729
757
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
730
758
|
createdEvent?: EntityCreatedEvent;
|
|
731
759
|
updatedEvent?: EntityUpdatedEvent;
|
|
732
760
|
deletedEvent?: EntityDeletedEvent;
|
|
733
761
|
actionEvent?: ActionEvent;
|
|
734
|
-
/**
|
|
735
|
-
* Unique event ID.
|
|
736
|
-
* Allows clients to ignore duplicate webhooks.
|
|
737
|
-
*/
|
|
762
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
738
763
|
id?: string;
|
|
739
764
|
/**
|
|
740
|
-
*
|
|
741
|
-
*
|
|
765
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
766
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
742
767
|
*/
|
|
743
768
|
entityFqdn?: string;
|
|
744
769
|
/**
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
770
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
771
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
748
772
|
*/
|
|
749
773
|
slug?: string;
|
|
750
774
|
/** ID of the entity associated with the event. */
|
|
751
775
|
entityId?: string;
|
|
752
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
776
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
753
777
|
eventTime?: Date | null;
|
|
754
778
|
/**
|
|
755
779
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -759,12 +783,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
759
783
|
/** If present, indicates the action that triggered the event. */
|
|
760
784
|
originatedFrom?: string | null;
|
|
761
785
|
/**
|
|
762
|
-
* A sequence number
|
|
763
|
-
*
|
|
764
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
765
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
766
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
767
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
786
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
787
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
768
788
|
*/
|
|
769
789
|
entityEventSequence?: string | null;
|
|
770
790
|
}
|
|
@@ -792,7 +812,7 @@ export interface EntityUpdatedEvent {
|
|
|
792
812
|
currentEntityAsJson?: string;
|
|
793
813
|
}
|
|
794
814
|
export interface EntityDeletedEvent {
|
|
795
|
-
/** Entity that was deleted */
|
|
815
|
+
/** Entity that was deleted. */
|
|
796
816
|
deletedEntityAsJson?: string | null;
|
|
797
817
|
}
|
|
798
818
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAkEA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAOD,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B;AAgID,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAkEA,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAO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anged;
|
|
348
348
|
/** Site is marked as PurgedExternally */
|
|
349
349
|
sitePurgedExternally?: SitePurgedExternally;
|
|
350
|
+
/** Emitted when Odeditor is attached. */
|
|
351
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
352
|
+
/** Emitted when Odeditor is detached. */
|
|
353
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
354
|
+
/** Emitted when Picasso is attached. */
|
|
355
|
+
picassoAssigned?: PicassoAssigned;
|
|
356
|
+
/** Emitted when Picasso is detached. */
|
|
357
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
350
358
|
/**
|
|
351
359
|
* A meta site id.
|
|
352
360
|
* @format GUID
|
|
@@ -405,6 +413,14 @@ export interface MetaSiteSpecialEventPayloadOneOf {
|
|
|
405
413
|
urlChanged?: SiteUrlChanged;
|
|
406
414
|
/** Site is marked as PurgedExternally */
|
|
407
415
|
sitePurgedExternally?: SitePurgedExternally;
|
|
416
|
+
/** Emitted when Odeditor is attached. */
|
|
417
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
418
|
+
/** Emitted when Odeditor is detached. */
|
|
419
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
420
|
+
/** Emitted when Picasso is attached. */
|
|
421
|
+
picassoAssigned?: PicassoAssigned;
|
|
422
|
+
/** Emitted when Picasso is detached. */
|
|
423
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
408
424
|
}
|
|
409
425
|
export interface Asset {
|
|
410
426
|
/**
|
|
@@ -727,30 +743,38 @@ export interface SitePurgedExternally {
|
|
|
727
743
|
*/
|
|
728
744
|
appDefId?: string[];
|
|
729
745
|
}
|
|
746
|
+
/** Assigned Odeditor */
|
|
747
|
+
export interface OdeditorAssigned {
|
|
748
|
+
}
|
|
749
|
+
/** Unassigned Odeditor */
|
|
750
|
+
export interface OdeditorUnassigned {
|
|
751
|
+
}
|
|
752
|
+
/** Assigned Picasso editor */
|
|
753
|
+
export interface PicassoAssigned {
|
|
754
|
+
}
|
|
755
|
+
/** Unassigned Picasso */
|
|
756
|
+
export interface PicassoUnassigned {
|
|
757
|
+
}
|
|
730
758
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
731
759
|
createdEvent?: EntityCreatedEvent;
|
|
732
760
|
updatedEvent?: EntityUpdatedEvent;
|
|
733
761
|
deletedEvent?: EntityDeletedEvent;
|
|
734
762
|
actionEvent?: ActionEvent;
|
|
735
|
-
/**
|
|
736
|
-
* Unique event ID.
|
|
737
|
-
* Allows clients to ignore duplicate webhooks.
|
|
738
|
-
*/
|
|
763
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
739
764
|
_id?: string;
|
|
740
765
|
/**
|
|
741
|
-
*
|
|
742
|
-
*
|
|
766
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
767
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
743
768
|
*/
|
|
744
769
|
entityFqdn?: string;
|
|
745
770
|
/**
|
|
746
|
-
*
|
|
747
|
-
*
|
|
748
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
771
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
772
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
749
773
|
*/
|
|
750
774
|
slug?: string;
|
|
751
775
|
/** ID of the entity associated with the event. */
|
|
752
776
|
entityId?: string;
|
|
753
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
777
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
754
778
|
eventTime?: Date | null;
|
|
755
779
|
/**
|
|
756
780
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -760,12 +784,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
760
784
|
/** If present, indicates the action that triggered the event. */
|
|
761
785
|
originatedFrom?: string | null;
|
|
762
786
|
/**
|
|
763
|
-
* A sequence number
|
|
764
|
-
*
|
|
765
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
766
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
767
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
768
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
787
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
788
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
769
789
|
*/
|
|
770
790
|
entityEventSequence?: string | null;
|
|
771
791
|
}
|
|
@@ -791,7 +811,7 @@ export interface EntityUpdatedEvent {
|
|
|
791
811
|
currentEntity?: string;
|
|
792
812
|
}
|
|
793
813
|
export interface EntityDeletedEvent {
|
|
794
|
-
/** Entity that was deleted */
|
|
814
|
+
/** Entity that was deleted. */
|
|
795
815
|
deletedEntity?: string | null;
|
|
796
816
|
}
|
|
797
817
|
export interface ActionEvent {
|
|
@@ -882,25 +902,21 @@ export interface BaseEventMetadata {
|
|
|
882
902
|
identity?: IdentificationData;
|
|
883
903
|
}
|
|
884
904
|
export interface EventMetadata extends BaseEventMetadata {
|
|
885
|
-
/**
|
|
886
|
-
* Unique event ID.
|
|
887
|
-
* Allows clients to ignore duplicate webhooks.
|
|
888
|
-
*/
|
|
905
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
889
906
|
_id?: string;
|
|
890
907
|
/**
|
|
891
|
-
*
|
|
892
|
-
*
|
|
908
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
909
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
893
910
|
*/
|
|
894
911
|
entityFqdn?: string;
|
|
895
912
|
/**
|
|
896
|
-
*
|
|
897
|
-
*
|
|
898
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
913
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
914
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
899
915
|
*/
|
|
900
916
|
slug?: string;
|
|
901
917
|
/** ID of the entity associated with the event. */
|
|
902
918
|
entityId?: string;
|
|
903
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
919
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
904
920
|
eventTime?: Date | null;
|
|
905
921
|
/**
|
|
906
922
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -910,12 +926,8 @@ export interface EventMetadata extends BaseEventMetadata {
|
|
|
910
926
|
/** If present, indicates the action that triggered the event. */
|
|
911
927
|
originatedFrom?: string | null;
|
|
912
928
|
/**
|
|
913
|
-
* A sequence number
|
|
914
|
-
*
|
|
915
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
916
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
917
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
918
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
929
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
930
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
919
931
|
*/
|
|
920
932
|
entityEventSequence?: string | null;
|
|
921
933
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,mCAAmC,MAAM,8CAA8C,CAAC;AAqEpG,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,2BAA2B;IAC3B,qCAA6B,CAAA;IAC7B,yGAAyG;IACzG,qBAAa,CAAA;IACb,iIAAiI;IACjI,+BAAuB,CAAA;IACvB,mIAAmI;IACnI,2CAAmC,CAAA;AACrC,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AAED,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,2BAA2B;IAC3B,yDAA2C,CAAA;IAC3C,yCAAyC;IACzC,6CAA+B,CAAA;IAC/B,6DAA6D;IAC7D,iDAAmC,CAAA;AACrC,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB;AAOD,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAAa;IACb,sCAAiB,CAAA;IACjB,cAAc;IACd,wCAAmB,CAAA;AACrB,CAAC,EAPW,iBAAiB,KAAjB,iBAAiB,QAO5B;AAgID,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.universal.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO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,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;aACjB,CAAC,CAAC;QACL,CAAC;QACD,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAuC,EAAE,EAAE;YACrE,MAAM,eAAe,GAAG,uCAAuC,CAAC,IAAI,CAAC,CAAC;YAEtE,OAAO;gBACL,KAAK,EAAE,eAAe,EAAE,QAAQ;gBAChC,cAAc,EAAE,eAAe,EAAE,cAAc;aAChD,CAAC;QACJ,CAAC;QACD,gBAAgB,EAAE,CAAC,GAAY,EAAE,EAAE;YACjC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,GAAG,EAAE;gBAC9C,sBAAsB,EAAE,EAAE;gBAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC3C,uBAAuB,EAAE,KAAK;aAC/B,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,EAAE;KACxB,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_editor-branches_branches",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"service-plugins"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.49",
|
|
32
|
+
"@wix/sdk-types": "^1.13.23"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.3.2"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.editor.branches.v1.branch"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "6251be4769097f61236d7e102ef402a5b0bd62e1f7d8822f0a205d10"
|
|
52
52
|
}
|