@wix/portfolio 1.0.69 → 1.0.71

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/portfolio",
3
- "version": "1.0.69",
3
+ "version": "1.0.71",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -19,10 +19,10 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "@wix/portfolio_collections": "1.0.14",
22
- "@wix/portfolio_portfolio-settings": "1.0.1",
22
+ "@wix/portfolio_portfolio-settings": "1.0.2",
23
23
  "@wix/portfolio_project-in-collections": "1.0.15",
24
- "@wix/portfolio_project-items": "1.0.19",
25
- "@wix/portfolio_projects": "1.0.19"
24
+ "@wix/portfolio_project-items": "1.0.20",
25
+ "@wix/portfolio_projects": "1.0.21"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
@@ -47,5 +47,5 @@
47
47
  "fqdn": ""
48
48
  }
49
49
  },
50
- "falconPackageHash": "48b77fdb492305fdb4f4e9d844c78e5b30fdb2da87cdab232d9baed0"
50
+ "falconPackageHash": "3f61c524653dfdde1c3c54dea9d18dd7c483da07bc7801b6b7d8924f"
51
51
  }
@@ -532,33 +532,47 @@ declare namespace context$4 {
532
532
  }
533
533
 
534
534
  interface PortfolioSettings {
535
+ /** The revision of the portfolio settings */
535
536
  revision?: string | null;
537
+ /** The project item settings */
536
538
  projectItemSettings?: ProjectItemSettings;
539
+ /** The media settings */
537
540
  mediaSettings?: MediaSettings;
541
+ /** The site menu settings */
538
542
  siteMenuSettings?: SiteMenuSettings;
539
543
  }
540
544
  interface ProjectItemSettings {
545
+ /** The direction to add items */
541
546
  addItemDirection?: AddItemDirection;
547
+ /** The default item name */
542
548
  defaultItemName?: DefaultItemName;
543
549
  }
544
550
  declare enum AddItemDirection {
551
+ /** Add items to the start of the gallery */
545
552
  GALLERY_START = "GALLERY_START",
553
+ /** Add items to the end of the gallery */
546
554
  GALLERY_END = "GALLERY_END"
547
555
  }
548
556
  declare enum DefaultItemName {
557
+ /** Use the file name as the default item name */
549
558
  FILE_NAME = "FILE_NAME",
559
+ /** Use an empty string as the default item name */
550
560
  EMPTY = "EMPTY"
551
561
  }
552
562
  interface MediaSettings {
563
+ /** The folder ID for the media */
553
564
  folderId?: string | null;
554
565
  }
555
566
  interface SiteMenuSettings {
567
+ /** Whether to automatically update the site menu */
556
568
  autoUpdateMenu?: boolean | null;
557
569
  }
558
570
  interface GetPortfolioSettingsResponse {
571
+ /** The portfolio settings */
559
572
  portfolioSettings?: PortfolioSettings;
560
573
  }
561
574
  interface UpdatePortfolioSettingsResponse {
575
+ /** The updated portfolio settings */
562
576
  updatedPortfolioSettings?: PortfolioSettings;
563
577
  }
564
578
  interface GetPortfolioSettingsResponseNonNullableFields {
@@ -692,6 +706,7 @@ interface Link {
692
706
  target?: string | null;
693
707
  }
694
708
  interface GenerateTokenForProjectItemsResponse {
709
+ /** Generated media tokens for project items */
695
710
  mediaTokens?: ProjectItemMediaToken[];
696
711
  }
697
712
  interface ProjectItemMediaToken {
@@ -1311,13 +1326,17 @@ interface Settings$1 {
1311
1326
  keywords?: Keyword$1[];
1312
1327
  }
1313
1328
  interface GetProjectPageDataResponse {
1329
+ /** Project data */
1314
1330
  project?: Project$1;
1331
+ /** Previous project slug */
1315
1332
  previousProject?: ProjectSlug;
1333
+ /** Next project slug */
1316
1334
  nextProject?: ProjectSlug;
1317
1335
  }
1318
1336
  interface ProjectSlug {
1319
1337
  /** Project id */
1320
1338
  projectId?: string;
1339
+ /** Project slug */
1321
1340
  slug?: string;
1322
1341
  }
1323
1342
  interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
@@ -921,44 +921,61 @@ declare namespace index_d$4 {
921
921
  }
922
922
 
923
923
  interface PortfolioSettings {
924
+ /** The revision of the portfolio settings */
924
925
  revision?: string | null;
926
+ /** The project item settings */
925
927
  projectItemSettings?: ProjectItemSettings;
928
+ /** The media settings */
926
929
  mediaSettings?: MediaSettings;
930
+ /** The site menu settings */
927
931
  siteMenuSettings?: SiteMenuSettings;
928
932
  }
929
933
  interface ProjectItemSettings {
934
+ /** The direction to add items */
930
935
  addItemDirection?: AddItemDirection;
936
+ /** The default item name */
931
937
  defaultItemName?: DefaultItemName;
932
938
  }
933
939
  declare enum AddItemDirection {
940
+ /** Add items to the start of the gallery */
934
941
  GALLERY_START = "GALLERY_START",
942
+ /** Add items to the end of the gallery */
935
943
  GALLERY_END = "GALLERY_END"
936
944
  }
937
945
  declare enum DefaultItemName {
946
+ /** Use the file name as the default item name */
938
947
  FILE_NAME = "FILE_NAME",
948
+ /** Use an empty string as the default item name */
939
949
  EMPTY = "EMPTY"
940
950
  }
941
951
  interface MediaSettings {
952
+ /** The folder ID for the media */
942
953
  folderId?: string | null;
943
954
  }
944
955
  interface SiteMenuSettings {
956
+ /** Whether to automatically update the site menu */
945
957
  autoUpdateMenu?: boolean | null;
946
958
  }
947
959
  interface CreatePortfolioSettingsRequest {
960
+ /** The portfolio settings to create */
948
961
  portfolioSettings: PortfolioSettings;
949
962
  }
950
963
  interface CreatePortfolioSettingsResponse {
964
+ /** The created portfolio settings */
951
965
  portfolioSettings?: PortfolioSettings;
952
966
  }
953
967
  interface GetPortfolioSettingsRequest {
954
968
  }
955
969
  interface GetPortfolioSettingsResponse {
970
+ /** The portfolio settings */
956
971
  portfolioSettings?: PortfolioSettings;
957
972
  }
958
973
  interface UpdatePortfolioSettingsRequest {
974
+ /** The portfolio settings to update */
959
975
  portfolioSettings: PortfolioSettings;
960
976
  }
961
977
  interface UpdatePortfolioSettingsResponse {
978
+ /** The updated portfolio settings */
962
979
  updatedPortfolioSettings?: PortfolioSettings;
963
980
  }
964
981
  interface DomainEvent$3 extends DomainEventBodyOneOf$3 {
@@ -1271,6 +1288,7 @@ interface GenerateTokenForProjectItemsRequest {
1271
1288
  mediaIds: string[];
1272
1289
  }
1273
1290
  interface GenerateTokenForProjectItemsResponse {
1291
+ /** Generated media tokens for project items */
1274
1292
  mediaTokens?: ProjectItemMediaToken[];
1275
1293
  }
1276
1294
  interface ProjectItemMediaToken {
@@ -2318,13 +2336,17 @@ interface GetProjectPageDataRequest {
2318
2336
  projectSlug: string;
2319
2337
  }
2320
2338
  interface GetProjectPageDataResponse {
2339
+ /** Project data */
2321
2340
  project?: Project$1;
2341
+ /** Previous project slug */
2322
2342
  previousProject?: ProjectSlug;
2343
+ /** Next project slug */
2323
2344
  nextProject?: ProjectSlug;
2324
2345
  }
2325
2346
  interface ProjectSlug {
2326
2347
  /** Project id */
2327
2348
  projectId?: string;
2349
+ /** Project slug */
2328
2350
  slug?: string;
2329
2351
  }
2330
2352
  interface CreateNewPortfolioAppRequest {
@@ -854,44 +854,61 @@ declare namespace meta$4 {
854
854
  }
855
855
 
856
856
  interface PortfolioSettings$1 {
857
+ /** The revision of the portfolio settings */
857
858
  revision?: string | null;
859
+ /** The project item settings */
858
860
  projectItemSettings?: ProjectItemSettings$1;
861
+ /** The media settings */
859
862
  mediaSettings?: MediaSettings$1;
863
+ /** The site menu settings */
860
864
  siteMenuSettings?: SiteMenuSettings$1;
861
865
  }
862
866
  interface ProjectItemSettings$1 {
867
+ /** The direction to add items */
863
868
  addItemDirection?: AddItemDirection$1;
869
+ /** The default item name */
864
870
  defaultItemName?: DefaultItemName$1;
865
871
  }
866
872
  declare enum AddItemDirection$1 {
873
+ /** Add items to the start of the gallery */
867
874
  GALLERY_START = "GALLERY_START",
875
+ /** Add items to the end of the gallery */
868
876
  GALLERY_END = "GALLERY_END"
869
877
  }
870
878
  declare enum DefaultItemName$1 {
879
+ /** Use the file name as the default item name */
871
880
  FILE_NAME = "FILE_NAME",
881
+ /** Use an empty string as the default item name */
872
882
  EMPTY = "EMPTY"
873
883
  }
874
884
  interface MediaSettings$1 {
885
+ /** The folder ID for the media */
875
886
  folderId?: string | null;
876
887
  }
877
888
  interface SiteMenuSettings$1 {
889
+ /** Whether to automatically update the site menu */
878
890
  autoUpdateMenu?: boolean | null;
879
891
  }
880
892
  interface CreatePortfolioSettingsRequest$1 {
893
+ /** The portfolio settings to create */
881
894
  portfolioSettings: PortfolioSettings$1;
882
895
  }
883
896
  interface CreatePortfolioSettingsResponse$1 {
897
+ /** The created portfolio settings */
884
898
  portfolioSettings?: PortfolioSettings$1;
885
899
  }
886
900
  interface GetPortfolioSettingsRequest$1 {
887
901
  }
888
902
  interface GetPortfolioSettingsResponse$1 {
903
+ /** The portfolio settings */
889
904
  portfolioSettings?: PortfolioSettings$1;
890
905
  }
891
906
  interface UpdatePortfolioSettingsRequest$1 {
907
+ /** The portfolio settings to update */
892
908
  portfolioSettings: PortfolioSettings$1;
893
909
  }
894
910
  interface UpdatePortfolioSettingsResponse$1 {
911
+ /** The updated portfolio settings */
895
912
  updatedPortfolioSettings?: PortfolioSettings$1;
896
913
  }
897
914
  interface CreatePortfolioSettingsResponseNonNullableFields$1 {
@@ -920,44 +937,61 @@ interface UpdatePortfolioSettingsResponseNonNullableFields$1 {
920
937
  }
921
938
 
922
939
  interface PortfolioSettings {
940
+ /** The revision of the portfolio settings */
923
941
  revision?: string | null;
942
+ /** The project item settings */
924
943
  projectItemSettings?: ProjectItemSettings;
944
+ /** The media settings */
925
945
  mediaSettings?: MediaSettings;
946
+ /** The site menu settings */
926
947
  siteMenuSettings?: SiteMenuSettings;
927
948
  }
928
949
  interface ProjectItemSettings {
950
+ /** The direction to add items */
929
951
  addItemDirection?: AddItemDirection;
952
+ /** The default item name */
930
953
  defaultItemName?: DefaultItemName;
931
954
  }
932
955
  declare enum AddItemDirection {
956
+ /** Add items to the start of the gallery */
933
957
  GALLERY_START = "GALLERY_START",
958
+ /** Add items to the end of the gallery */
934
959
  GALLERY_END = "GALLERY_END"
935
960
  }
936
961
  declare enum DefaultItemName {
962
+ /** Use the file name as the default item name */
937
963
  FILE_NAME = "FILE_NAME",
964
+ /** Use an empty string as the default item name */
938
965
  EMPTY = "EMPTY"
939
966
  }
940
967
  interface MediaSettings {
968
+ /** The folder ID for the media */
941
969
  folderId?: string | null;
942
970
  }
943
971
  interface SiteMenuSettings {
972
+ /** Whether to automatically update the site menu */
944
973
  autoUpdateMenu?: boolean | null;
945
974
  }
946
975
  interface CreatePortfolioSettingsRequest {
976
+ /** The portfolio settings to create */
947
977
  portfolioSettings: PortfolioSettings;
948
978
  }
949
979
  interface CreatePortfolioSettingsResponse {
980
+ /** The created portfolio settings */
950
981
  portfolioSettings?: PortfolioSettings;
951
982
  }
952
983
  interface GetPortfolioSettingsRequest {
953
984
  }
954
985
  interface GetPortfolioSettingsResponse {
986
+ /** The portfolio settings */
955
987
  portfolioSettings?: PortfolioSettings;
956
988
  }
957
989
  interface UpdatePortfolioSettingsRequest {
990
+ /** The portfolio settings to update */
958
991
  portfolioSettings: PortfolioSettings;
959
992
  }
960
993
  interface UpdatePortfolioSettingsResponse {
994
+ /** The updated portfolio settings */
961
995
  updatedPortfolioSettings?: PortfolioSettings;
962
996
  }
963
997
  interface CreatePortfolioSettingsResponseNonNullableFields {
@@ -1152,6 +1186,7 @@ interface GenerateTokenForProjectItemsRequest$1 {
1152
1186
  mediaIds: string[];
1153
1187
  }
1154
1188
  interface GenerateTokenForProjectItemsResponse$1 {
1189
+ /** Generated media tokens for project items */
1155
1190
  mediaTokens?: ProjectItemMediaToken$1[];
1156
1191
  }
1157
1192
  interface ProjectItemMediaToken$1 {
@@ -1770,6 +1805,7 @@ interface GenerateTokenForProjectItemsRequest {
1770
1805
  mediaIds: string[];
1771
1806
  }
1772
1807
  interface GenerateTokenForProjectItemsResponse {
1808
+ /** Generated media tokens for project items */
1773
1809
  mediaTokens?: ProjectItemMediaToken[];
1774
1810
  }
1775
1811
  interface ProjectItemMediaToken {
@@ -2359,13 +2395,17 @@ interface GetProjectPageDataRequest$1 {
2359
2395
  projectSlug: string;
2360
2396
  }
2361
2397
  interface GetProjectPageDataResponse$1 {
2398
+ /** Project data */
2362
2399
  project?: Project$3;
2400
+ /** Previous project slug */
2363
2401
  previousProject?: ProjectSlug$1;
2402
+ /** Next project slug */
2364
2403
  nextProject?: ProjectSlug$1;
2365
2404
  }
2366
2405
  interface ProjectSlug$1 {
2367
2406
  /** Project id */
2368
2407
  projectId?: string;
2408
+ /** Project slug */
2369
2409
  slug?: string;
2370
2410
  }
2371
2411
  interface CreateProjectRequest$1 {
@@ -3480,13 +3520,17 @@ interface GetProjectPageDataRequest {
3480
3520
  projectSlug: string;
3481
3521
  }
3482
3522
  interface GetProjectPageDataResponse {
3523
+ /** Project data */
3483
3524
  project?: Project$2;
3525
+ /** Previous project slug */
3484
3526
  previousProject?: ProjectSlug;
3527
+ /** Next project slug */
3485
3528
  nextProject?: ProjectSlug;
3486
3529
  }
3487
3530
  interface ProjectSlug {
3488
3531
  /** Project id */
3489
3532
  projectId?: string;
3533
+ /** Project slug */
3490
3534
  slug?: string;
3491
3535
  }
3492
3536
  interface CreateProjectRequest {