@wix/portfolio 1.0.104 → 1.0.106
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/context.js +1 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -0
- package/package.json +8 -8
- package/type-bundles/context.bundle.d.ts +16 -122
- package/type-bundles/index.bundle.d.ts +16 -122
- package/type-bundles/meta.bundle.d.ts +99 -285
package/build/cjs/context.js
CHANGED
|
@@ -30,3 +30,4 @@ exports.projectItems = __importStar(require("@wix/portfolio_project-items/contex
|
|
|
30
30
|
exports.projects = __importStar(require("@wix/portfolio_projects/context"));
|
|
31
31
|
exports.projectInCollections = __importStar(require("@wix/portfolio_project-in-collections/context"));
|
|
32
32
|
exports.syncedProject = __importStar(require("@wix/portfolio_synced-project/context"));
|
|
33
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAkE;AAClE,+FAA+E;AAC/E,qFAAqE;AACrE,4EAA4D;AAC5D,sGAAsF;AACtF,uFAAuE"}
|
package/build/cjs/index.js
CHANGED
|
@@ -36,3 +36,4 @@ const projectInCollections = __importStar(require("@wix/portfolio_project-in-col
|
|
|
36
36
|
exports.projectInCollections = projectInCollections;
|
|
37
37
|
const syncedProject = __importStar(require("@wix/portfolio_synced-project"));
|
|
38
38
|
exports.syncedProject = syncedProject;
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wEAA0D;AAQxD,kCAAW;AAPb,qFAAuE;AAQrE,8CAAiB;AAPnB,2EAA6D;AAQ3D,oCAAY;AAPd,kEAAoD;AAQlD,4BAAQ;AAPV,4FAA8E;AAQ5E,oDAAoB;AAPtB,6EAA+D;AAQ7D,sCAAa"}
|
package/build/cjs/meta.js
CHANGED
|
@@ -30,3 +30,4 @@ exports.projectItems = __importStar(require("@wix/portfolio_project-items/meta")
|
|
|
30
30
|
exports.projects = __importStar(require("@wix/portfolio_projects/meta"));
|
|
31
31
|
exports.projectInCollections = __importStar(require("@wix/portfolio_project-in-collections/meta"));
|
|
32
32
|
exports.syncedProject = __importStar(require("@wix/portfolio_synced-project/meta"));
|
|
33
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA+D;AAC/D,4FAA4E;AAC5E,kFAAkE;AAClE,yEAAyD;AACzD,mGAAmF;AACnF,oFAAoE"}
|
package/build/es/context.js
CHANGED
|
@@ -4,3 +4,4 @@ export * as projectItems from '@wix/portfolio_project-items/context';
|
|
|
4
4
|
export * as projects from '@wix/portfolio_projects/context';
|
|
5
5
|
export * as projectInCollections from '@wix/portfolio_project-in-collections/context';
|
|
6
6
|
export * as syncedProject from '@wix/portfolio_synced-project/context';
|
|
7
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,oCAAoC,CAAC;AAClE,OAAO,KAAK,iBAAiB,MAAM,2CAA2C,CAAC;AAC/E,OAAO,KAAK,YAAY,MAAM,sCAAsC,CAAC;AACrE,OAAO,KAAK,QAAQ,MAAM,iCAAiC,CAAC;AAC5D,OAAO,KAAK,oBAAoB,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,aAAa,MAAM,uCAAuC,CAAC"}
|
package/build/es/index.js
CHANGED
|
@@ -5,3 +5,4 @@ import * as projects from '@wix/portfolio_projects';
|
|
|
5
5
|
import * as projectInCollections from '@wix/portfolio_project-in-collections';
|
|
6
6
|
import * as syncedProject from '@wix/portfolio_synced-project';
|
|
7
7
|
export { collections, portfolioSettings, projectItems, projects, projectInCollections, syncedProject, };
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,4BAA4B,CAAC;AAC1D,OAAO,KAAK,iBAAiB,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAC7D,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,oBAAoB,MAAM,uCAAuC,CAAC;AAC9E,OAAO,KAAK,aAAa,MAAM,+BAA+B,CAAC;AAE/D,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,oBAAoB,EACpB,aAAa,GACd,CAAC"}
|
package/build/es/meta.js
CHANGED
|
@@ -4,3 +4,4 @@ export * as projectItems from '@wix/portfolio_project-items/meta';
|
|
|
4
4
|
export * as projects from '@wix/portfolio_projects/meta';
|
|
5
5
|
export * as projectInCollections from '@wix/portfolio_project-in-collections/meta';
|
|
6
6
|
export * as syncedProject from '@wix/portfolio_synced-project/meta';
|
|
7
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,iCAAiC,CAAC;AAC/D,OAAO,KAAK,iBAAiB,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,YAAY,MAAM,mCAAmC,CAAC;AAClE,OAAO,KAAK,QAAQ,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,oBAAoB,MAAM,4CAA4C,CAAC;AACnF,OAAO,KAAK,aAAa,MAAM,oCAAoC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/portfolio",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.106",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"type-bundles"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@wix/portfolio_collections": "1.0.
|
|
25
|
-
"@wix/portfolio_portfolio-settings": "1.0.
|
|
26
|
-
"@wix/portfolio_project-in-collections": "1.0.
|
|
27
|
-
"@wix/portfolio_project-items": "1.0.
|
|
28
|
-
"@wix/portfolio_projects": "1.0.
|
|
29
|
-
"@wix/portfolio_synced-project": "1.0.
|
|
24
|
+
"@wix/portfolio_collections": "1.0.35",
|
|
25
|
+
"@wix/portfolio_portfolio-settings": "1.0.21",
|
|
26
|
+
"@wix/portfolio_project-in-collections": "1.0.36",
|
|
27
|
+
"@wix/portfolio_project-items": "1.0.39",
|
|
28
|
+
"@wix/portfolio_projects": "1.0.49",
|
|
29
|
+
"@wix/portfolio_synced-project": "1.0.18"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"glob": "^10.4.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"fqdn": ""
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
54
|
+
"falconPackageHash": "193da651501ef12d807f29707cb428246dd82a965d7e580a31362b89"
|
|
55
55
|
}
|
|
@@ -1082,14 +1082,14 @@ interface QueryCollectionsOptions {
|
|
|
1082
1082
|
/** Whether to include the collection's page URL and relative path in the response. */
|
|
1083
1083
|
includePageUrl?: boolean | null | undefined;
|
|
1084
1084
|
}
|
|
1085
|
-
interface QueryCursorResult$
|
|
1085
|
+
interface QueryCursorResult$1 {
|
|
1086
1086
|
cursors: Cursors$4;
|
|
1087
1087
|
hasNext: () => boolean;
|
|
1088
1088
|
hasPrev: () => boolean;
|
|
1089
1089
|
length: number;
|
|
1090
1090
|
pageSize: number;
|
|
1091
1091
|
}
|
|
1092
|
-
interface CollectionsQueryResult extends QueryCursorResult$
|
|
1092
|
+
interface CollectionsQueryResult extends QueryCursorResult$1 {
|
|
1093
1093
|
items: Collection[];
|
|
1094
1094
|
query: CollectionsQueryBuilder;
|
|
1095
1095
|
next: () => Promise<CollectionsQueryResult>;
|
|
@@ -1324,9 +1324,9 @@ declare enum AddItemDirection {
|
|
|
1324
1324
|
GALLERY_END = "GALLERY_END"
|
|
1325
1325
|
}
|
|
1326
1326
|
declare enum DefaultItemName {
|
|
1327
|
-
/** Use
|
|
1327
|
+
/** Use and show title of project item the same as file name. */
|
|
1328
1328
|
FILE_NAME = "FILE_NAME",
|
|
1329
|
-
/** Use
|
|
1329
|
+
/** Use and show title of project item as empty. */
|
|
1330
1330
|
EMPTY = "EMPTY"
|
|
1331
1331
|
}
|
|
1332
1332
|
interface MediaSettings {
|
|
@@ -3582,11 +3582,11 @@ interface ProjectCreatedEnvelope {
|
|
|
3582
3582
|
entity: Project$1;
|
|
3583
3583
|
metadata: EventMetadata$1;
|
|
3584
3584
|
}
|
|
3585
|
-
interface
|
|
3586
|
-
entity: Project$1;
|
|
3585
|
+
interface ProjectDeletedEnvelope {
|
|
3587
3586
|
metadata: EventMetadata$1;
|
|
3588
3587
|
}
|
|
3589
|
-
interface
|
|
3588
|
+
interface ProjectUpdatedEnvelope {
|
|
3589
|
+
entity: Project$1;
|
|
3590
3590
|
metadata: EventMetadata$1;
|
|
3591
3591
|
}
|
|
3592
3592
|
interface GetProjectPageDataIdentifiers {
|
|
@@ -3660,14 +3660,14 @@ interface QueryProjectsOptions {
|
|
|
3660
3660
|
/** Include page url ? */
|
|
3661
3661
|
includePageUrl?: boolean | null | undefined;
|
|
3662
3662
|
}
|
|
3663
|
-
interface QueryCursorResult
|
|
3663
|
+
interface QueryCursorResult {
|
|
3664
3664
|
cursors: Cursors$2;
|
|
3665
3665
|
hasNext: () => boolean;
|
|
3666
3666
|
hasPrev: () => boolean;
|
|
3667
3667
|
length: number;
|
|
3668
3668
|
pageSize: number;
|
|
3669
3669
|
}
|
|
3670
|
-
interface ProjectsQueryResult extends QueryCursorResult
|
|
3670
|
+
interface ProjectsQueryResult extends QueryCursorResult {
|
|
3671
3671
|
items: Project$1[];
|
|
3672
3672
|
query: ProjectsQueryBuilder;
|
|
3673
3673
|
next: () => Promise<ProjectsQueryResult>;
|
|
@@ -3842,8 +3842,8 @@ interface QueryProjectsWithCollectionInfoSignature {
|
|
|
3842
3842
|
(query: QueryV2$1, options?: QueryProjectsWithCollectionInfoOptions | undefined): Promise<QueryProjectWithCollectionInfoResponse & QueryProjectWithCollectionInfoResponseNonNullableFields>;
|
|
3843
3843
|
}
|
|
3844
3844
|
declare const onProjectCreated$1: EventDefinition<ProjectCreatedEnvelope, "wix.portfolio.projects.v1.project_created">;
|
|
3845
|
-
declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
3846
3845
|
declare const onProjectDeleted$1: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
|
|
3846
|
+
declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
3847
3847
|
|
|
3848
3848
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3849
3849
|
|
|
@@ -3864,16 +3864,16 @@ type _publicOnProjectCreatedType = typeof onProjectCreated$1;
|
|
|
3864
3864
|
*/
|
|
3865
3865
|
declare const onProjectCreated: ReturnType<typeof createEventModule$1<_publicOnProjectCreatedType>>;
|
|
3866
3866
|
|
|
3867
|
-
type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
|
|
3868
|
-
/** */
|
|
3869
|
-
declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
|
|
3870
|
-
|
|
3871
3867
|
type _publicOnProjectDeletedType = typeof onProjectDeleted$1;
|
|
3872
3868
|
/**
|
|
3873
3869
|
* Triggered when a project is deleted.
|
|
3874
3870
|
*/
|
|
3875
3871
|
declare const onProjectDeleted: ReturnType<typeof createEventModule$1<_publicOnProjectDeletedType>>;
|
|
3876
3872
|
|
|
3873
|
+
type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
|
|
3874
|
+
/** */
|
|
3875
|
+
declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
|
|
3876
|
+
|
|
3877
3877
|
type context$2_App = App;
|
|
3878
3878
|
type context$2_ApplicationError = ApplicationError;
|
|
3879
3879
|
type context$2_BulkActionMetadata = BulkActionMetadata;
|
|
@@ -4179,7 +4179,7 @@ interface Settings {
|
|
|
4179
4179
|
}
|
|
4180
4180
|
interface QueryProjectInCollectionsRequest {
|
|
4181
4181
|
/** Query options. */
|
|
4182
|
-
query
|
|
4182
|
+
query?: QueryV2;
|
|
4183
4183
|
/**
|
|
4184
4184
|
* Whether to include the project's relative path and full URL in the response.
|
|
4185
4185
|
* Default: `false`
|
|
@@ -4450,9 +4450,6 @@ interface ProjectInCollectionNonNullableFields {
|
|
|
4450
4450
|
collectionId: string;
|
|
4451
4451
|
project?: ProjectNonNullableFields;
|
|
4452
4452
|
}
|
|
4453
|
-
interface QueryProjectInCollectionsResponseNonNullableFields {
|
|
4454
|
-
projectInCollections: ProjectInCollectionNonNullableFields[];
|
|
4455
|
-
}
|
|
4456
4453
|
interface UpdateProjectOrderInCollectionResponseNonNullableFields {
|
|
4457
4454
|
project?: ProjectInCollectionNonNullableFields;
|
|
4458
4455
|
projectInCollection?: ProjectInCollectionNonNullableFields;
|
|
@@ -4507,90 +4504,6 @@ interface ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope {
|
|
|
4507
4504
|
data: ProjectOrderInCollectionUpdatedEvent;
|
|
4508
4505
|
metadata: EventMetadata;
|
|
4509
4506
|
}
|
|
4510
|
-
interface QueryProjectInCollectionsOptions {
|
|
4511
|
-
/**
|
|
4512
|
-
* Whether to include the project's relative path and full URL in the response.
|
|
4513
|
-
* Default: `false`
|
|
4514
|
-
*/
|
|
4515
|
-
includePageUrl?: boolean | null | undefined;
|
|
4516
|
-
}
|
|
4517
|
-
interface QueryCursorResult {
|
|
4518
|
-
cursors: Cursors$1;
|
|
4519
|
-
hasNext: () => boolean;
|
|
4520
|
-
hasPrev: () => boolean;
|
|
4521
|
-
length: number;
|
|
4522
|
-
pageSize: number;
|
|
4523
|
-
}
|
|
4524
|
-
interface ProjectInCollectionsQueryResult extends QueryCursorResult {
|
|
4525
|
-
items: ProjectInCollection[];
|
|
4526
|
-
query: ProjectInCollectionsQueryBuilder;
|
|
4527
|
-
next: () => Promise<ProjectInCollectionsQueryResult>;
|
|
4528
|
-
prev: () => Promise<ProjectInCollectionsQueryResult>;
|
|
4529
|
-
}
|
|
4530
|
-
interface ProjectInCollectionsQueryBuilder {
|
|
4531
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4532
|
-
* @param value - Value to compare against.
|
|
4533
|
-
* @documentationMaturity preview
|
|
4534
|
-
*/
|
|
4535
|
-
eq: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4536
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4537
|
-
* @param value - Value to compare against.
|
|
4538
|
-
* @documentationMaturity preview
|
|
4539
|
-
*/
|
|
4540
|
-
ne: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4541
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4542
|
-
* @param value - Value to compare against.
|
|
4543
|
-
* @documentationMaturity preview
|
|
4544
|
-
*/
|
|
4545
|
-
ge: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4546
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4547
|
-
* @param value - Value to compare against.
|
|
4548
|
-
* @documentationMaturity preview
|
|
4549
|
-
*/
|
|
4550
|
-
gt: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4551
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4552
|
-
* @param value - Value to compare against.
|
|
4553
|
-
* @documentationMaturity preview
|
|
4554
|
-
*/
|
|
4555
|
-
le: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4556
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4557
|
-
* @param value - Value to compare against.
|
|
4558
|
-
* @documentationMaturity preview
|
|
4559
|
-
*/
|
|
4560
|
-
lt: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4561
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
4562
|
-
* @param string - String to compare against. Case-insensitive.
|
|
4563
|
-
* @documentationMaturity preview
|
|
4564
|
-
*/
|
|
4565
|
-
startsWith: (propertyName: 'collectionId' | 'project.id' | 'project.slug', value: string) => ProjectInCollectionsQueryBuilder;
|
|
4566
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
4567
|
-
* @param values - List of values to compare against.
|
|
4568
|
-
* @documentationMaturity preview
|
|
4569
|
-
*/
|
|
4570
|
-
hasSome: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any[]) => ProjectInCollectionsQueryBuilder;
|
|
4571
|
-
/** @documentationMaturity preview */
|
|
4572
|
-
in: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4573
|
-
/** @documentationMaturity preview */
|
|
4574
|
-
exists: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: boolean) => ProjectInCollectionsQueryBuilder;
|
|
4575
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4576
|
-
* @documentationMaturity preview
|
|
4577
|
-
*/
|
|
4578
|
-
ascending: (...propertyNames: Array<'collectionId' | 'project.id' | 'project.slug' | 'sortOrder'>) => ProjectInCollectionsQueryBuilder;
|
|
4579
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4580
|
-
* @documentationMaturity preview
|
|
4581
|
-
*/
|
|
4582
|
-
descending: (...propertyNames: Array<'collectionId' | 'project.id' | 'project.slug' | 'sortOrder'>) => ProjectInCollectionsQueryBuilder;
|
|
4583
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
4584
|
-
* @documentationMaturity preview
|
|
4585
|
-
*/
|
|
4586
|
-
limit: (limit: number) => ProjectInCollectionsQueryBuilder;
|
|
4587
|
-
/** @param cursor - A pointer to specific record
|
|
4588
|
-
* @documentationMaturity preview
|
|
4589
|
-
*/
|
|
4590
|
-
skipTo: (cursor: string) => ProjectInCollectionsQueryBuilder;
|
|
4591
|
-
/** @documentationMaturity preview */
|
|
4592
|
-
find: () => Promise<ProjectInCollectionsQueryResult>;
|
|
4593
|
-
}
|
|
4594
4507
|
interface UpdateProjectOrderInCollectionIdentifiers {
|
|
4595
4508
|
/** ID of the project to update. */
|
|
4596
4509
|
projectId: string;
|
|
@@ -4598,19 +4511,6 @@ interface UpdateProjectOrderInCollectionIdentifiers {
|
|
|
4598
4511
|
collectionId: string;
|
|
4599
4512
|
}
|
|
4600
4513
|
|
|
4601
|
-
declare function queryProjectInCollections$1(httpClient: HttpClient): QueryProjectInCollectionsSignature;
|
|
4602
|
-
interface QueryProjectInCollectionsSignature {
|
|
4603
|
-
/**
|
|
4604
|
-
* Retrieves a list of projects in the specified collections given the provided paging, filtering, and sorting. Up to 100 projects can be returned per request.
|
|
4605
|
-
*
|
|
4606
|
-
* The default `sort` is `project.id` in `ASC`.
|
|
4607
|
-
*
|
|
4608
|
-
* For additional field support for filters and sorting, see [Projects In Collections: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-in-collection/sort-and-filter).
|
|
4609
|
-
*
|
|
4610
|
-
* To learn how to query projects in collections, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
|
|
4611
|
-
*/
|
|
4612
|
-
(options?: QueryProjectInCollectionsOptions | undefined): ProjectInCollectionsQueryBuilder;
|
|
4613
|
-
}
|
|
4614
4514
|
declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
|
|
4615
4515
|
interface UpdateProjectOrderInCollectionSignature {
|
|
4616
4516
|
/**
|
|
@@ -4623,7 +4523,6 @@ declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1: Event
|
|
|
4623
4523
|
|
|
4624
4524
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4625
4525
|
|
|
4626
|
-
declare const queryProjectInCollections: MaybeContext<BuildRESTFunction<typeof queryProjectInCollections$1> & typeof queryProjectInCollections$1>;
|
|
4627
4526
|
declare const updateProjectOrderInCollection: MaybeContext<BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1>;
|
|
4628
4527
|
|
|
4629
4528
|
type _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1;
|
|
@@ -4645,14 +4544,10 @@ type context$1_ProjectDetail = ProjectDetail;
|
|
|
4645
4544
|
type context$1_ProjectDetailValueOneOf = ProjectDetailValueOneOf;
|
|
4646
4545
|
type context$1_ProjectInCollection = ProjectInCollection;
|
|
4647
4546
|
type context$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope = ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope;
|
|
4648
|
-
type context$1_ProjectInCollectionsQueryBuilder = ProjectInCollectionsQueryBuilder;
|
|
4649
|
-
type context$1_ProjectInCollectionsQueryResult = ProjectInCollectionsQueryResult;
|
|
4650
4547
|
type context$1_ProjectOrderInCollectionUpdatedEvent = ProjectOrderInCollectionUpdatedEvent;
|
|
4651
4548
|
type context$1_ProjectSource = ProjectSource;
|
|
4652
|
-
type context$1_QueryProjectInCollectionsOptions = QueryProjectInCollectionsOptions;
|
|
4653
4549
|
type context$1_QueryProjectInCollectionsRequest = QueryProjectInCollectionsRequest;
|
|
4654
4550
|
type context$1_QueryProjectInCollectionsResponse = QueryProjectInCollectionsResponse;
|
|
4655
|
-
type context$1_QueryProjectInCollectionsResponseNonNullableFields = QueryProjectInCollectionsResponseNonNullableFields;
|
|
4656
4551
|
type context$1_QueryV2 = QueryV2;
|
|
4657
4552
|
type context$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
4658
4553
|
type context$1_SeoSchema = SeoSchema;
|
|
@@ -4670,10 +4565,9 @@ type context$1_Video = Video;
|
|
|
4670
4565
|
type context$1_VideoResolution = VideoResolution;
|
|
4671
4566
|
type context$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType;
|
|
4672
4567
|
declare const context$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent: typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent;
|
|
4673
|
-
declare const context$1_queryProjectInCollections: typeof queryProjectInCollections;
|
|
4674
4568
|
declare const context$1_updateProjectOrderInCollection: typeof updateProjectOrderInCollection;
|
|
4675
4569
|
declare namespace context$1 {
|
|
4676
|
-
export { type ActionEvent$1 as ActionEvent, type context$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, context$1_ImageType as ImageType, type context$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type context$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_Point as Point, type context$1_Project as Project, type context$1_ProjectCoverOneOf as ProjectCoverOneOf, type context$1_ProjectDetail as ProjectDetail, type context$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type context$1_ProjectInCollection as ProjectInCollection, type context$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type context$
|
|
4570
|
+
export { type ActionEvent$1 as ActionEvent, type context$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type context$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type context$1_Image as Image, context$1_ImageType as ImageType, type context$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type context$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type context$1_Point as Point, type context$1_Project as Project, type context$1_ProjectCoverOneOf as ProjectCoverOneOf, type context$1_ProjectDetail as ProjectDetail, type context$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type context$1_ProjectInCollection as ProjectInCollection, type context$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type context$1_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type context$1_ProjectSource as ProjectSource, type context$1_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type context$1_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RestoreInfo$1 as RestoreInfo, type context$1_SeoSchema as SeoSchema, type context$1_Settings as Settings, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, SyncStatus$1 as SyncStatus, type context$1_Tag as Tag, type context$1_UnsharpMasking as UnsharpMasking, type context$1_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type context$1_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type context$1_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type context$1_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type context$1_Video as Video, type context$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType as _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType, context$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1 as publicOnProjectInCollectionProjectOrderInCollectionUpdatedEvent, context$1_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4677
4571
|
}
|
|
4678
4572
|
|
|
4679
4573
|
interface SyncedProject {
|
|
@@ -1082,14 +1082,14 @@ interface QueryCollectionsOptions {
|
|
|
1082
1082
|
/** Whether to include the collection's page URL and relative path in the response. */
|
|
1083
1083
|
includePageUrl?: boolean | null | undefined;
|
|
1084
1084
|
}
|
|
1085
|
-
interface QueryCursorResult$
|
|
1085
|
+
interface QueryCursorResult$1 {
|
|
1086
1086
|
cursors: Cursors$4;
|
|
1087
1087
|
hasNext: () => boolean;
|
|
1088
1088
|
hasPrev: () => boolean;
|
|
1089
1089
|
length: number;
|
|
1090
1090
|
pageSize: number;
|
|
1091
1091
|
}
|
|
1092
|
-
interface CollectionsQueryResult extends QueryCursorResult$
|
|
1092
|
+
interface CollectionsQueryResult extends QueryCursorResult$1 {
|
|
1093
1093
|
items: Collection[];
|
|
1094
1094
|
query: CollectionsQueryBuilder;
|
|
1095
1095
|
next: () => Promise<CollectionsQueryResult>;
|
|
@@ -1324,9 +1324,9 @@ declare enum AddItemDirection {
|
|
|
1324
1324
|
GALLERY_END = "GALLERY_END"
|
|
1325
1325
|
}
|
|
1326
1326
|
declare enum DefaultItemName {
|
|
1327
|
-
/** Use
|
|
1327
|
+
/** Use and show title of project item the same as file name. */
|
|
1328
1328
|
FILE_NAME = "FILE_NAME",
|
|
1329
|
-
/** Use
|
|
1329
|
+
/** Use and show title of project item as empty. */
|
|
1330
1330
|
EMPTY = "EMPTY"
|
|
1331
1331
|
}
|
|
1332
1332
|
interface MediaSettings {
|
|
@@ -3582,11 +3582,11 @@ interface ProjectCreatedEnvelope {
|
|
|
3582
3582
|
entity: Project$1;
|
|
3583
3583
|
metadata: EventMetadata$1;
|
|
3584
3584
|
}
|
|
3585
|
-
interface
|
|
3586
|
-
entity: Project$1;
|
|
3585
|
+
interface ProjectDeletedEnvelope {
|
|
3587
3586
|
metadata: EventMetadata$1;
|
|
3588
3587
|
}
|
|
3589
|
-
interface
|
|
3588
|
+
interface ProjectUpdatedEnvelope {
|
|
3589
|
+
entity: Project$1;
|
|
3590
3590
|
metadata: EventMetadata$1;
|
|
3591
3591
|
}
|
|
3592
3592
|
interface GetProjectPageDataIdentifiers {
|
|
@@ -3660,14 +3660,14 @@ interface QueryProjectsOptions {
|
|
|
3660
3660
|
/** Include page url ? */
|
|
3661
3661
|
includePageUrl?: boolean | null | undefined;
|
|
3662
3662
|
}
|
|
3663
|
-
interface QueryCursorResult
|
|
3663
|
+
interface QueryCursorResult {
|
|
3664
3664
|
cursors: Cursors$2;
|
|
3665
3665
|
hasNext: () => boolean;
|
|
3666
3666
|
hasPrev: () => boolean;
|
|
3667
3667
|
length: number;
|
|
3668
3668
|
pageSize: number;
|
|
3669
3669
|
}
|
|
3670
|
-
interface ProjectsQueryResult extends QueryCursorResult
|
|
3670
|
+
interface ProjectsQueryResult extends QueryCursorResult {
|
|
3671
3671
|
items: Project$1[];
|
|
3672
3672
|
query: ProjectsQueryBuilder;
|
|
3673
3673
|
next: () => Promise<ProjectsQueryResult>;
|
|
@@ -3842,8 +3842,8 @@ interface QueryProjectsWithCollectionInfoSignature {
|
|
|
3842
3842
|
(query: QueryV2$1, options?: QueryProjectsWithCollectionInfoOptions | undefined): Promise<QueryProjectWithCollectionInfoResponse & QueryProjectWithCollectionInfoResponseNonNullableFields>;
|
|
3843
3843
|
}
|
|
3844
3844
|
declare const onProjectCreated$1: EventDefinition<ProjectCreatedEnvelope, "wix.portfolio.projects.v1.project_created">;
|
|
3845
|
-
declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
3846
3845
|
declare const onProjectDeleted$1: EventDefinition<ProjectDeletedEnvelope, "wix.portfolio.projects.v1.project_deleted">;
|
|
3846
|
+
declare const onProjectUpdated$1: EventDefinition<ProjectUpdatedEnvelope, "wix.portfolio.projects.v1.project_updated">;
|
|
3847
3847
|
|
|
3848
3848
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
3849
3849
|
|
|
@@ -3864,16 +3864,16 @@ type _publicOnProjectCreatedType = typeof onProjectCreated$1;
|
|
|
3864
3864
|
*/
|
|
3865
3865
|
declare const onProjectCreated: ReturnType<typeof createEventModule$1<_publicOnProjectCreatedType>>;
|
|
3866
3866
|
|
|
3867
|
-
type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
|
|
3868
|
-
/** */
|
|
3869
|
-
declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
|
|
3870
|
-
|
|
3871
3867
|
type _publicOnProjectDeletedType = typeof onProjectDeleted$1;
|
|
3872
3868
|
/**
|
|
3873
3869
|
* Triggered when a project is deleted.
|
|
3874
3870
|
*/
|
|
3875
3871
|
declare const onProjectDeleted: ReturnType<typeof createEventModule$1<_publicOnProjectDeletedType>>;
|
|
3876
3872
|
|
|
3873
|
+
type _publicOnProjectUpdatedType = typeof onProjectUpdated$1;
|
|
3874
|
+
/** */
|
|
3875
|
+
declare const onProjectUpdated: ReturnType<typeof createEventModule$1<_publicOnProjectUpdatedType>>;
|
|
3876
|
+
|
|
3877
3877
|
type index_d$2_App = App;
|
|
3878
3878
|
type index_d$2_ApplicationError = ApplicationError;
|
|
3879
3879
|
type index_d$2_BulkActionMetadata = BulkActionMetadata;
|
|
@@ -4179,7 +4179,7 @@ interface Settings {
|
|
|
4179
4179
|
}
|
|
4180
4180
|
interface QueryProjectInCollectionsRequest {
|
|
4181
4181
|
/** Query options. */
|
|
4182
|
-
query
|
|
4182
|
+
query?: QueryV2;
|
|
4183
4183
|
/**
|
|
4184
4184
|
* Whether to include the project's relative path and full URL in the response.
|
|
4185
4185
|
* Default: `false`
|
|
@@ -4450,9 +4450,6 @@ interface ProjectInCollectionNonNullableFields {
|
|
|
4450
4450
|
collectionId: string;
|
|
4451
4451
|
project?: ProjectNonNullableFields;
|
|
4452
4452
|
}
|
|
4453
|
-
interface QueryProjectInCollectionsResponseNonNullableFields {
|
|
4454
|
-
projectInCollections: ProjectInCollectionNonNullableFields[];
|
|
4455
|
-
}
|
|
4456
4453
|
interface UpdateProjectOrderInCollectionResponseNonNullableFields {
|
|
4457
4454
|
project?: ProjectInCollectionNonNullableFields;
|
|
4458
4455
|
projectInCollection?: ProjectInCollectionNonNullableFields;
|
|
@@ -4507,90 +4504,6 @@ interface ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope {
|
|
|
4507
4504
|
data: ProjectOrderInCollectionUpdatedEvent;
|
|
4508
4505
|
metadata: EventMetadata;
|
|
4509
4506
|
}
|
|
4510
|
-
interface QueryProjectInCollectionsOptions {
|
|
4511
|
-
/**
|
|
4512
|
-
* Whether to include the project's relative path and full URL in the response.
|
|
4513
|
-
* Default: `false`
|
|
4514
|
-
*/
|
|
4515
|
-
includePageUrl?: boolean | null | undefined;
|
|
4516
|
-
}
|
|
4517
|
-
interface QueryCursorResult {
|
|
4518
|
-
cursors: Cursors$1;
|
|
4519
|
-
hasNext: () => boolean;
|
|
4520
|
-
hasPrev: () => boolean;
|
|
4521
|
-
length: number;
|
|
4522
|
-
pageSize: number;
|
|
4523
|
-
}
|
|
4524
|
-
interface ProjectInCollectionsQueryResult extends QueryCursorResult {
|
|
4525
|
-
items: ProjectInCollection[];
|
|
4526
|
-
query: ProjectInCollectionsQueryBuilder;
|
|
4527
|
-
next: () => Promise<ProjectInCollectionsQueryResult>;
|
|
4528
|
-
prev: () => Promise<ProjectInCollectionsQueryResult>;
|
|
4529
|
-
}
|
|
4530
|
-
interface ProjectInCollectionsQueryBuilder {
|
|
4531
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4532
|
-
* @param value - Value to compare against.
|
|
4533
|
-
* @documentationMaturity preview
|
|
4534
|
-
*/
|
|
4535
|
-
eq: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4536
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4537
|
-
* @param value - Value to compare against.
|
|
4538
|
-
* @documentationMaturity preview
|
|
4539
|
-
*/
|
|
4540
|
-
ne: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4541
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4542
|
-
* @param value - Value to compare against.
|
|
4543
|
-
* @documentationMaturity preview
|
|
4544
|
-
*/
|
|
4545
|
-
ge: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4546
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4547
|
-
* @param value - Value to compare against.
|
|
4548
|
-
* @documentationMaturity preview
|
|
4549
|
-
*/
|
|
4550
|
-
gt: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4551
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4552
|
-
* @param value - Value to compare against.
|
|
4553
|
-
* @documentationMaturity preview
|
|
4554
|
-
*/
|
|
4555
|
-
le: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4556
|
-
/** @param propertyName - Property whose value is compared with `value`.
|
|
4557
|
-
* @param value - Value to compare against.
|
|
4558
|
-
* @documentationMaturity preview
|
|
4559
|
-
*/
|
|
4560
|
-
lt: (propertyName: 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4561
|
-
/** @param propertyName - Property whose value is compared with `string`.
|
|
4562
|
-
* @param string - String to compare against. Case-insensitive.
|
|
4563
|
-
* @documentationMaturity preview
|
|
4564
|
-
*/
|
|
4565
|
-
startsWith: (propertyName: 'collectionId' | 'project.id' | 'project.slug', value: string) => ProjectInCollectionsQueryBuilder;
|
|
4566
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
4567
|
-
* @param values - List of values to compare against.
|
|
4568
|
-
* @documentationMaturity preview
|
|
4569
|
-
*/
|
|
4570
|
-
hasSome: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any[]) => ProjectInCollectionsQueryBuilder;
|
|
4571
|
-
/** @documentationMaturity preview */
|
|
4572
|
-
in: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: any) => ProjectInCollectionsQueryBuilder;
|
|
4573
|
-
/** @documentationMaturity preview */
|
|
4574
|
-
exists: (propertyName: 'collectionId' | 'project.id' | 'project.hidden' | 'project.slug' | 'sortOrder', value: boolean) => ProjectInCollectionsQueryBuilder;
|
|
4575
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4576
|
-
* @documentationMaturity preview
|
|
4577
|
-
*/
|
|
4578
|
-
ascending: (...propertyNames: Array<'collectionId' | 'project.id' | 'project.slug' | 'sortOrder'>) => ProjectInCollectionsQueryBuilder;
|
|
4579
|
-
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
4580
|
-
* @documentationMaturity preview
|
|
4581
|
-
*/
|
|
4582
|
-
descending: (...propertyNames: Array<'collectionId' | 'project.id' | 'project.slug' | 'sortOrder'>) => ProjectInCollectionsQueryBuilder;
|
|
4583
|
-
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
4584
|
-
* @documentationMaturity preview
|
|
4585
|
-
*/
|
|
4586
|
-
limit: (limit: number) => ProjectInCollectionsQueryBuilder;
|
|
4587
|
-
/** @param cursor - A pointer to specific record
|
|
4588
|
-
* @documentationMaturity preview
|
|
4589
|
-
*/
|
|
4590
|
-
skipTo: (cursor: string) => ProjectInCollectionsQueryBuilder;
|
|
4591
|
-
/** @documentationMaturity preview */
|
|
4592
|
-
find: () => Promise<ProjectInCollectionsQueryResult>;
|
|
4593
|
-
}
|
|
4594
4507
|
interface UpdateProjectOrderInCollectionIdentifiers {
|
|
4595
4508
|
/** ID of the project to update. */
|
|
4596
4509
|
projectId: string;
|
|
@@ -4598,19 +4511,6 @@ interface UpdateProjectOrderInCollectionIdentifiers {
|
|
|
4598
4511
|
collectionId: string;
|
|
4599
4512
|
}
|
|
4600
4513
|
|
|
4601
|
-
declare function queryProjectInCollections$1(httpClient: HttpClient): QueryProjectInCollectionsSignature;
|
|
4602
|
-
interface QueryProjectInCollectionsSignature {
|
|
4603
|
-
/**
|
|
4604
|
-
* Retrieves a list of projects in the specified collections given the provided paging, filtering, and sorting. Up to 100 projects can be returned per request.
|
|
4605
|
-
*
|
|
4606
|
-
* The default `sort` is `project.id` in `ASC`.
|
|
4607
|
-
*
|
|
4608
|
-
* For additional field support for filters and sorting, see [Projects In Collections: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-in-collection/sort-and-filter).
|
|
4609
|
-
*
|
|
4610
|
-
* To learn how to query projects in collections, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
|
|
4611
|
-
*/
|
|
4612
|
-
(options?: QueryProjectInCollectionsOptions | undefined): ProjectInCollectionsQueryBuilder;
|
|
4613
|
-
}
|
|
4614
4514
|
declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
|
|
4615
4515
|
interface UpdateProjectOrderInCollectionSignature {
|
|
4616
4516
|
/**
|
|
@@ -4623,7 +4523,6 @@ declare const onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1: Event
|
|
|
4623
4523
|
|
|
4624
4524
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
4625
4525
|
|
|
4626
|
-
declare const queryProjectInCollections: MaybeContext<BuildRESTFunction<typeof queryProjectInCollections$1> & typeof queryProjectInCollections$1>;
|
|
4627
4526
|
declare const updateProjectOrderInCollection: MaybeContext<BuildRESTFunction<typeof updateProjectOrderInCollection$1> & typeof updateProjectOrderInCollection$1>;
|
|
4628
4527
|
|
|
4629
4528
|
type _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1;
|
|
@@ -4645,14 +4544,10 @@ type index_d$1_ProjectDetail = ProjectDetail;
|
|
|
4645
4544
|
type index_d$1_ProjectDetailValueOneOf = ProjectDetailValueOneOf;
|
|
4646
4545
|
type index_d$1_ProjectInCollection = ProjectInCollection;
|
|
4647
4546
|
type index_d$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope = ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope;
|
|
4648
|
-
type index_d$1_ProjectInCollectionsQueryBuilder = ProjectInCollectionsQueryBuilder;
|
|
4649
|
-
type index_d$1_ProjectInCollectionsQueryResult = ProjectInCollectionsQueryResult;
|
|
4650
4547
|
type index_d$1_ProjectOrderInCollectionUpdatedEvent = ProjectOrderInCollectionUpdatedEvent;
|
|
4651
4548
|
type index_d$1_ProjectSource = ProjectSource;
|
|
4652
|
-
type index_d$1_QueryProjectInCollectionsOptions = QueryProjectInCollectionsOptions;
|
|
4653
4549
|
type index_d$1_QueryProjectInCollectionsRequest = QueryProjectInCollectionsRequest;
|
|
4654
4550
|
type index_d$1_QueryProjectInCollectionsResponse = QueryProjectInCollectionsResponse;
|
|
4655
|
-
type index_d$1_QueryProjectInCollectionsResponseNonNullableFields = QueryProjectInCollectionsResponseNonNullableFields;
|
|
4656
4551
|
type index_d$1_QueryV2 = QueryV2;
|
|
4657
4552
|
type index_d$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
4658
4553
|
type index_d$1_SeoSchema = SeoSchema;
|
|
@@ -4670,10 +4565,9 @@ type index_d$1_Video = Video;
|
|
|
4670
4565
|
type index_d$1_VideoResolution = VideoResolution;
|
|
4671
4566
|
type index_d$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType = _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType;
|
|
4672
4567
|
declare const index_d$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent: typeof onProjectInCollectionProjectOrderInCollectionUpdatedEvent;
|
|
4673
|
-
declare const index_d$1_queryProjectInCollections: typeof queryProjectInCollections;
|
|
4674
4568
|
declare const index_d$1_updateProjectOrderInCollection: typeof updateProjectOrderInCollection;
|
|
4675
4569
|
declare namespace index_d$1 {
|
|
4676
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Image as Image, index_d$1_ImageType as ImageType, type index_d$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_Point as Point, type index_d$1_Project as Project, type index_d$1_ProjectCoverOneOf as ProjectCoverOneOf, type index_d$1_ProjectDetail as ProjectDetail, type index_d$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type index_d$1_ProjectInCollection as ProjectInCollection, type index_d$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type index_d$
|
|
4570
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$1_BaseEventMetadata as BaseEventMetadata, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$1_DetailsLink as DetailsLink, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventMetadata as EventMetadata, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type index_d$1_Image as Image, index_d$1_ImageType as ImageType, type index_d$1_Keyword as Keyword, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_Paging as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type index_d$1_Point as Point, type index_d$1_Project as Project, type index_d$1_ProjectCoverOneOf as ProjectCoverOneOf, type index_d$1_ProjectDetail as ProjectDetail, type index_d$1_ProjectDetailValueOneOf as ProjectDetailValueOneOf, type index_d$1_ProjectInCollection as ProjectInCollection, type index_d$1_ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope as ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope, type index_d$1_ProjectOrderInCollectionUpdatedEvent as ProjectOrderInCollectionUpdatedEvent, type index_d$1_ProjectSource as ProjectSource, type index_d$1_QueryProjectInCollectionsRequest as QueryProjectInCollectionsRequest, type index_d$1_QueryProjectInCollectionsResponse as QueryProjectInCollectionsResponse, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type RestoreInfo$1 as RestoreInfo, type index_d$1_SeoSchema as SeoSchema, type index_d$1_Settings as Settings, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, SyncStatus$1 as SyncStatus, type index_d$1_Tag as Tag, type index_d$1_UnsharpMasking as UnsharpMasking, type index_d$1_UpdateProjectOrderInCollectionIdentifiers as UpdateProjectOrderInCollectionIdentifiers, type index_d$1_UpdateProjectOrderInCollectionRequest as UpdateProjectOrderInCollectionRequest, type index_d$1_UpdateProjectOrderInCollectionResponse as UpdateProjectOrderInCollectionResponse, type index_d$1_UpdateProjectOrderInCollectionResponseNonNullableFields as UpdateProjectOrderInCollectionResponseNonNullableFields, type index_d$1_Video as Video, type index_d$1_VideoResolution as VideoResolution, WebhookIdentityType$1 as WebhookIdentityType, type index_d$1__publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType as _publicOnProjectInCollectionProjectOrderInCollectionUpdatedEventType, index_d$1_onProjectInCollectionProjectOrderInCollectionUpdatedEvent as onProjectInCollectionProjectOrderInCollectionUpdatedEvent, onProjectInCollectionProjectOrderInCollectionUpdatedEvent$1 as publicOnProjectInCollectionProjectOrderInCollectionUpdatedEvent, index_d$1_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4677
4571
|
}
|
|
4678
4572
|
|
|
4679
4573
|
interface SyncedProject {
|