@wix/auto_sdk_editor-branches_branches 1.0.10 → 1.0.11
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 +4 -2
- package/build/cjs/src/editor-branches-v1-branch-branches.context.js +3 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.context.js.map +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.http.d.ts +4 -0
- package/build/cjs/src/editor-branches-v1-branch-branches.http.js +59 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.http.js.map +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.meta.d.ts +4 -0
- package/build/cjs/src/editor-branches-v1-branch-branches.meta.js +39 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.meta.js.map +1 -1
- package/build/cjs/src/editor-branches-v1-branch-branches.public.d.ts +17 -2
- package/build/cjs/src/editor-branches-v1-branch-branches.public.js +13 -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 +51 -11
- 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 +84 -17
- package/build/cjs/src/editor-branches-v1-branch-branches.universal.js +61 -1
- 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 +4 -2
- package/build/es/src/editor-branches-v1-branch-branches.context.js +3 -1
- package/build/es/src/editor-branches-v1-branch-branches.context.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.http.d.ts +4 -0
- package/build/es/src/editor-branches-v1-branch-branches.http.js +56 -0
- package/build/es/src/editor-branches-v1-branch-branches.http.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.meta.d.ts +4 -0
- package/build/es/src/editor-branches-v1-branch-branches.meta.js +36 -0
- package/build/es/src/editor-branches-v1-branch-branches.meta.js.map +1 -1
- package/build/es/src/editor-branches-v1-branch-branches.public.d.ts +17 -2
- package/build/es/src/editor-branches-v1-branch-branches.public.js +11 -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 +51 -11
- 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 +84 -17
- package/build/es/src/editor-branches-v1-branch-branches.universal.js +58 -0
- 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 +4 -2
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.context.js +3 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.context.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.http.d.ts +4 -0
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.http.js +59 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.http.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.meta.d.ts +4 -0
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.meta.js +39 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.meta.js.map +1 -1
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.public.d.ts +17 -2
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.public.js +13 -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 +51 -11
- 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 +84 -17
- package/build/internal/cjs/src/editor-branches-v1-branch-branches.universal.js +61 -1
- 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 +4 -2
- package/build/internal/es/src/editor-branches-v1-branch-branches.context.js +3 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.context.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.http.d.ts +4 -0
- package/build/internal/es/src/editor-branches-v1-branch-branches.http.js +56 -0
- package/build/internal/es/src/editor-branches-v1-branch-branches.http.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.meta.d.ts +4 -0
- package/build/internal/es/src/editor-branches-v1-branch-branches.meta.js +36 -0
- package/build/internal/es/src/editor-branches-v1-branch-branches.meta.js.map +1 -1
- package/build/internal/es/src/editor-branches-v1-branch-branches.public.d.ts +17 -2
- package/build/internal/es/src/editor-branches-v1-branch-branches.public.js +11 -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 +51 -11
- 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 +84 -17
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.js +58 -0
- package/build/internal/es/src/editor-branches-v1-branch-branches.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@ import { renameKeysFromRESTResponseToSDKResponse } from '@wix/sdk-runtime/rename
|
|
|
2
2
|
import { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';
|
|
3
3
|
import { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';
|
|
4
4
|
import { EventDefinition } from '@wix/sdk-types';
|
|
5
|
-
import { createBranch as universalCreateBranch, deleteBranch as universalDeleteBranch, getBranch as universalGetBranch, queryBranches as universalQueryBranches, updateBranch as universalUpdateBranch, } from './editor-branches-v1-branch-branches.universal.js';
|
|
5
|
+
import { createBranch as universalCreateBranch, deleteBranch as universalDeleteBranch, getBranch as universalGetBranch, getDefaultBranch as universalGetDefaultBranch, queryBranches as universalQueryBranches, setDefaultBranch as universalSetDefaultBranch, updateBranch as universalUpdateBranch, } from './editor-branches-v1-branch-branches.universal.js';
|
|
6
6
|
export const __metadata = { PACKAGE_NAME: '@wix/editor-branches' };
|
|
7
7
|
export function createBranch(httpClient) {
|
|
8
8
|
return (branch) => universalCreateBranch(branch,
|
|
@@ -29,6 +29,16 @@ export function queryBranches(httpClient) {
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
{ httpClient });
|
|
31
31
|
}
|
|
32
|
+
export function setDefaultBranch(httpClient) {
|
|
33
|
+
return (branchId) => universalSetDefaultBranch(branchId,
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
{ httpClient });
|
|
36
|
+
}
|
|
37
|
+
export function getDefaultBranch(httpClient) {
|
|
38
|
+
return () => universalGetDefaultBranch(
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
{ httpClient });
|
|
41
|
+
}
|
|
32
42
|
export const onBranchCreated = EventDefinition('wix.editor.branches.v1.branch_created', true, (event) => renameKeysFromRESTResponseToSDKResponse(transformPaths(event, [
|
|
33
43
|
{
|
|
34
44
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-branches-v1-branch-branches.public.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,eAAe,EAAgC,MAAM,gBAAgB,CAAC;AAC/E,OAAO,
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.public.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,EAAE,oCAA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oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAAyB,CAAC;AAE3B,OAAO,EAqBL,YAAY,EAIZ,iBAAiB,EAiBjB,SAAS,EAeT,kBAAkB,EAYlB,SAAS,EAIT,UAAU,EACV,KAAK,EAGL,IAAI,EAMJ,mBAAmB,GACpB,MAAM,mDAAmD,CAAC"}
|
|
@@ -21,14 +21,14 @@ export interface Branch extends BranchSourceOneOf {
|
|
|
21
21
|
*/
|
|
22
22
|
revision?: string | null;
|
|
23
23
|
/** Branch type. */
|
|
24
|
-
type?:
|
|
24
|
+
type?: TypeWithLiterals;
|
|
25
25
|
/**
|
|
26
26
|
* Branch name.
|
|
27
27
|
* @maxLength 50
|
|
28
28
|
*/
|
|
29
29
|
name?: string | null;
|
|
30
30
|
/** Source type. */
|
|
31
|
-
sourceType?:
|
|
31
|
+
sourceType?: SourceTypeWithLiterals;
|
|
32
32
|
/**
|
|
33
33
|
* Date and time the branch was last published, if relevant.
|
|
34
34
|
* @readonly
|
|
@@ -39,6 +39,11 @@ export interface Branch extends BranchSourceOneOf {
|
|
|
39
39
|
* @readonly
|
|
40
40
|
*/
|
|
41
41
|
editorType?: EditorType;
|
|
42
|
+
/**
|
|
43
|
+
* Default branch
|
|
44
|
+
* @readonly
|
|
45
|
+
*/
|
|
46
|
+
default?: boolean | null;
|
|
42
47
|
/**
|
|
43
48
|
* Date and time the branch was created.
|
|
44
49
|
* @readonly
|
|
@@ -72,6 +77,8 @@ export declare enum Type {
|
|
|
72
77
|
/** The original branch of the site, created when the site is created. Can be accessed for editing and publishing in the editor. */
|
|
73
78
|
ORIGINAL_BRANCH = "ORIGINAL_BRANCH"
|
|
74
79
|
}
|
|
80
|
+
/** @enumType */
|
|
81
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'USER' | 'TECHNICAL' | 'ORIGINAL_BRANCH';
|
|
75
82
|
export declare enum SourceType {
|
|
76
83
|
/** Unknown source type. */
|
|
77
84
|
UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
|
|
@@ -80,9 +87,11 @@ export declare enum SourceType {
|
|
|
80
87
|
/** This branch's source was a template. For internal use. */
|
|
81
88
|
SOURCE_TEMPLATE = "SOURCE_TEMPLATE"
|
|
82
89
|
}
|
|
90
|
+
/** @enumType */
|
|
91
|
+
export type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'SOURCE_BRANCH' | 'SOURCE_TEMPLATE';
|
|
83
92
|
export interface EditorType {
|
|
84
93
|
/** Editor type */
|
|
85
|
-
editorTypeOptions?:
|
|
94
|
+
editorTypeOptions?: EditorTypeOptionsWithLiterals;
|
|
86
95
|
}
|
|
87
96
|
export declare enum EditorTypeOptions {
|
|
88
97
|
/** Unknown editor type */
|
|
@@ -92,6 +101,8 @@ export declare enum EditorTypeOptions {
|
|
|
92
101
|
/** CLASSIC */
|
|
93
102
|
CLASSIC = "CLASSIC"
|
|
94
103
|
}
|
|
104
|
+
/** @enumType */
|
|
105
|
+
export type EditorTypeOptionsWithLiterals = EditorTypeOptions | 'UNKNOWN_EDITOR_TYPE' | 'STUDIO' | 'CLASSIC';
|
|
95
106
|
export interface SourceBranch {
|
|
96
107
|
/**
|
|
97
108
|
* Source branch ID.
|
|
@@ -202,12 +213,14 @@ export interface Sorting {
|
|
|
202
213
|
*/
|
|
203
214
|
fieldName?: string;
|
|
204
215
|
/** Sort order. */
|
|
205
|
-
order?:
|
|
216
|
+
order?: SortOrderWithLiterals;
|
|
206
217
|
}
|
|
207
218
|
export declare enum SortOrder {
|
|
208
219
|
ASC = "ASC",
|
|
209
220
|
DESC = "DESC"
|
|
210
221
|
}
|
|
222
|
+
/** @enumType */
|
|
223
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
211
224
|
export interface CursorPaging {
|
|
212
225
|
/**
|
|
213
226
|
* Maximum number of items to return in the results.
|
|
@@ -433,7 +446,7 @@ export interface Asset {
|
|
|
433
446
|
*/
|
|
434
447
|
instanceId?: string;
|
|
435
448
|
/** An application state. */
|
|
436
|
-
state?:
|
|
449
|
+
state?: StateWithLiterals;
|
|
437
450
|
}
|
|
438
451
|
export declare enum State {
|
|
439
452
|
UNKNOWN = "UNKNOWN",
|
|
@@ -442,6 +455,8 @@ export declare enum State {
|
|
|
442
455
|
PENDING = "PENDING",
|
|
443
456
|
DEMO = "DEMO"
|
|
444
457
|
}
|
|
458
|
+
/** @enumType */
|
|
459
|
+
export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
445
460
|
export interface SiteCreated {
|
|
446
461
|
/**
|
|
447
462
|
* A template identifier (empty if not created from a template).
|
|
@@ -454,7 +469,7 @@ export interface SiteCreated {
|
|
|
454
469
|
*/
|
|
455
470
|
ownerId?: string;
|
|
456
471
|
/** A context in which meta site was created. */
|
|
457
|
-
context?:
|
|
472
|
+
context?: SiteCreatedContextWithLiterals;
|
|
458
473
|
/**
|
|
459
474
|
* A meta site id from which this site was created.
|
|
460
475
|
*
|
|
@@ -469,7 +484,7 @@ export interface SiteCreated {
|
|
|
469
484
|
*/
|
|
470
485
|
siteName?: string;
|
|
471
486
|
/** A namespace. */
|
|
472
|
-
namespace?:
|
|
487
|
+
namespace?: NamespaceWithLiterals;
|
|
473
488
|
}
|
|
474
489
|
export declare enum SiteCreatedContext {
|
|
475
490
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
@@ -485,6 +500,8 @@ export declare enum SiteCreatedContext {
|
|
|
485
500
|
/** deprecated A meta site was created for Flash editor. */
|
|
486
501
|
FLASH = "FLASH"
|
|
487
502
|
}
|
|
503
|
+
/** @enumType */
|
|
504
|
+
export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
488
505
|
export declare enum Namespace {
|
|
489
506
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
490
507
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
@@ -567,6 +584,8 @@ export declare enum Namespace {
|
|
|
567
584
|
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
568
585
|
MIMIR = "MIMIR"
|
|
569
586
|
}
|
|
587
|
+
/** @enumType */
|
|
588
|
+
export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
|
|
570
589
|
/** Site transferred to another user. */
|
|
571
590
|
export interface SiteTransferred {
|
|
572
591
|
/**
|
|
@@ -589,7 +608,7 @@ export interface DeleteContext {
|
|
|
589
608
|
/** When the meta site was deleted. */
|
|
590
609
|
dateDeleted?: Date | null;
|
|
591
610
|
/** A status. */
|
|
592
|
-
deleteStatus?:
|
|
611
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
593
612
|
/**
|
|
594
613
|
* A reason (flow).
|
|
595
614
|
* @maxLength 255
|
|
@@ -608,6 +627,8 @@ export declare enum DeleteStatus {
|
|
|
608
627
|
PENDING_PURGE = "PENDING_PURGE",
|
|
609
628
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
610
629
|
}
|
|
630
|
+
/** @enumType */
|
|
631
|
+
export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
611
632
|
/** Restoration of the meta site. */
|
|
612
633
|
export interface SiteUndeleted {
|
|
613
634
|
}
|
|
@@ -709,9 +730,9 @@ export interface SiteHardDeleted {
|
|
|
709
730
|
}
|
|
710
731
|
export interface NamespaceChanged {
|
|
711
732
|
/** A previous namespace. */
|
|
712
|
-
oldNamespace?:
|
|
733
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
713
734
|
/** A new namespace. */
|
|
714
|
-
newNamespace?:
|
|
735
|
+
newNamespace?: NamespaceWithLiterals;
|
|
715
736
|
}
|
|
716
737
|
/** Assigned Studio editor */
|
|
717
738
|
export interface StudioAssigned {
|
|
@@ -754,6 +775,23 @@ export interface PicassoAssigned {
|
|
|
754
775
|
/** Unassigned Picasso */
|
|
755
776
|
export interface PicassoUnassigned {
|
|
756
777
|
}
|
|
778
|
+
export interface SetDefaultBranchRequest {
|
|
779
|
+
/**
|
|
780
|
+
* Branch Id.
|
|
781
|
+
* @format GUID
|
|
782
|
+
*/
|
|
783
|
+
branchId: string;
|
|
784
|
+
}
|
|
785
|
+
export interface SetDefaultBranchResponse {
|
|
786
|
+
/** Updated branch. */
|
|
787
|
+
branch?: Branch;
|
|
788
|
+
}
|
|
789
|
+
export interface GetDefaultBranchRequest {
|
|
790
|
+
}
|
|
791
|
+
export interface GetDefaultBranchResponse {
|
|
792
|
+
/** Default branch. */
|
|
793
|
+
branch?: Branch;
|
|
794
|
+
}
|
|
757
795
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
758
796
|
createdEvent?: EntityCreatedEvent;
|
|
759
797
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -856,7 +894,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
856
894
|
*/
|
|
857
895
|
appId?: string;
|
|
858
896
|
/** @readonly */
|
|
859
|
-
identityType?:
|
|
897
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
860
898
|
}
|
|
861
899
|
/** @oneof */
|
|
862
900
|
export interface IdentificationDataIdOneOf {
|
|
@@ -888,3 +926,5 @@ export declare enum WebhookIdentityType {
|
|
|
888
926
|
WIX_USER = "WIX_USER",
|
|
889
927
|
APP = "APP"
|
|
890
928
|
}
|
|
929
|
+
/** @enumType */
|
|
930
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -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":"
|
|
1
|
+
{"version":3,"file":"editor-branches-v1-branch-branches.types.js","sourceRoot":"","sources":["../../../../src/editor-branches-v1-branch-branches.types.ts"],"names":[],"mappings":"AAuEA,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;AAUD,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;AAcD,MAAM,CAAN,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0BAA0B;IAC1B,gEAA2C,CAAA;IAC3C,aAA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IACzC;;;;OAIG;IACH,sCAAyB,CAAA;IACzB;;;;OAIG;IACH,oDAAuC,CAAA;IACvC,oGAAoG;IACpG,gDAAmC,CAAA;IACnC,sDAAsD;IACtD,gDAAmC,CAAA;IACnC,2CAA2C;IAC3C,kCAAqB,CAAA;IACrB,uDAAuD;IACvD,kCAAqB,CAAA;IACrB;;;OAGG;IACH,sDAAyC,CAAA;IACzC,2EAA2E;IAC3E,0BAAa,CAAA;IACb;;;;OAIG;IACH,4CAA+B,CAAA;IAC/B,0EAA0E;IAC1E,8BAAiB,CAAA;IACjB;;;OAGG;IACH,0CAA6B,CAAA;IAC7B,2BAA2B;IAC3B,4BAAe,CAAA;IACf,gCAAgC;IAChC,0DAA6C,CAAA;IAC7C;;;OAGG;IACH,8DAAiD,CAAA;IACjD,uHAAuH;IACvH,kDAAqC,CAAA;IACrC,wHAAwH;IACxH,oDAAuC,CAAA;IACvC,wDAAwD;IACxD,4BAAe,CAAA;AACjB,CAAC,EAjFW,SAAS,KAAT,SAAS,QAiFpB;AAyED,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,+CAA+B,CAAA;IAC/B,uDAAuC,CAAA;AACzC,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAiUD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -22,14 +22,14 @@ export interface Branch extends BranchSourceOneOf {
|
|
|
22
22
|
*/
|
|
23
23
|
revision?: string | null;
|
|
24
24
|
/** Branch type. */
|
|
25
|
-
type?:
|
|
25
|
+
type?: TypeWithLiterals;
|
|
26
26
|
/**
|
|
27
27
|
* Branch name.
|
|
28
28
|
* @maxLength 50
|
|
29
29
|
*/
|
|
30
30
|
name?: string | null;
|
|
31
31
|
/** Source type. */
|
|
32
|
-
sourceType?:
|
|
32
|
+
sourceType?: SourceTypeWithLiterals;
|
|
33
33
|
/**
|
|
34
34
|
* Date and time the branch was last published, if relevant.
|
|
35
35
|
* @readonly
|
|
@@ -40,6 +40,11 @@ export interface Branch extends BranchSourceOneOf {
|
|
|
40
40
|
* @readonly
|
|
41
41
|
*/
|
|
42
42
|
editorType?: EditorType;
|
|
43
|
+
/**
|
|
44
|
+
* Default branch
|
|
45
|
+
* @readonly
|
|
46
|
+
*/
|
|
47
|
+
default?: boolean | null;
|
|
43
48
|
/**
|
|
44
49
|
* Date and time the branch was created.
|
|
45
50
|
* @readonly
|
|
@@ -73,6 +78,8 @@ export declare enum Type {
|
|
|
73
78
|
/** The original branch of the site, created when the site is created. Can be accessed for editing and publishing in the editor. */
|
|
74
79
|
ORIGINAL_BRANCH = "ORIGINAL_BRANCH"
|
|
75
80
|
}
|
|
81
|
+
/** @enumType */
|
|
82
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_TYPE' | 'USER' | 'TECHNICAL' | 'ORIGINAL_BRANCH';
|
|
76
83
|
export declare enum SourceType {
|
|
77
84
|
/** Unknown source type. */
|
|
78
85
|
UNKNOWN_SOURCE_TYPE = "UNKNOWN_SOURCE_TYPE",
|
|
@@ -81,9 +88,11 @@ export declare enum SourceType {
|
|
|
81
88
|
/** This branch's source was a template. For internal use. */
|
|
82
89
|
SOURCE_TEMPLATE = "SOURCE_TEMPLATE"
|
|
83
90
|
}
|
|
91
|
+
/** @enumType */
|
|
92
|
+
export type SourceTypeWithLiterals = SourceType | 'UNKNOWN_SOURCE_TYPE' | 'SOURCE_BRANCH' | 'SOURCE_TEMPLATE';
|
|
84
93
|
export interface EditorType {
|
|
85
94
|
/** Editor type */
|
|
86
|
-
editorTypeOptions?:
|
|
95
|
+
editorTypeOptions?: EditorTypeOptionsWithLiterals;
|
|
87
96
|
}
|
|
88
97
|
export declare enum EditorTypeOptions {
|
|
89
98
|
/** Unknown editor type */
|
|
@@ -93,6 +102,8 @@ export declare enum EditorTypeOptions {
|
|
|
93
102
|
/** CLASSIC */
|
|
94
103
|
CLASSIC = "CLASSIC"
|
|
95
104
|
}
|
|
105
|
+
/** @enumType */
|
|
106
|
+
export type EditorTypeOptionsWithLiterals = EditorTypeOptions | 'UNKNOWN_EDITOR_TYPE' | 'STUDIO' | 'CLASSIC';
|
|
96
107
|
export interface SourceBranch {
|
|
97
108
|
/**
|
|
98
109
|
* Source branch ID.
|
|
@@ -203,12 +214,14 @@ export interface Sorting {
|
|
|
203
214
|
*/
|
|
204
215
|
fieldName?: string;
|
|
205
216
|
/** Sort order. */
|
|
206
|
-
order?:
|
|
217
|
+
order?: SortOrderWithLiterals;
|
|
207
218
|
}
|
|
208
219
|
export declare enum SortOrder {
|
|
209
220
|
ASC = "ASC",
|
|
210
221
|
DESC = "DESC"
|
|
211
222
|
}
|
|
223
|
+
/** @enumType */
|
|
224
|
+
export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
212
225
|
export interface CursorPaging {
|
|
213
226
|
/**
|
|
214
227
|
* Maximum number of items to return in the results.
|
|
@@ -434,7 +447,7 @@ export interface Asset {
|
|
|
434
447
|
*/
|
|
435
448
|
instanceId?: string;
|
|
436
449
|
/** An application state. */
|
|
437
|
-
state?:
|
|
450
|
+
state?: StateWithLiterals;
|
|
438
451
|
}
|
|
439
452
|
export declare enum State {
|
|
440
453
|
UNKNOWN = "UNKNOWN",
|
|
@@ -443,6 +456,8 @@ export declare enum State {
|
|
|
443
456
|
PENDING = "PENDING",
|
|
444
457
|
DEMO = "DEMO"
|
|
445
458
|
}
|
|
459
|
+
/** @enumType */
|
|
460
|
+
export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
446
461
|
export interface SiteCreated {
|
|
447
462
|
/**
|
|
448
463
|
* A template identifier (empty if not created from a template).
|
|
@@ -455,7 +470,7 @@ export interface SiteCreated {
|
|
|
455
470
|
*/
|
|
456
471
|
ownerId?: string;
|
|
457
472
|
/** A context in which meta site was created. */
|
|
458
|
-
context?:
|
|
473
|
+
context?: SiteCreatedContextWithLiterals;
|
|
459
474
|
/**
|
|
460
475
|
* A meta site id from which this site was created.
|
|
461
476
|
*
|
|
@@ -470,7 +485,7 @@ export interface SiteCreated {
|
|
|
470
485
|
*/
|
|
471
486
|
siteName?: string;
|
|
472
487
|
/** A namespace. */
|
|
473
|
-
namespace?:
|
|
488
|
+
namespace?: NamespaceWithLiterals;
|
|
474
489
|
}
|
|
475
490
|
export declare enum SiteCreatedContext {
|
|
476
491
|
/** A valid option, we don't expose all reasons why site might be created. */
|
|
@@ -486,6 +501,8 @@ export declare enum SiteCreatedContext {
|
|
|
486
501
|
/** deprecated A meta site was created for Flash editor. */
|
|
487
502
|
FLASH = "FLASH"
|
|
488
503
|
}
|
|
504
|
+
/** @enumType */
|
|
505
|
+
export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
489
506
|
export declare enum Namespace {
|
|
490
507
|
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
491
508
|
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
@@ -568,6 +585,8 @@ export declare enum Namespace {
|
|
|
568
585
|
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
569
586
|
MIMIR = "MIMIR"
|
|
570
587
|
}
|
|
588
|
+
/** @enumType */
|
|
589
|
+
export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR';
|
|
571
590
|
/** Site transferred to another user. */
|
|
572
591
|
export interface SiteTransferred {
|
|
573
592
|
/**
|
|
@@ -590,7 +609,7 @@ export interface DeleteContext {
|
|
|
590
609
|
/** When the meta site was deleted. */
|
|
591
610
|
dateDeleted?: Date | null;
|
|
592
611
|
/** A status. */
|
|
593
|
-
deleteStatus?:
|
|
612
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
594
613
|
/**
|
|
595
614
|
* A reason (flow).
|
|
596
615
|
* @maxLength 255
|
|
@@ -609,6 +628,8 @@ export declare enum DeleteStatus {
|
|
|
609
628
|
PENDING_PURGE = "PENDING_PURGE",
|
|
610
629
|
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
611
630
|
}
|
|
631
|
+
/** @enumType */
|
|
632
|
+
export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
612
633
|
/** Restoration of the meta site. */
|
|
613
634
|
export interface SiteUndeleted {
|
|
614
635
|
}
|
|
@@ -710,9 +731,9 @@ export interface SiteHardDeleted {
|
|
|
710
731
|
}
|
|
711
732
|
export interface NamespaceChanged {
|
|
712
733
|
/** A previous namespace. */
|
|
713
|
-
oldNamespace?:
|
|
734
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
714
735
|
/** A new namespace. */
|
|
715
|
-
newNamespace?:
|
|
736
|
+
newNamespace?: NamespaceWithLiterals;
|
|
716
737
|
}
|
|
717
738
|
/** Assigned Studio editor */
|
|
718
739
|
export interface StudioAssigned {
|
|
@@ -755,6 +776,23 @@ export interface PicassoAssigned {
|
|
|
755
776
|
/** Unassigned Picasso */
|
|
756
777
|
export interface PicassoUnassigned {
|
|
757
778
|
}
|
|
779
|
+
export interface SetDefaultBranchRequest {
|
|
780
|
+
/**
|
|
781
|
+
* Branch Id.
|
|
782
|
+
* @format GUID
|
|
783
|
+
*/
|
|
784
|
+
branchId: string;
|
|
785
|
+
}
|
|
786
|
+
export interface SetDefaultBranchResponse {
|
|
787
|
+
/** Updated branch. */
|
|
788
|
+
branch?: Branch;
|
|
789
|
+
}
|
|
790
|
+
export interface GetDefaultBranchRequest {
|
|
791
|
+
}
|
|
792
|
+
export interface GetDefaultBranchResponse {
|
|
793
|
+
/** Default branch. */
|
|
794
|
+
branch?: Branch;
|
|
795
|
+
}
|
|
758
796
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
759
797
|
createdEvent?: EntityCreatedEvent;
|
|
760
798
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -855,7 +893,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
855
893
|
*/
|
|
856
894
|
appId?: string;
|
|
857
895
|
/** @readonly */
|
|
858
|
-
identityType?:
|
|
896
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
859
897
|
}
|
|
860
898
|
/** @oneof */
|
|
861
899
|
export interface IdentificationDataIdOneOf {
|
|
@@ -887,6 +925,8 @@ export declare enum WebhookIdentityType {
|
|
|
887
925
|
WIX_USER = "WIX_USER",
|
|
888
926
|
APP = "APP"
|
|
889
927
|
}
|
|
928
|
+
/** @enumType */
|
|
929
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
890
930
|
export interface BaseEventMetadata {
|
|
891
931
|
/**
|
|
892
932
|
* App instance ID.
|
|
@@ -1019,14 +1059,14 @@ export interface UpdateBranch {
|
|
|
1019
1059
|
*/
|
|
1020
1060
|
revision?: string | null;
|
|
1021
1061
|
/** Branch type. */
|
|
1022
|
-
type?:
|
|
1062
|
+
type?: TypeWithLiterals;
|
|
1023
1063
|
/**
|
|
1024
1064
|
* Branch name.
|
|
1025
1065
|
* @maxLength 50
|
|
1026
1066
|
*/
|
|
1027
1067
|
name?: string | null;
|
|
1028
1068
|
/** Source type. */
|
|
1029
|
-
sourceType?:
|
|
1069
|
+
sourceType?: SourceTypeWithLiterals;
|
|
1030
1070
|
/**
|
|
1031
1071
|
* Date and time the branch was last published, if relevant.
|
|
1032
1072
|
* @readonly
|
|
@@ -1037,6 +1077,11 @@ export interface UpdateBranch {
|
|
|
1037
1077
|
* @readonly
|
|
1038
1078
|
*/
|
|
1039
1079
|
editorType?: EditorType;
|
|
1080
|
+
/**
|
|
1081
|
+
* Default branch
|
|
1082
|
+
* @readonly
|
|
1083
|
+
*/
|
|
1084
|
+
default?: boolean | null;
|
|
1040
1085
|
/**
|
|
1041
1086
|
* Date and time the branch was created.
|
|
1042
1087
|
* @readonly
|
|
@@ -1099,22 +1144,22 @@ export interface BranchesQueryBuilder {
|
|
|
1099
1144
|
* @param value - Value to compare against.
|
|
1100
1145
|
* @documentationMaturity preview
|
|
1101
1146
|
*/
|
|
1102
|
-
ge: (propertyName: 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1147
|
+
ge: (propertyName: 'name' | 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1103
1148
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1104
1149
|
* @param value - Value to compare against.
|
|
1105
1150
|
* @documentationMaturity preview
|
|
1106
1151
|
*/
|
|
1107
|
-
gt: (propertyName: 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1152
|
+
gt: (propertyName: 'name' | 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1108
1153
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1109
1154
|
* @param value - Value to compare against.
|
|
1110
1155
|
* @documentationMaturity preview
|
|
1111
1156
|
*/
|
|
1112
|
-
le: (propertyName: 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1157
|
+
le: (propertyName: 'name' | 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1113
1158
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
1114
1159
|
* @param value - Value to compare against.
|
|
1115
1160
|
* @documentationMaturity preview
|
|
1116
1161
|
*/
|
|
1117
|
-
lt: (propertyName: 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1162
|
+
lt: (propertyName: 'name' | 'lastPublishDate' | '_createdDate' | '_updatedDate', value: any) => BranchesQueryBuilder;
|
|
1118
1163
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
1119
1164
|
* @param string - String to compare against. Case-insensitive.
|
|
1120
1165
|
* @documentationMaturity preview
|
|
@@ -1148,4 +1193,26 @@ export interface BranchesQueryBuilder {
|
|
|
1148
1193
|
/** @documentationMaturity preview */
|
|
1149
1194
|
find: () => Promise<BranchesQueryResult>;
|
|
1150
1195
|
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Set branch as the default branch.
|
|
1198
|
+
* @param branchId - Branch Id.
|
|
1199
|
+
* @public
|
|
1200
|
+
* @documentationMaturity preview
|
|
1201
|
+
* @requiredField branchId
|
|
1202
|
+
* @permissionId EDITOR.SET_DEFAULT_BRANCH
|
|
1203
|
+
* @fqn wix.editor.branches.v1.BranchesService.SetDefaultBranch
|
|
1204
|
+
*/
|
|
1205
|
+
export declare function setDefaultBranch(branchId: string): Promise<NonNullablePaths<SetDefaultBranchResponse, {
|
|
1206
|
+
[P in BranchNonNullablePaths]: `branch.${P}`;
|
|
1207
|
+
}[BranchNonNullablePaths]>>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Get default branch.
|
|
1210
|
+
* @public
|
|
1211
|
+
* @documentationMaturity preview
|
|
1212
|
+
* @permissionId EDITOR.BRANCH_READ
|
|
1213
|
+
* @fqn wix.editor.branches.v1.BranchesService.GetDefaultBranch
|
|
1214
|
+
*/
|
|
1215
|
+
export declare function getDefaultBranch(): Promise<NonNullablePaths<GetDefaultBranchResponse, {
|
|
1216
|
+
[P in BranchNonNullablePaths]: `branch.${P}`;
|
|
1217
|
+
}[BranchNonNullablePaths]>>;
|
|
1151
1218
|
export {};
|
|
@@ -339,4 +339,62 @@ export function queryBranches() {
|
|
|
339
339
|
transformationPaths: {},
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* Set branch as the default branch.
|
|
344
|
+
* @param branchId - Branch Id.
|
|
345
|
+
* @public
|
|
346
|
+
* @documentationMaturity preview
|
|
347
|
+
* @requiredField branchId
|
|
348
|
+
* @permissionId EDITOR.SET_DEFAULT_BRANCH
|
|
349
|
+
* @fqn wix.editor.branches.v1.BranchesService.SetDefaultBranch
|
|
350
|
+
*/
|
|
351
|
+
export async function setDefaultBranch(branchId) {
|
|
352
|
+
// @ts-ignore
|
|
353
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
354
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({ branchId: branchId });
|
|
355
|
+
const reqOpts = ambassadorWixEditorBranchesV1Branch.setDefaultBranch(payload);
|
|
356
|
+
sideEffects?.onSiteCall?.();
|
|
357
|
+
try {
|
|
358
|
+
const result = await httpClient.request(reqOpts);
|
|
359
|
+
sideEffects?.onSuccess?.(result);
|
|
360
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
361
|
+
}
|
|
362
|
+
catch (err) {
|
|
363
|
+
const transformedError = sdkTransformError(err, {
|
|
364
|
+
spreadPathsToArguments: {},
|
|
365
|
+
explicitPathsToArguments: { branchId: '$[0]' },
|
|
366
|
+
singleArgumentUnchanged: false,
|
|
367
|
+
}, ['branchId']);
|
|
368
|
+
sideEffects?.onError?.(err);
|
|
369
|
+
throw transformedError;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Get default branch.
|
|
374
|
+
* @public
|
|
375
|
+
* @documentationMaturity preview
|
|
376
|
+
* @permissionId EDITOR.BRANCH_READ
|
|
377
|
+
* @fqn wix.editor.branches.v1.BranchesService.GetDefaultBranch
|
|
378
|
+
*/
|
|
379
|
+
export async function getDefaultBranch() {
|
|
380
|
+
// @ts-ignore
|
|
381
|
+
const { httpClient, sideEffects } = arguments[0];
|
|
382
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({});
|
|
383
|
+
const reqOpts = ambassadorWixEditorBranchesV1Branch.getDefaultBranch(payload);
|
|
384
|
+
sideEffects?.onSiteCall?.();
|
|
385
|
+
try {
|
|
386
|
+
const result = await httpClient.request(reqOpts);
|
|
387
|
+
sideEffects?.onSuccess?.(result);
|
|
388
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data);
|
|
389
|
+
}
|
|
390
|
+
catch (err) {
|
|
391
|
+
const transformedError = sdkTransformError(err, {
|
|
392
|
+
spreadPathsToArguments: {},
|
|
393
|
+
explicitPathsToArguments: {},
|
|
394
|
+
singleArgumentUnchanged: false,
|
|
395
|
+
}, []);
|
|
396
|
+
sideEffects?.onError?.(err);
|
|
397
|
+
throw transformedError;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
342
400
|
//# sourceMappingURL=editor-branches-v1-branch-branches.universal.js.map
|
|
@@ -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;AACpG,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;
|
|
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;AACpG,aAAa;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAyElF,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;AAUD,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;AAcD,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,QAO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AAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE;YAC5B,uBAAuB,EAAE,KAAK;SAC/B,EACD,EAAE,CACH,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,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.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@wix/sdk-runtime": "^0.3.49",
|
|
32
|
-
"@wix/sdk-types": "^1.13.
|
|
32
|
+
"@wix/sdk-types": "^1.13.28"
|
|
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": "5acdd89e14a370a055eff7ac6d65b4cc286a7f0c5fee7d32dd9204a1"
|
|
52
52
|
}
|