@wix/portfolio 1.0.64 → 1.0.65
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.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +5 -4
- package/type-bundles/context.bundle.d.ts +189 -42
- package/type-bundles/index.bundle.d.ts +535 -264
- package/type-bundles/meta.bundle.d.ts +369 -17
|
@@ -808,7 +808,7 @@ interface QueryCollectionsResponseNonNullableFields {
|
|
|
808
808
|
}[];
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
type __PublicMethodMetaInfo$
|
|
811
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
812
812
|
getUrl: (context: any) => string;
|
|
813
813
|
httpMethod: K;
|
|
814
814
|
path: string;
|
|
@@ -818,27 +818,180 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
818
818
|
__responseType: Q;
|
|
819
819
|
__originalResponseType: R;
|
|
820
820
|
};
|
|
821
|
-
declare function createCollection(): __PublicMethodMetaInfo$
|
|
822
|
-
declare function getCollection(): __PublicMethodMetaInfo$
|
|
821
|
+
declare function createCollection(): __PublicMethodMetaInfo$4<'POST', {}, CreateCollectionRequest, CreateCollectionRequest$1, CreateCollectionResponse & CreateCollectionResponseNonNullableFields, CreateCollectionResponse$1 & CreateCollectionResponseNonNullableFields$1>;
|
|
822
|
+
declare function getCollection(): __PublicMethodMetaInfo$4<'GET', {
|
|
823
823
|
collectionId: string;
|
|
824
824
|
}, GetCollectionRequest, GetCollectionRequest$1, GetCollectionResponse & GetCollectionResponseNonNullableFields, GetCollectionResponse$1 & GetCollectionResponseNonNullableFields$1>;
|
|
825
|
-
declare function listCollections(): __PublicMethodMetaInfo$
|
|
826
|
-
declare function updateCollection(): __PublicMethodMetaInfo$
|
|
825
|
+
declare function listCollections(): __PublicMethodMetaInfo$4<'GET', {}, ListCollectionsRequest, ListCollectionsRequest$1, ListCollectionsResponse & ListCollectionsResponseNonNullableFields, ListCollectionsResponse$1 & ListCollectionsResponseNonNullableFields$1>;
|
|
826
|
+
declare function updateCollection(): __PublicMethodMetaInfo$4<'PATCH', {
|
|
827
827
|
collectionId: string;
|
|
828
828
|
}, UpdateCollectionRequest, UpdateCollectionRequest$1, UpdateCollectionResponse & UpdateCollectionResponseNonNullableFields, UpdateCollectionResponse$1 & UpdateCollectionResponseNonNullableFields$1>;
|
|
829
|
-
declare function deleteCollection(): __PublicMethodMetaInfo$
|
|
829
|
+
declare function deleteCollection(): __PublicMethodMetaInfo$4<'DELETE', {
|
|
830
830
|
collectionId: string;
|
|
831
831
|
}, DeleteCollectionRequest, DeleteCollectionRequest$1, DeleteCollectionResponse & DeleteCollectionResponseNonNullableFields, DeleteCollectionResponse$1 & DeleteCollectionResponseNonNullableFields$1>;
|
|
832
|
-
declare function queryCollections(): __PublicMethodMetaInfo$
|
|
832
|
+
declare function queryCollections(): __PublicMethodMetaInfo$4<'POST', {}, QueryCollectionsRequest, QueryCollectionsRequest$1, QueryCollectionsResponse & QueryCollectionsResponseNonNullableFields, QueryCollectionsResponse$1 & QueryCollectionsResponseNonNullableFields$1>;
|
|
833
|
+
|
|
834
|
+
declare const meta$4_createCollection: typeof createCollection;
|
|
835
|
+
declare const meta$4_deleteCollection: typeof deleteCollection;
|
|
836
|
+
declare const meta$4_getCollection: typeof getCollection;
|
|
837
|
+
declare const meta$4_listCollections: typeof listCollections;
|
|
838
|
+
declare const meta$4_queryCollections: typeof queryCollections;
|
|
839
|
+
declare const meta$4_updateCollection: typeof updateCollection;
|
|
840
|
+
declare namespace meta$4 {
|
|
841
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_createCollection as createCollection, meta$4_deleteCollection as deleteCollection, meta$4_getCollection as getCollection, meta$4_listCollections as listCollections, meta$4_queryCollections as queryCollections, meta$4_updateCollection as updateCollection };
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
interface PortfolioSettings$1 {
|
|
845
|
+
revision?: string | null;
|
|
846
|
+
projectItemSettings?: ProjectItemSettings$1;
|
|
847
|
+
mediaSettings?: MediaSettings$1;
|
|
848
|
+
siteMenuSettings?: SiteMenuSettings$1;
|
|
849
|
+
}
|
|
850
|
+
interface ProjectItemSettings$1 {
|
|
851
|
+
addItemDirection?: AddItemDirection$1;
|
|
852
|
+
defaultItemName?: DefaultItemName$1;
|
|
853
|
+
}
|
|
854
|
+
declare enum AddItemDirection$1 {
|
|
855
|
+
GALLERY_START = "GALLERY_START",
|
|
856
|
+
GALLERY_END = "GALLERY_END"
|
|
857
|
+
}
|
|
858
|
+
declare enum DefaultItemName$1 {
|
|
859
|
+
FILE_NAME = "FILE_NAME",
|
|
860
|
+
EMPTY = "EMPTY"
|
|
861
|
+
}
|
|
862
|
+
interface MediaSettings$1 {
|
|
863
|
+
folderId?: string | null;
|
|
864
|
+
}
|
|
865
|
+
interface SiteMenuSettings$1 {
|
|
866
|
+
autoUpdateMenu?: boolean | null;
|
|
867
|
+
}
|
|
868
|
+
interface CreatePortfolioSettingsRequest$1 {
|
|
869
|
+
portfolioSettings: PortfolioSettings$1;
|
|
870
|
+
}
|
|
871
|
+
interface CreatePortfolioSettingsResponse$1 {
|
|
872
|
+
portfolioSettings?: PortfolioSettings$1;
|
|
873
|
+
}
|
|
874
|
+
interface GetPortfolioSettingsRequest$1 {
|
|
875
|
+
}
|
|
876
|
+
interface GetPortfolioSettingsResponse$1 {
|
|
877
|
+
portfolioSettings?: PortfolioSettings$1;
|
|
878
|
+
}
|
|
879
|
+
interface UpdatePortfolioSettingsRequest$1 {
|
|
880
|
+
portfolioSettings: PortfolioSettings$1;
|
|
881
|
+
}
|
|
882
|
+
interface UpdatePortfolioSettingsResponse$1 {
|
|
883
|
+
updatedPortfolioSettings?: PortfolioSettings$1;
|
|
884
|
+
}
|
|
885
|
+
interface CreatePortfolioSettingsResponseNonNullableFields$1 {
|
|
886
|
+
portfolioSettings?: {
|
|
887
|
+
projectItemSettings?: {
|
|
888
|
+
addItemDirection: AddItemDirection$1;
|
|
889
|
+
defaultItemName: DefaultItemName$1;
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
interface GetPortfolioSettingsResponseNonNullableFields$1 {
|
|
894
|
+
portfolioSettings?: {
|
|
895
|
+
projectItemSettings?: {
|
|
896
|
+
addItemDirection: AddItemDirection$1;
|
|
897
|
+
defaultItemName: DefaultItemName$1;
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
interface UpdatePortfolioSettingsResponseNonNullableFields$1 {
|
|
902
|
+
updatedPortfolioSettings?: {
|
|
903
|
+
projectItemSettings?: {
|
|
904
|
+
addItemDirection: AddItemDirection$1;
|
|
905
|
+
defaultItemName: DefaultItemName$1;
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
interface PortfolioSettings {
|
|
911
|
+
revision?: string | null;
|
|
912
|
+
projectItemSettings?: ProjectItemSettings;
|
|
913
|
+
mediaSettings?: MediaSettings;
|
|
914
|
+
siteMenuSettings?: SiteMenuSettings;
|
|
915
|
+
}
|
|
916
|
+
interface ProjectItemSettings {
|
|
917
|
+
addItemDirection?: AddItemDirection;
|
|
918
|
+
defaultItemName?: DefaultItemName;
|
|
919
|
+
}
|
|
920
|
+
declare enum AddItemDirection {
|
|
921
|
+
GALLERY_START = "GALLERY_START",
|
|
922
|
+
GALLERY_END = "GALLERY_END"
|
|
923
|
+
}
|
|
924
|
+
declare enum DefaultItemName {
|
|
925
|
+
FILE_NAME = "FILE_NAME",
|
|
926
|
+
EMPTY = "EMPTY"
|
|
927
|
+
}
|
|
928
|
+
interface MediaSettings {
|
|
929
|
+
folderId?: string | null;
|
|
930
|
+
}
|
|
931
|
+
interface SiteMenuSettings {
|
|
932
|
+
autoUpdateMenu?: boolean | null;
|
|
933
|
+
}
|
|
934
|
+
interface CreatePortfolioSettingsRequest {
|
|
935
|
+
portfolioSettings: PortfolioSettings;
|
|
936
|
+
}
|
|
937
|
+
interface CreatePortfolioSettingsResponse {
|
|
938
|
+
portfolioSettings?: PortfolioSettings;
|
|
939
|
+
}
|
|
940
|
+
interface GetPortfolioSettingsRequest {
|
|
941
|
+
}
|
|
942
|
+
interface GetPortfolioSettingsResponse {
|
|
943
|
+
portfolioSettings?: PortfolioSettings;
|
|
944
|
+
}
|
|
945
|
+
interface UpdatePortfolioSettingsRequest {
|
|
946
|
+
portfolioSettings: PortfolioSettings;
|
|
947
|
+
}
|
|
948
|
+
interface UpdatePortfolioSettingsResponse {
|
|
949
|
+
updatedPortfolioSettings?: PortfolioSettings;
|
|
950
|
+
}
|
|
951
|
+
interface CreatePortfolioSettingsResponseNonNullableFields {
|
|
952
|
+
portfolioSettings?: {
|
|
953
|
+
projectItemSettings?: {
|
|
954
|
+
addItemDirection: AddItemDirection;
|
|
955
|
+
defaultItemName: DefaultItemName;
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
interface GetPortfolioSettingsResponseNonNullableFields {
|
|
960
|
+
portfolioSettings?: {
|
|
961
|
+
projectItemSettings?: {
|
|
962
|
+
addItemDirection: AddItemDirection;
|
|
963
|
+
defaultItemName: DefaultItemName;
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
}
|
|
967
|
+
interface UpdatePortfolioSettingsResponseNonNullableFields {
|
|
968
|
+
updatedPortfolioSettings?: {
|
|
969
|
+
projectItemSettings?: {
|
|
970
|
+
addItemDirection: AddItemDirection;
|
|
971
|
+
defaultItemName: DefaultItemName;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
977
|
+
getUrl: (context: any) => string;
|
|
978
|
+
httpMethod: K;
|
|
979
|
+
path: string;
|
|
980
|
+
pathParams: M;
|
|
981
|
+
__requestType: T;
|
|
982
|
+
__originalRequestType: S;
|
|
983
|
+
__responseType: Q;
|
|
984
|
+
__originalResponseType: R;
|
|
985
|
+
};
|
|
986
|
+
declare function createPortfolioSettings(): __PublicMethodMetaInfo$3<'POST', {}, CreatePortfolioSettingsRequest, CreatePortfolioSettingsRequest$1, CreatePortfolioSettingsResponse & CreatePortfolioSettingsResponseNonNullableFields, CreatePortfolioSettingsResponse$1 & CreatePortfolioSettingsResponseNonNullableFields$1>;
|
|
987
|
+
declare function getPortfolioSettings(): __PublicMethodMetaInfo$3<'GET', {}, GetPortfolioSettingsRequest, GetPortfolioSettingsRequest$1, GetPortfolioSettingsResponse & GetPortfolioSettingsResponseNonNullableFields, GetPortfolioSettingsResponse$1 & GetPortfolioSettingsResponseNonNullableFields$1>;
|
|
988
|
+
declare function updatePortfolioSettings(): __PublicMethodMetaInfo$3<'PATCH', {}, UpdatePortfolioSettingsRequest, UpdatePortfolioSettingsRequest$1, UpdatePortfolioSettingsResponse & UpdatePortfolioSettingsResponseNonNullableFields, UpdatePortfolioSettingsResponse$1 & UpdatePortfolioSettingsResponseNonNullableFields$1>;
|
|
833
989
|
|
|
834
|
-
declare const meta$
|
|
835
|
-
declare const meta$
|
|
836
|
-
declare const meta$
|
|
837
|
-
declare const meta$3_listCollections: typeof listCollections;
|
|
838
|
-
declare const meta$3_queryCollections: typeof queryCollections;
|
|
839
|
-
declare const meta$3_updateCollection: typeof updateCollection;
|
|
990
|
+
declare const meta$3_createPortfolioSettings: typeof createPortfolioSettings;
|
|
991
|
+
declare const meta$3_getPortfolioSettings: typeof getPortfolioSettings;
|
|
992
|
+
declare const meta$3_updatePortfolioSettings: typeof updatePortfolioSettings;
|
|
840
993
|
declare namespace meta$3 {
|
|
841
|
-
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$
|
|
994
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_createPortfolioSettings as createPortfolioSettings, meta$3_getPortfolioSettings as getPortfolioSettings, meta$3_updatePortfolioSettings as updatePortfolioSettings };
|
|
842
995
|
}
|
|
843
996
|
|
|
844
997
|
/** ProjectItem is the main entity of ProjectItemsService */
|
|
@@ -979,6 +1132,19 @@ interface Link$1 {
|
|
|
979
1132
|
*/
|
|
980
1133
|
target?: string | null;
|
|
981
1134
|
}
|
|
1135
|
+
interface GenerateTokenForProjectItemsRequest$1 {
|
|
1136
|
+
/** Media ids of requested project items */
|
|
1137
|
+
mediaIds: string[];
|
|
1138
|
+
}
|
|
1139
|
+
interface GenerateTokenForProjectItemsResponse$1 {
|
|
1140
|
+
mediaTokens?: ProjectItemMediaToken$1[];
|
|
1141
|
+
}
|
|
1142
|
+
interface ProjectItemMediaToken$1 {
|
|
1143
|
+
/** Media id of project item */
|
|
1144
|
+
mediaId?: string;
|
|
1145
|
+
/** Generated media token for project item */
|
|
1146
|
+
mediaToken?: string;
|
|
1147
|
+
}
|
|
982
1148
|
interface CreateProjectItemRequest$1 {
|
|
983
1149
|
/** Item to be created */
|
|
984
1150
|
item: Item$1;
|
|
@@ -1143,6 +1309,12 @@ interface DuplicateProjectItemsResponse$1 {
|
|
|
1143
1309
|
/** Result metadata */
|
|
1144
1310
|
bulkActionMetadata?: BulkActionMetadata$3;
|
|
1145
1311
|
}
|
|
1312
|
+
interface GenerateTokenForProjectItemsResponseNonNullableFields$1 {
|
|
1313
|
+
mediaTokens: {
|
|
1314
|
+
mediaId: string;
|
|
1315
|
+
mediaToken: string;
|
|
1316
|
+
}[];
|
|
1317
|
+
}
|
|
1146
1318
|
interface CreateProjectItemResponseNonNullableFields$1 {
|
|
1147
1319
|
projectId: string;
|
|
1148
1320
|
item?: {
|
|
@@ -1571,6 +1743,19 @@ interface Link {
|
|
|
1571
1743
|
*/
|
|
1572
1744
|
target?: string | null;
|
|
1573
1745
|
}
|
|
1746
|
+
interface GenerateTokenForProjectItemsRequest {
|
|
1747
|
+
/** Media ids of requested project items */
|
|
1748
|
+
mediaIds: string[];
|
|
1749
|
+
}
|
|
1750
|
+
interface GenerateTokenForProjectItemsResponse {
|
|
1751
|
+
mediaTokens?: ProjectItemMediaToken[];
|
|
1752
|
+
}
|
|
1753
|
+
interface ProjectItemMediaToken {
|
|
1754
|
+
/** Media id of project item */
|
|
1755
|
+
mediaId?: string;
|
|
1756
|
+
/** Generated media token for project item */
|
|
1757
|
+
mediaToken?: string;
|
|
1758
|
+
}
|
|
1574
1759
|
interface CreateProjectItemRequest {
|
|
1575
1760
|
/** Item to be created */
|
|
1576
1761
|
item: Item;
|
|
@@ -1735,6 +1920,12 @@ interface DuplicateProjectItemsResponse {
|
|
|
1735
1920
|
/** Result metadata */
|
|
1736
1921
|
bulkActionMetadata?: BulkActionMetadata$2;
|
|
1737
1922
|
}
|
|
1923
|
+
interface GenerateTokenForProjectItemsResponseNonNullableFields {
|
|
1924
|
+
mediaTokens: {
|
|
1925
|
+
mediaId: string;
|
|
1926
|
+
mediaToken: string;
|
|
1927
|
+
}[];
|
|
1928
|
+
}
|
|
1738
1929
|
interface CreateProjectItemResponseNonNullableFields {
|
|
1739
1930
|
item?: {
|
|
1740
1931
|
image?: {
|
|
@@ -1896,6 +2087,7 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1896
2087
|
__responseType: Q;
|
|
1897
2088
|
__originalResponseType: R;
|
|
1898
2089
|
};
|
|
2090
|
+
declare function generateTokenForProjectItems(): __PublicMethodMetaInfo$2<'POST', {}, GenerateTokenForProjectItemsRequest, GenerateTokenForProjectItemsRequest$1, GenerateTokenForProjectItemsResponse & GenerateTokenForProjectItemsResponseNonNullableFields, GenerateTokenForProjectItemsResponse$1 & GenerateTokenForProjectItemsResponseNonNullableFields$1>;
|
|
1899
2091
|
declare function createProjectItem(): __PublicMethodMetaInfo$2<'POST', {}, CreateProjectItemRequest, CreateProjectItemRequest$1, CreateProjectItemResponse & CreateProjectItemResponseNonNullableFields, CreateProjectItemResponse$1 & CreateProjectItemResponseNonNullableFields$1>;
|
|
1900
2092
|
declare function bulkCreateProjectItems(): __PublicMethodMetaInfo$2<'POST', {}, BulkCreateProjectItemsRequest, BulkCreateProjectItemsRequest$1, BulkCreateProjectItemsResponse & BulkCreateProjectItemsResponseNonNullableFields, BulkCreateProjectItemsResponse$1 & BulkCreateProjectItemsResponseNonNullableFields$1>;
|
|
1901
2093
|
declare function getProjectItem(): __PublicMethodMetaInfo$2<'GET', {
|
|
@@ -1920,11 +2112,12 @@ declare const meta$2_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
|
|
|
1920
2112
|
declare const meta$2_createProjectItem: typeof createProjectItem;
|
|
1921
2113
|
declare const meta$2_deleteProjectItem: typeof deleteProjectItem;
|
|
1922
2114
|
declare const meta$2_duplicateProjectItems: typeof duplicateProjectItems;
|
|
2115
|
+
declare const meta$2_generateTokenForProjectItems: typeof generateTokenForProjectItems;
|
|
1923
2116
|
declare const meta$2_getProjectItem: typeof getProjectItem;
|
|
1924
2117
|
declare const meta$2_listProjectItems: typeof listProjectItems;
|
|
1925
2118
|
declare const meta$2_updateProjectItem: typeof updateProjectItem;
|
|
1926
2119
|
declare namespace meta$2 {
|
|
1927
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateProjectItems as bulkCreateProjectItems, meta$2_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$2_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$2_createProjectItem as createProjectItem, meta$2_deleteProjectItem as deleteProjectItem, meta$2_duplicateProjectItems as duplicateProjectItems, meta$2_getProjectItem as getProjectItem, meta$2_listProjectItems as listProjectItems, meta$2_updateProjectItem as updateProjectItem };
|
|
2120
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateProjectItems as bulkCreateProjectItems, meta$2_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$2_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$2_createProjectItem as createProjectItem, meta$2_deleteProjectItem as deleteProjectItem, meta$2_duplicateProjectItems as duplicateProjectItems, meta$2_generateTokenForProjectItems as generateTokenForProjectItems, meta$2_getProjectItem as getProjectItem, meta$2_listProjectItems as listProjectItems, meta$2_updateProjectItem as updateProjectItem };
|
|
1928
2121
|
}
|
|
1929
2122
|
|
|
1930
2123
|
/** Project is the main entity of ProjectsService */
|
|
@@ -2129,6 +2322,22 @@ interface Settings$3 {
|
|
|
2129
2322
|
/** User-selected keyword terms for a specific page. */
|
|
2130
2323
|
keywords?: Keyword$3[];
|
|
2131
2324
|
}
|
|
2325
|
+
interface GetProjectPageDataRequest$1 {
|
|
2326
|
+
/** Slug of the project's current collection */
|
|
2327
|
+
collectionSlug: string;
|
|
2328
|
+
/** Project's slug */
|
|
2329
|
+
projectSlug: string;
|
|
2330
|
+
}
|
|
2331
|
+
interface GetProjectPageDataResponse$1 {
|
|
2332
|
+
project?: Project$3;
|
|
2333
|
+
previousProject?: ProjectSlug$1;
|
|
2334
|
+
nextProject?: ProjectSlug$1;
|
|
2335
|
+
}
|
|
2336
|
+
interface ProjectSlug$1 {
|
|
2337
|
+
/** Project id */
|
|
2338
|
+
projectId?: string;
|
|
2339
|
+
slug?: string;
|
|
2340
|
+
}
|
|
2132
2341
|
interface CreateProjectRequest$1 {
|
|
2133
2342
|
/** Project to be created */
|
|
2134
2343
|
project: Project$3;
|
|
@@ -2336,6 +2545,85 @@ interface QueryProjectWithCollectionInfoResponse$1 {
|
|
|
2336
2545
|
/** Paging metadata */
|
|
2337
2546
|
metadata?: PagingMetadataV2$3;
|
|
2338
2547
|
}
|
|
2548
|
+
interface GetProjectPageDataResponseNonNullableFields$1 {
|
|
2549
|
+
project?: {
|
|
2550
|
+
coverImage?: {
|
|
2551
|
+
type: ImageType$1;
|
|
2552
|
+
imageInfo?: {
|
|
2553
|
+
id: string;
|
|
2554
|
+
url: string;
|
|
2555
|
+
height: number;
|
|
2556
|
+
width: number;
|
|
2557
|
+
};
|
|
2558
|
+
focalPoint?: {
|
|
2559
|
+
x: number;
|
|
2560
|
+
y: number;
|
|
2561
|
+
};
|
|
2562
|
+
};
|
|
2563
|
+
coverVideo?: {
|
|
2564
|
+
videoInfo?: {
|
|
2565
|
+
id: string;
|
|
2566
|
+
url: string;
|
|
2567
|
+
resolutions: {
|
|
2568
|
+
url: string;
|
|
2569
|
+
height: number;
|
|
2570
|
+
width: number;
|
|
2571
|
+
poster?: {
|
|
2572
|
+
id: string;
|
|
2573
|
+
url: string;
|
|
2574
|
+
height: number;
|
|
2575
|
+
width: number;
|
|
2576
|
+
};
|
|
2577
|
+
format: string;
|
|
2578
|
+
}[];
|
|
2579
|
+
posters: {
|
|
2580
|
+
id: string;
|
|
2581
|
+
url: string;
|
|
2582
|
+
height: number;
|
|
2583
|
+
width: number;
|
|
2584
|
+
}[];
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
collectionIds: string[];
|
|
2588
|
+
details: {
|
|
2589
|
+
text: string;
|
|
2590
|
+
label: string;
|
|
2591
|
+
}[];
|
|
2592
|
+
source?: {
|
|
2593
|
+
appDefId: string;
|
|
2594
|
+
externalId: string;
|
|
2595
|
+
sourceName: string;
|
|
2596
|
+
syncStatus: SyncStatus$1;
|
|
2597
|
+
notEditableFields: string[];
|
|
2598
|
+
};
|
|
2599
|
+
url?: {
|
|
2600
|
+
relativePath: string;
|
|
2601
|
+
};
|
|
2602
|
+
seoData?: {
|
|
2603
|
+
tags: {
|
|
2604
|
+
type: string;
|
|
2605
|
+
children: string;
|
|
2606
|
+
custom: boolean;
|
|
2607
|
+
disabled: boolean;
|
|
2608
|
+
}[];
|
|
2609
|
+
settings?: {
|
|
2610
|
+
preventAutoRedirect: boolean;
|
|
2611
|
+
keywords: {
|
|
2612
|
+
term: string;
|
|
2613
|
+
isMain: boolean;
|
|
2614
|
+
}[];
|
|
2615
|
+
};
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
previousProject?: {
|
|
2619
|
+
projectId: string;
|
|
2620
|
+
slug: string;
|
|
2621
|
+
};
|
|
2622
|
+
nextProject?: {
|
|
2623
|
+
projectId: string;
|
|
2624
|
+
slug: string;
|
|
2625
|
+
};
|
|
2626
|
+
}
|
|
2339
2627
|
interface CreateProjectResponseNonNullableFields$1 {
|
|
2340
2628
|
project?: {
|
|
2341
2629
|
coverImage?: {
|
|
@@ -3144,6 +3432,22 @@ interface Settings$2 {
|
|
|
3144
3432
|
/** User-selected keyword terms for a specific page. */
|
|
3145
3433
|
keywords?: Keyword$2[];
|
|
3146
3434
|
}
|
|
3435
|
+
interface GetProjectPageDataRequest {
|
|
3436
|
+
/** Slug of the project's current collection */
|
|
3437
|
+
collectionSlug: string;
|
|
3438
|
+
/** Project's slug */
|
|
3439
|
+
projectSlug: string;
|
|
3440
|
+
}
|
|
3441
|
+
interface GetProjectPageDataResponse {
|
|
3442
|
+
project?: Project$2;
|
|
3443
|
+
previousProject?: ProjectSlug;
|
|
3444
|
+
nextProject?: ProjectSlug;
|
|
3445
|
+
}
|
|
3446
|
+
interface ProjectSlug {
|
|
3447
|
+
/** Project id */
|
|
3448
|
+
projectId?: string;
|
|
3449
|
+
slug?: string;
|
|
3450
|
+
}
|
|
3147
3451
|
interface CreateProjectRequest {
|
|
3148
3452
|
/** Project to be created */
|
|
3149
3453
|
project: Project$2;
|
|
@@ -3351,6 +3655,49 @@ interface QueryProjectWithCollectionInfoResponse {
|
|
|
3351
3655
|
/** Paging metadata */
|
|
3352
3656
|
metadata?: PagingMetadataV2$2;
|
|
3353
3657
|
}
|
|
3658
|
+
interface GetProjectPageDataResponseNonNullableFields {
|
|
3659
|
+
project?: {
|
|
3660
|
+
coverImage?: {
|
|
3661
|
+
imageInfo: string;
|
|
3662
|
+
focalPoint?: {
|
|
3663
|
+
x: number;
|
|
3664
|
+
y: number;
|
|
3665
|
+
};
|
|
3666
|
+
};
|
|
3667
|
+
coverVideo?: {
|
|
3668
|
+
videoInfo: string;
|
|
3669
|
+
};
|
|
3670
|
+
collectionIds: string[];
|
|
3671
|
+
details: {
|
|
3672
|
+
text: string;
|
|
3673
|
+
label: string;
|
|
3674
|
+
}[];
|
|
3675
|
+
url: string;
|
|
3676
|
+
seoData?: {
|
|
3677
|
+
tags: {
|
|
3678
|
+
type: string;
|
|
3679
|
+
children: string;
|
|
3680
|
+
custom: boolean;
|
|
3681
|
+
disabled: boolean;
|
|
3682
|
+
}[];
|
|
3683
|
+
settings?: {
|
|
3684
|
+
preventAutoRedirect: boolean;
|
|
3685
|
+
keywords: {
|
|
3686
|
+
term: string;
|
|
3687
|
+
isMain: boolean;
|
|
3688
|
+
}[];
|
|
3689
|
+
};
|
|
3690
|
+
};
|
|
3691
|
+
};
|
|
3692
|
+
previousProject?: {
|
|
3693
|
+
projectId: string;
|
|
3694
|
+
slug: string;
|
|
3695
|
+
};
|
|
3696
|
+
nextProject?: {
|
|
3697
|
+
projectId: string;
|
|
3698
|
+
slug: string;
|
|
3699
|
+
};
|
|
3700
|
+
}
|
|
3354
3701
|
interface CreateProjectResponseNonNullableFields {
|
|
3355
3702
|
project?: {
|
|
3356
3703
|
coverImage?: {
|
|
@@ -3666,6 +4013,10 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
3666
4013
|
__responseType: Q;
|
|
3667
4014
|
__originalResponseType: R;
|
|
3668
4015
|
};
|
|
4016
|
+
declare function getProjectPageData(): __PublicMethodMetaInfo$1<'GET', {
|
|
4017
|
+
collectionSlug: string;
|
|
4018
|
+
projectSlug: string;
|
|
4019
|
+
}, GetProjectPageDataRequest, GetProjectPageDataRequest$1, GetProjectPageDataResponse & GetProjectPageDataResponseNonNullableFields, GetProjectPageDataResponse$1 & GetProjectPageDataResponseNonNullableFields$1>;
|
|
3669
4020
|
declare function createProject(): __PublicMethodMetaInfo$1<'POST', {}, CreateProjectRequest, CreateProjectRequest$1, CreateProjectResponse & CreateProjectResponseNonNullableFields, CreateProjectResponse$1 & CreateProjectResponseNonNullableFields$1>;
|
|
3670
4021
|
declare function getProject(): __PublicMethodMetaInfo$1<'GET', {
|
|
3671
4022
|
projectId: string;
|
|
@@ -3689,12 +4040,13 @@ declare const meta$1_bulkUpdateProjects: typeof bulkUpdateProjects;
|
|
|
3689
4040
|
declare const meta$1_createProject: typeof createProject;
|
|
3690
4041
|
declare const meta$1_deleteProject: typeof deleteProject;
|
|
3691
4042
|
declare const meta$1_getProject: typeof getProject;
|
|
4043
|
+
declare const meta$1_getProjectPageData: typeof getProjectPageData;
|
|
3692
4044
|
declare const meta$1_listProjects: typeof listProjects;
|
|
3693
4045
|
declare const meta$1_queryProjects: typeof queryProjects;
|
|
3694
4046
|
declare const meta$1_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
|
|
3695
4047
|
declare const meta$1_updateProject: typeof updateProject;
|
|
3696
4048
|
declare namespace meta$1 {
|
|
3697
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_bulkUpdateProjects as bulkUpdateProjects, meta$1_createProject as createProject, meta$1_deleteProject as deleteProject, meta$1_getProject as getProject, meta$1_listProjects as listProjects, meta$1_queryProjects as queryProjects, meta$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, meta$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
4049
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_bulkUpdateProjects as bulkUpdateProjects, meta$1_createProject as createProject, meta$1_deleteProject as deleteProject, meta$1_getProject as getProject, meta$1_getProjectPageData as getProjectPageData, meta$1_listProjects as listProjects, meta$1_queryProjects as queryProjects, meta$1_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, meta$1_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
3698
4050
|
}
|
|
3699
4051
|
|
|
3700
4052
|
interface ProjectInCollection$1 {
|
|
@@ -4577,4 +4929,4 @@ declare namespace meta {
|
|
|
4577
4929
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_queryProjectInCollections as queryProjectInCollections, meta_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4578
4930
|
}
|
|
4579
4931
|
|
|
4580
|
-
export { meta$
|
|
4932
|
+
export { meta$4 as collections, meta$3 as portfolioSettings, meta as projectInCollections, meta$2 as projectItems, meta$1 as projects };
|