@fluid-app/fluid-cli-portal 0.1.82 → 0.1.84

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.
@@ -6737,7 +6737,7 @@ function transformProfile(profile, navIdToSlug, themeIdToSlug) {
6737
6737
  }
6738
6738
  };
6739
6739
  }
6740
- const PORTAL_SCHEMA_BASE_URL = `https://assets.fluid.app/docs/schema/portal/1.4.0`;
6740
+ const PORTAL_SCHEMA_BASE_URL = `https://assets.fluid.app/docs/schema/portal/1.5.0`;
6741
6741
  const PORTAL_RESOURCE_KINDS = [
6742
6742
  "definition",
6743
6743
  "screen",
@@ -13012,7 +13012,7 @@ var require__2020 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
13012
13012
  const generatedSchemas = {
13013
13013
  "data-source": {
13014
13014
  $schema: "https://json-schema.org/draft/2020-12/schema",
13015
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
13015
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
13016
13016
  title: "Fluid Portal Data Source",
13017
13017
  examples: [{ sources: [{
13018
13018
  type: "custom",
@@ -13284,7 +13284,7 @@ const generatedSchemas = {
13284
13284
  },
13285
13285
  "theme-config": {
13286
13286
  $schema: "https://json-schema.org/draft/2020-12/schema",
13287
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/theme-config.schema.json",
13287
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/theme-config.schema.json",
13288
13288
  title: "Fluid Portal Structured Theme Configuration",
13289
13289
  examples: [{
13290
13290
  id: "default",
@@ -14314,7 +14314,7 @@ const generatedSchemas = {
14314
14314
  },
14315
14315
  widget: {
14316
14316
  $schema: "https://json-schema.org/draft/2020-12/schema",
14317
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/widget.schema.json",
14317
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/widget.schema.json",
14318
14318
  title: "Fluid Portal Widget Node",
14319
14319
  examples: [{
14320
14320
  id: "welcome",
@@ -14633,7 +14633,7 @@ const generatedSchemas = {
14633
14633
  description: "Properties accepted by the registered widget."
14634
14634
  },
14635
14635
  dataSource: {
14636
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
14636
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
14637
14637
  description: "Optional data-source configuration that populates widget props."
14638
14638
  },
14639
14639
  columnIndex: {
@@ -14868,7 +14868,7 @@ const generatedSchemas = {
14868
14868
  description: "Properties accepted by the registered widget."
14869
14869
  },
14870
14870
  dataSource: {
14871
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
14871
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
14872
14872
  description: "Optional data-source configuration that populates widget props."
14873
14873
  },
14874
14874
  columnIndex: {
@@ -15083,7 +15083,7 @@ const generatedSchemas = {
15083
15083
  description: "Properties accepted by the registered widget."
15084
15084
  },
15085
15085
  dataSource: {
15086
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
15086
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
15087
15087
  description: "Optional data-source configuration that populates widget props."
15088
15088
  },
15089
15089
  columnIndex: {
@@ -15296,7 +15296,7 @@ const generatedSchemas = {
15296
15296
  description: "Properties accepted by the registered widget."
15297
15297
  },
15298
15298
  dataSource: {
15299
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
15299
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
15300
15300
  description: "Optional data-source configuration that populates widget props."
15301
15301
  },
15302
15302
  columnIndex: {
@@ -15531,7 +15531,7 @@ const generatedSchemas = {
15531
15531
  description: "Properties accepted by the registered widget."
15532
15532
  },
15533
15533
  dataSource: {
15534
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
15534
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
15535
15535
  description: "Optional data-source configuration that populates widget props."
15536
15536
  },
15537
15537
  columnIndex: {
@@ -15815,7 +15815,7 @@ const generatedSchemas = {
15815
15815
  description: "Properties accepted by the registered widget."
15816
15816
  },
15817
15817
  dataSource: {
15818
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
15818
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
15819
15819
  description: "Optional data-source configuration that populates widget props."
15820
15820
  },
15821
15821
  columnIndex: {
@@ -15954,6 +15954,30 @@ const generatedSchemas = {
15954
15954
  description: "Maximum number of catch ups to display",
15955
15955
  default: 5
15956
15956
  },
15957
+ contactScreenSlug: {
15958
+ type: "string",
15959
+ title: "Contacts Screen",
15960
+ description: "Screen to open when a catch-up targets a contact (e.g. reply, message).",
15961
+ default: "contacts"
15962
+ },
15963
+ messagingScreenSlug: {
15964
+ type: "string",
15965
+ title: "Messaging Screen",
15966
+ description: "Screen to open when a catch-up targets a conversation.",
15967
+ default: "messages"
15968
+ },
15969
+ shopScreenSlug: {
15970
+ type: "string",
15971
+ title: "Shop Screen",
15972
+ description: "Screen to open when a catch-up targets a product.",
15973
+ default: "shop"
15974
+ },
15975
+ shareablesScreenSlug: {
15976
+ type: "string",
15977
+ title: "Media Screen",
15978
+ description: "Screen to open when a catch-up targets media.",
15979
+ default: "share"
15980
+ },
15957
15981
  padding: {
15958
15982
  enum: [
15959
15983
  0,
@@ -16012,7 +16036,7 @@ const generatedSchemas = {
16012
16036
  description: "Properties accepted by the registered widget."
16013
16037
  },
16014
16038
  dataSource: {
16015
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
16039
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
16016
16040
  description: "Optional data-source configuration that populates widget props."
16017
16041
  },
16018
16042
  columnIndex: {
@@ -16266,7 +16290,7 @@ const generatedSchemas = {
16266
16290
  description: "Properties accepted by the registered widget."
16267
16291
  },
16268
16292
  dataSource: {
16269
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
16293
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
16270
16294
  description: "Optional data-source configuration that populates widget props."
16271
16295
  },
16272
16296
  columnIndex: {
@@ -16360,7 +16384,7 @@ const generatedSchemas = {
16360
16384
  description: "Properties accepted by the registered widget."
16361
16385
  },
16362
16386
  dataSource: {
16363
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
16387
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
16364
16388
  description: "Optional data-source configuration that populates widget props."
16365
16389
  },
16366
16390
  columnIndex: {
@@ -16559,7 +16583,7 @@ const generatedSchemas = {
16559
16583
  description: "Properties accepted by the registered widget."
16560
16584
  },
16561
16585
  dataSource: {
16562
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
16586
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
16563
16587
  description: "Optional data-source configuration that populates widget props."
16564
16588
  },
16565
16589
  columnIndex: {
@@ -16727,7 +16751,7 @@ const generatedSchemas = {
16727
16751
  description: "Properties accepted by the registered widget."
16728
16752
  },
16729
16753
  dataSource: {
16730
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
16754
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
16731
16755
  description: "Optional data-source configuration that populates widget props."
16732
16756
  },
16733
16757
  columnIndex: {
@@ -16876,7 +16900,7 @@ const generatedSchemas = {
16876
16900
  description: "Properties accepted by the registered widget."
16877
16901
  },
16878
16902
  dataSource: {
16879
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
16903
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
16880
16904
  description: "Optional data-source configuration that populates widget props."
16881
16905
  },
16882
16906
  columnIndex: {
@@ -17112,7 +17136,7 @@ const generatedSchemas = {
17112
17136
  description: "Properties accepted by the registered widget."
17113
17137
  },
17114
17138
  dataSource: {
17115
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
17139
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
17116
17140
  description: "Optional data-source configuration that populates widget props."
17117
17141
  },
17118
17142
  columnIndex: {
@@ -17559,7 +17583,7 @@ const generatedSchemas = {
17559
17583
  description: "Properties accepted by the registered widget."
17560
17584
  },
17561
17585
  dataSource: {
17562
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
17586
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
17563
17587
  description: "Optional data-source configuration that populates widget props."
17564
17588
  },
17565
17589
  columnIndex: {
@@ -17691,7 +17715,7 @@ const generatedSchemas = {
17691
17715
  description: "Properties accepted by the registered widget."
17692
17716
  },
17693
17717
  dataSource: {
17694
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
17718
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
17695
17719
  description: "Optional data-source configuration that populates widget props."
17696
17720
  },
17697
17721
  columnIndex: {
@@ -17942,7 +17966,7 @@ const generatedSchemas = {
17942
17966
  description: "Properties accepted by the registered widget."
17943
17967
  },
17944
17968
  dataSource: {
17945
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
17969
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
17946
17970
  description: "Optional data-source configuration that populates widget props."
17947
17971
  },
17948
17972
  columnIndex: {
@@ -18159,7 +18183,7 @@ const generatedSchemas = {
18159
18183
  description: "Properties accepted by the registered widget."
18160
18184
  },
18161
18185
  dataSource: {
18162
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
18186
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
18163
18187
  description: "Optional data-source configuration that populates widget props."
18164
18188
  },
18165
18189
  columnIndex: {
@@ -18397,7 +18421,7 @@ const generatedSchemas = {
18397
18421
  description: "Properties accepted by the registered widget."
18398
18422
  },
18399
18423
  dataSource: {
18400
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
18424
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
18401
18425
  description: "Optional data-source configuration that populates widget props."
18402
18426
  },
18403
18427
  columnIndex: {
@@ -19099,7 +19123,7 @@ const generatedSchemas = {
19099
19123
  description: "Properties accepted by the registered widget."
19100
19124
  },
19101
19125
  dataSource: {
19102
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
19126
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
19103
19127
  description: "Optional data-source configuration that populates widget props."
19104
19128
  },
19105
19129
  columnIndex: {
@@ -19311,7 +19335,7 @@ const generatedSchemas = {
19311
19335
  description: "Properties accepted by the registered widget."
19312
19336
  },
19313
19337
  dataSource: {
19314
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
19338
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
19315
19339
  description: "Optional data-source configuration that populates widget props."
19316
19340
  },
19317
19341
  columnIndex: {
@@ -19527,7 +19551,7 @@ const generatedSchemas = {
19527
19551
  description: "Properties accepted by the registered widget."
19528
19552
  },
19529
19553
  dataSource: {
19530
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
19554
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
19531
19555
  description: "Optional data-source configuration that populates widget props."
19532
19556
  },
19533
19557
  columnIndex: {
@@ -19625,7 +19649,7 @@ const generatedSchemas = {
19625
19649
  description: "Properties accepted by the registered widget."
19626
19650
  },
19627
19651
  dataSource: {
19628
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
19652
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
19629
19653
  description: "Optional data-source configuration that populates widget props."
19630
19654
  },
19631
19655
  columnIndex: {
@@ -19812,7 +19836,7 @@ const generatedSchemas = {
19812
19836
  description: "Properties accepted by the registered widget."
19813
19837
  },
19814
19838
  dataSource: {
19815
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
19839
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
19816
19840
  description: "Optional data-source configuration that populates widget props."
19817
19841
  },
19818
19842
  columnIndex: {
@@ -19853,7 +19877,7 @@ const generatedSchemas = {
19853
19877
  description: "Properties accepted by the registered widget."
19854
19878
  },
19855
19879
  dataSource: {
19856
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
19880
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
19857
19881
  description: "Optional data-source configuration that populates widget props."
19858
19882
  },
19859
19883
  columnIndex: {
@@ -20099,7 +20123,7 @@ const generatedSchemas = {
20099
20123
  description: "Properties accepted by the registered widget."
20100
20124
  },
20101
20125
  dataSource: {
20102
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
20126
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
20103
20127
  description: "Optional data-source configuration that populates widget props."
20104
20128
  },
20105
20129
  columnIndex: {
@@ -20332,7 +20356,7 @@ const generatedSchemas = {
20332
20356
  description: "Properties accepted by the registered widget."
20333
20357
  },
20334
20358
  dataSource: {
20335
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
20359
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
20336
20360
  description: "Optional data-source configuration that populates widget props."
20337
20361
  },
20338
20362
  columnIndex: {
@@ -20530,7 +20554,7 @@ const generatedSchemas = {
20530
20554
  description: "Properties accepted by the registered widget."
20531
20555
  },
20532
20556
  dataSource: {
20533
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
20557
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
20534
20558
  description: "Optional data-source configuration that populates widget props."
20535
20559
  },
20536
20560
  columnIndex: {
@@ -20778,7 +20802,7 @@ const generatedSchemas = {
20778
20802
  description: "Properties accepted by the registered widget."
20779
20803
  },
20780
20804
  dataSource: {
20781
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
20805
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
20782
20806
  description: "Optional data-source configuration that populates widget props."
20783
20807
  },
20784
20808
  columnIndex: {
@@ -20813,7 +20837,7 @@ const generatedSchemas = {
20813
20837
  description: "Package-defined serializable widget properties."
20814
20838
  },
20815
20839
  dataSource: {
20816
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/data-source.schema.json",
20840
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/data-source.schema.json",
20817
20841
  description: "Optional data-source configuration that populates widget props."
20818
20842
  },
20819
20843
  columnIndex: {
@@ -20865,7 +20889,7 @@ const generatedSchemas = {
20865
20889
  },
20866
20890
  definition: {
20867
20891
  $schema: "https://json-schema.org/draft/2020-12/schema",
20868
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/definition.schema.json",
20892
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/definition.schema.json",
20869
20893
  title: "Fluid Portal Definition",
20870
20894
  examples: [{ name: "Partner Portal" }],
20871
20895
  type: "object",
@@ -20886,7 +20910,7 @@ const generatedSchemas = {
20886
20910
  },
20887
20911
  screen: {
20888
20912
  $schema: "https://json-schema.org/draft/2020-12/schema",
20889
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/screen.schema.json",
20913
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/screen.schema.json",
20890
20914
  title: "Fluid Portal Screen",
20891
20915
  examples: [{
20892
20916
  name: "home",
@@ -20906,7 +20930,7 @@ const generatedSchemas = {
20906
20930
  component_tree: {
20907
20931
  type: "array",
20908
20932
  maxItems: 1,
20909
- items: { $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/widget.schema.json" },
20933
+ items: { $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/widget.schema.json" },
20910
20934
  description: "Zero or one root widget nodes for this screen."
20911
20935
  }
20912
20936
  },
@@ -20916,7 +20940,7 @@ const generatedSchemas = {
20916
20940
  },
20917
20941
  theme: {
20918
20942
  $schema: "https://json-schema.org/draft/2020-12/schema",
20919
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/theme.schema.json",
20943
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/theme.schema.json",
20920
20944
  title: "Fluid Portal Theme",
20921
20945
  examples: [{
20922
20946
  name: "Default",
@@ -21044,7 +21068,7 @@ const generatedSchemas = {
21044
21068
  description: "Human-readable theme name referenced by profiles."
21045
21069
  },
21046
21070
  config: {
21047
- $ref: "https://assets.fluid.app/docs/schema/portal/1.4.0/theme-config.schema.json",
21071
+ $ref: "https://assets.fluid.app/docs/schema/portal/1.5.0/theme-config.schema.json",
21048
21072
  description: "Complete structured theme token configuration."
21049
21073
  },
21050
21074
  active: {
@@ -21062,7 +21086,7 @@ const generatedSchemas = {
21062
21086
  },
21063
21087
  navigation: {
21064
21088
  $schema: "https://json-schema.org/draft/2020-12/schema",
21065
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/navigation.schema.json",
21089
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/navigation.schema.json",
21066
21090
  title: "Fluid Portal Navigation",
21067
21091
  examples: [{
21068
21092
  name: "Primary",
@@ -21153,7 +21177,7 @@ const generatedSchemas = {
21153
21177
  },
21154
21178
  profile: {
21155
21179
  $schema: "https://json-schema.org/draft/2020-12/schema",
21156
- $id: "https://assets.fluid.app/docs/schema/portal/1.4.0/profile.schema.json",
21180
+ $id: "https://assets.fluid.app/docs/schema/portal/1.5.0/profile.schema.json",
21157
21181
  title: "Fluid Portal Profile",
21158
21182
  examples: [{
21159
21183
  name: "Everyone",
@@ -21621,4 +21645,4 @@ const pullCommand = new Command("pull").description("Pull a Fluid OS definition'
21621
21645
  //#endregion
21622
21646
  export { fluidOsApi as A, removeMapping as C, writeMappings as D, updateMapping as E, createFluidOsHeyApiClient as M, ApiError as N, atomicWriteFile as O, __exportAll as P, readMappings as S, resolveSlugToId as T, diffAgainstSnapshot as _, buildNavigationIdToSlugMap as a, writeSnapshot as b, transformNavigation as c, transformScreen as d, transformTheme as f, computeFileHash as g, collectWidgetCapabilityGrants as h, buildIdToSlugMap as i, toFluidOsDynamicObject as j, createFluidOsClient as k, transformNavigationItems as l, collectSnapshotWidgetCapabilityGrants as m, pull_exports as n, buildThemeIdToSlugMap as o, buildSnapshot as p, validatePortalResource as r, deriveScreenSlug as s, pullCommand as t, transformProfile as u, readSnapshot as v, resolveIdToSlug as w, deriveSlug as x, selectLegacyNetworkWidgetGrants as y };
21623
21647
 
21624
- //# sourceMappingURL=pull-DhGfFqnU.mjs.map
21648
+ //# sourceMappingURL=pull-B-vcf1uV.mjs.map