@uniformdev/cli 20.31.1-alpha.7 → 20.32.1-alpha.3

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.
Files changed (2) hide show
  1. package/dist/index.mjs +424 -344
  2. package/package.json +9 -9
package/dist/index.mjs CHANGED
@@ -20,7 +20,7 @@ import {
20
20
 
21
21
  // src/index.ts
22
22
  import * as dotenv from "dotenv";
23
- import yargs35 from "yargs";
23
+ import yargs36 from "yargs";
24
24
  import { hideBin } from "yargs/helpers";
25
25
 
26
26
  // src/commands/canvas/index.ts
@@ -584,12 +584,12 @@ function getFileClient(options) {
584
584
  var AssetGetModule = {
585
585
  command: "get <id>",
586
586
  describe: "Get an asset",
587
- builder: (yargs36) => withConfiguration(
587
+ builder: (yargs37) => withConfiguration(
588
588
  withDebugOptions(
589
589
  withFormatOptions(
590
590
  withApiOptions(
591
591
  withProjectOptions(
592
- yargs36.positional("id", { demandOption: true, describe: "Asset ID to fetch" })
592
+ yargs37.positional("id", { demandOption: true, describe: "Asset ID to fetch" })
593
593
  )
594
594
  )
595
595
  )
@@ -610,7 +610,7 @@ var AssetGetModule = {
610
610
  var AssetListModule = {
611
611
  command: "list",
612
612
  describe: "List assets",
613
- builder: (yargs36) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs36))))),
613
+ builder: (yargs37) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs37))))),
614
614
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
615
615
  const fetch2 = nodeFetchProxy(proxy, verbose);
616
616
  const client = getAssetClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -1163,8 +1163,8 @@ function prepCompositionForDisk(composition) {
1163
1163
  delete prepped.state;
1164
1164
  return prepped;
1165
1165
  }
1166
- function withStateOptions(yargs36, defaultState = "preview") {
1167
- return yargs36.option("state", {
1166
+ function withStateOptions(yargs37, defaultState = "preview") {
1167
+ return yargs37.option("state", {
1168
1168
  type: "string",
1169
1169
  describe: `State to fetch.`,
1170
1170
  choices: ["preview", "published"],
@@ -1246,12 +1246,12 @@ function writeCanvasPackage(filename, packageContents) {
1246
1246
  var AssetPullModule = {
1247
1247
  command: "pull <directory>",
1248
1248
  describe: "Pulls all assets to local files in a directory",
1249
- builder: (yargs36) => withConfiguration(
1249
+ builder: (yargs37) => withConfiguration(
1250
1250
  withApiOptions(
1251
1251
  withDebugOptions(
1252
1252
  withProjectOptions(
1253
1253
  withDiffOptions(
1254
- yargs36.positional("directory", {
1254
+ yargs37.positional("directory", {
1255
1255
  describe: "Directory to save the assets to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
1256
1256
  type: "string"
1257
1257
  }).option("format", {
@@ -1363,12 +1363,12 @@ var AssetPullModule = {
1363
1363
  var AssetPushModule = {
1364
1364
  command: "push <directory>",
1365
1365
  describe: "Pushes all assets from files in a directory to Uniform",
1366
- builder: (yargs36) => withConfiguration(
1366
+ builder: (yargs37) => withConfiguration(
1367
1367
  withApiOptions(
1368
1368
  withDebugOptions(
1369
1369
  withProjectOptions(
1370
1370
  withDiffOptions(
1371
- yargs36.positional("directory", {
1371
+ yargs37.positional("directory", {
1372
1372
  describe: "Directory to read the assets from. If a filename is used, a package will be read instead.",
1373
1373
  type: "string"
1374
1374
  }).option("mode", {
@@ -1492,10 +1492,10 @@ var AssetRemoveModule = {
1492
1492
  command: "remove <id>",
1493
1493
  aliases: ["delete", "rm"],
1494
1494
  describe: "Delete an asset",
1495
- builder: (yargs36) => withConfiguration(
1495
+ builder: (yargs37) => withConfiguration(
1496
1496
  withDebugOptions(
1497
1497
  withApiOptions(
1498
- withProjectOptions(yargs36.positional("id", { demandOption: true, describe: "Asset ID to delete" }))
1498
+ withProjectOptions(yargs37.positional("id", { demandOption: true, describe: "Asset ID to delete" }))
1499
1499
  )
1500
1500
  )
1501
1501
  ),
@@ -1516,11 +1516,11 @@ var AssetUpdateModule = {
1516
1516
  command: "update <filename>",
1517
1517
  aliases: ["put"],
1518
1518
  describe: "Insert or update an asset",
1519
- builder: (yargs36) => withConfiguration(
1519
+ builder: (yargs37) => withConfiguration(
1520
1520
  withDebugOptions(
1521
1521
  withApiOptions(
1522
1522
  withProjectOptions(
1523
- yargs36.positional("filename", { demandOption: true, describe: "Asset file to put" })
1523
+ yargs37.positional("filename", { demandOption: true, describe: "Asset file to put" })
1524
1524
  )
1525
1525
  )
1526
1526
  )
@@ -1546,7 +1546,7 @@ var AssetUpdateModule = {
1546
1546
  var AssetModule = {
1547
1547
  command: "asset <command>",
1548
1548
  describe: "Commands for Assets",
1549
- builder: (yargs36) => yargs36.command(AssetGetModule).command(AssetListModule).command(AssetRemoveModule).command(AssetUpdateModule).command(AssetPullModule).command(AssetPushModule).demandCommand(),
1549
+ builder: (yargs37) => yargs37.command(AssetGetModule).command(AssetListModule).command(AssetRemoveModule).command(AssetUpdateModule).command(AssetPullModule).command(AssetPushModule).demandCommand(),
1550
1550
  handler: () => {
1551
1551
  yargs.help();
1552
1552
  }
@@ -1567,12 +1567,12 @@ function getCategoryClient(options) {
1567
1567
  var CategoryGetModule = {
1568
1568
  command: "get <id>",
1569
1569
  describe: "Fetch a category",
1570
- builder: (yargs36) => withConfiguration(
1570
+ builder: (yargs37) => withConfiguration(
1571
1571
  withFormatOptions(
1572
1572
  withDebugOptions(
1573
1573
  withApiOptions(
1574
1574
  withProjectOptions(
1575
- yargs36.positional("id", { demandOption: true, describe: "Category UUID to fetch" })
1575
+ yargs37.positional("id", { demandOption: true, describe: "Category UUID to fetch" })
1576
1576
  )
1577
1577
  )
1578
1578
  )
@@ -1597,8 +1597,8 @@ var CategoryListModule = {
1597
1597
  command: "list",
1598
1598
  describe: "List categories",
1599
1599
  aliases: ["ls"],
1600
- builder: (yargs36) => withConfiguration(
1601
- withFormatOptions(withDebugOptions(withApiOptions(withProjectOptions(yargs36.options({})))))
1600
+ builder: (yargs37) => withConfiguration(
1601
+ withFormatOptions(withDebugOptions(withApiOptions(withProjectOptions(yargs37.options({})))))
1602
1602
  ),
1603
1603
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
1604
1604
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -1642,12 +1642,12 @@ function createCategoriesEngineDataSource({
1642
1642
  var CategoryPullModule = {
1643
1643
  command: "pull <directory>",
1644
1644
  describe: "Pulls all categories to local files in a directory",
1645
- builder: (yargs36) => withConfiguration(
1645
+ builder: (yargs37) => withConfiguration(
1646
1646
  withApiOptions(
1647
1647
  withProjectOptions(
1648
1648
  withDiffOptions(
1649
1649
  withDebugOptions(
1650
- yargs36.positional("directory", {
1650
+ yargs37.positional("directory", {
1651
1651
  describe: "Directory to save the categories to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
1652
1652
  type: "string"
1653
1653
  }).option("format", {
@@ -1722,12 +1722,12 @@ var CategoryPullModule = {
1722
1722
  var CategoryPushModule = {
1723
1723
  command: "push <directory>",
1724
1724
  describe: "Pushes all categories from files in a directory to Uniform Canvas",
1725
- builder: (yargs36) => withConfiguration(
1725
+ builder: (yargs37) => withConfiguration(
1726
1726
  withApiOptions(
1727
1727
  withDebugOptions(
1728
1728
  withProjectOptions(
1729
1729
  withDiffOptions(
1730
- yargs36.positional("directory", {
1730
+ yargs37.positional("directory", {
1731
1731
  describe: "Directory to read the categories from. If a filename is used, a package will be read instead.",
1732
1732
  type: "string"
1733
1733
  }).option("mode", {
@@ -1791,11 +1791,11 @@ var CategoryRemoveModule = {
1791
1791
  command: "remove <id>",
1792
1792
  aliases: ["delete", "rm"],
1793
1793
  describe: "Delete a category",
1794
- builder: (yargs36) => withConfiguration(
1794
+ builder: (yargs37) => withConfiguration(
1795
1795
  withApiOptions(
1796
1796
  withDebugOptions(
1797
1797
  withProjectOptions(
1798
- yargs36.positional("id", { demandOption: true, describe: "Category UUID to delete" })
1798
+ yargs37.positional("id", { demandOption: true, describe: "Category UUID to delete" })
1799
1799
  )
1800
1800
  )
1801
1801
  )
@@ -1816,11 +1816,11 @@ var CategoryUpdateModule = {
1816
1816
  command: "update <filename>",
1817
1817
  aliases: ["put"],
1818
1818
  describe: "Insert or update a category",
1819
- builder: (yargs36) => withConfiguration(
1819
+ builder: (yargs37) => withConfiguration(
1820
1820
  withApiOptions(
1821
1821
  withDebugOptions(
1822
1822
  withProjectOptions(
1823
- yargs36.positional("filename", { demandOption: true, describe: "Category file to put" })
1823
+ yargs37.positional("filename", { demandOption: true, describe: "Category file to put" })
1824
1824
  )
1825
1825
  )
1826
1826
  )
@@ -1842,7 +1842,7 @@ var CategoryModule = {
1842
1842
  command: "category <command>",
1843
1843
  aliases: ["cat"],
1844
1844
  describe: "Commands for Canvas categories",
1845
- builder: (yargs36) => yargs36.command(CategoryPullModule).command(CategoryPushModule).command(CategoryGetModule).command(CategoryRemoveModule).command(CategoryListModule).command(CategoryUpdateModule).demandCommand(),
1845
+ builder: (yargs37) => yargs37.command(CategoryPullModule).command(CategoryPushModule).command(CategoryGetModule).command(CategoryRemoveModule).command(CategoryListModule).command(CategoryUpdateModule).demandCommand(),
1846
1846
  handler: () => {
1847
1847
  yargs2.help();
1848
1848
  }
@@ -1864,12 +1864,12 @@ function getCanvasClient(options) {
1864
1864
  var ComponentGetModule = {
1865
1865
  command: "get <id>",
1866
1866
  describe: "Fetch a component definition",
1867
- builder: (yargs36) => withConfiguration(
1867
+ builder: (yargs37) => withConfiguration(
1868
1868
  withFormatOptions(
1869
1869
  withDebugOptions(
1870
1870
  withApiOptions(
1871
1871
  withProjectOptions(
1872
- yargs36.positional("id", {
1872
+ yargs37.positional("id", {
1873
1873
  demandOption: true,
1874
1874
  describe: "Component definition public ID to fetch"
1875
1875
  })
@@ -1903,12 +1903,12 @@ var ComponentListModule = {
1903
1903
  command: "list",
1904
1904
  describe: "List component definitions",
1905
1905
  aliases: ["ls"],
1906
- builder: (yargs36) => withConfiguration(
1906
+ builder: (yargs37) => withConfiguration(
1907
1907
  withFormatOptions(
1908
1908
  withDebugOptions(
1909
1909
  withApiOptions(
1910
1910
  withProjectOptions(
1911
- yargs36.options({
1911
+ yargs37.options({
1912
1912
  offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
1913
1913
  limit: { describe: "Number of rows to fetch", type: "number", default: 20 }
1914
1914
  })
@@ -1972,12 +1972,12 @@ function createComponentDefinitionEngineDataSource({
1972
1972
  var ComponentPullModule = {
1973
1973
  command: "pull <directory>",
1974
1974
  describe: "Pulls all component definitions to local files in a directory",
1975
- builder: (yargs36) => withConfiguration(
1975
+ builder: (yargs37) => withConfiguration(
1976
1976
  withApiOptions(
1977
1977
  withDebugOptions(
1978
1978
  withProjectOptions(
1979
1979
  withDiffOptions(
1980
- yargs36.positional("directory", {
1980
+ yargs37.positional("directory", {
1981
1981
  describe: "Directory to save the component definitions to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
1982
1982
  type: "string"
1983
1983
  }).option("format", {
@@ -2053,12 +2053,12 @@ var ComponentPullModule = {
2053
2053
  var ComponentPushModule = {
2054
2054
  command: "push <directory>",
2055
2055
  describe: "Pushes all component definitions from files in a directory to Uniform Canvas",
2056
- builder: (yargs36) => withConfiguration(
2056
+ builder: (yargs37) => withConfiguration(
2057
2057
  withApiOptions(
2058
2058
  withDebugOptions(
2059
2059
  withProjectOptions(
2060
2060
  withDiffOptions(
2061
- yargs36.positional("directory", {
2061
+ yargs37.positional("directory", {
2062
2062
  describe: "Directory to read the component definitions from. If a filename is used, a package will be read instead.",
2063
2063
  type: "string"
2064
2064
  }).option("mode", {
@@ -2123,11 +2123,11 @@ var ComponentRemoveModule = {
2123
2123
  command: "remove <id>",
2124
2124
  aliases: ["delete", "rm"],
2125
2125
  describe: "Delete a component definition",
2126
- builder: (yargs36) => withConfiguration(
2126
+ builder: (yargs37) => withConfiguration(
2127
2127
  withDebugOptions(
2128
2128
  withApiOptions(
2129
2129
  withProjectOptions(
2130
- yargs36.positional("id", {
2130
+ yargs37.positional("id", {
2131
2131
  demandOption: true,
2132
2132
  describe: "Component definition public ID to delete"
2133
2133
  })
@@ -2151,11 +2151,11 @@ var ComponentUpdateModule = {
2151
2151
  command: "update <filename>",
2152
2152
  aliases: ["put"],
2153
2153
  describe: "Insert or update a component definition",
2154
- builder: (yargs36) => withConfiguration(
2154
+ builder: (yargs37) => withConfiguration(
2155
2155
  withApiOptions(
2156
2156
  withDebugOptions(
2157
2157
  withProjectOptions(
2158
- yargs36.positional("filename", { demandOption: true, describe: "Component definition file to put" })
2158
+ yargs37.positional("filename", { demandOption: true, describe: "Component definition file to put" })
2159
2159
  )
2160
2160
  )
2161
2161
  )
@@ -2177,7 +2177,7 @@ var ComponentModule = {
2177
2177
  command: "component <command>",
2178
2178
  aliases: ["def"],
2179
2179
  describe: "Commands for Canvas component definitions",
2180
- builder: (yargs36) => yargs36.command(ComponentPullModule).command(ComponentPushModule).command(ComponentGetModule).command(ComponentRemoveModule).command(ComponentListModule).command(ComponentUpdateModule).demandCommand(),
2180
+ builder: (yargs37) => yargs37.command(ComponentPullModule).command(ComponentPushModule).command(ComponentGetModule).command(ComponentRemoveModule).command(ComponentListModule).command(ComponentUpdateModule).demandCommand(),
2181
2181
  handler: () => {
2182
2182
  yargs3.help();
2183
2183
  }
@@ -2190,13 +2190,13 @@ import yargs4 from "yargs";
2190
2190
  var CompositionGetModule = {
2191
2191
  command: "get <id>",
2192
2192
  describe: "Fetch a composition",
2193
- builder: (yargs36) => withFormatOptions(
2193
+ builder: (yargs37) => withFormatOptions(
2194
2194
  withConfiguration(
2195
2195
  withApiOptions(
2196
2196
  withProjectOptions(
2197
2197
  withStateOptions(
2198
2198
  withDebugOptions(
2199
- yargs36.positional("id", {
2199
+ yargs37.positional("id", {
2200
2200
  demandOption: true,
2201
2201
  describe: "Composition/pattern public ID to fetch"
2202
2202
  }).option({
@@ -2286,13 +2286,13 @@ var CompositionListModule = {
2286
2286
  command: "list",
2287
2287
  describe: "List compositions",
2288
2288
  aliases: ["ls"],
2289
- builder: (yargs36) => withFormatOptions(
2289
+ builder: (yargs37) => withFormatOptions(
2290
2290
  withConfiguration(
2291
2291
  withApiOptions(
2292
2292
  withProjectOptions(
2293
2293
  withDebugOptions(
2294
2294
  withStateOptions(
2295
- yargs36.options({
2295
+ yargs37.options({
2296
2296
  offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
2297
2297
  limit: { describe: "Number of rows to fetch", type: "number", default: 20 },
2298
2298
  search: { describe: "Search query", type: "string", default: "" },
@@ -2373,13 +2373,13 @@ var CompositionListModule = {
2373
2373
  var ComponentPatternListModule = {
2374
2374
  ...CompositionListModule,
2375
2375
  describe: "List component patterns",
2376
- builder: (yargs36) => withFormatOptions(
2376
+ builder: (yargs37) => withFormatOptions(
2377
2377
  withConfiguration(
2378
2378
  withApiOptions(
2379
2379
  withDebugOptions(
2380
2380
  withProjectOptions(
2381
2381
  withStateOptions(
2382
- yargs36.options({
2382
+ yargs37.options({
2383
2383
  offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
2384
2384
  limit: { describe: "Number of rows to fetch", type: "number", default: 20 },
2385
2385
  resolvePatterns: {
@@ -2502,12 +2502,12 @@ function createComponentInstanceEngineDataSource({
2502
2502
  var CompositionPublishModule = {
2503
2503
  command: "publish [ids]",
2504
2504
  describe: "Publishes composition(s)",
2505
- builder: (yargs36) => withConfiguration(
2505
+ builder: (yargs37) => withConfiguration(
2506
2506
  withApiOptions(
2507
2507
  withProjectOptions(
2508
2508
  withDebugOptions(
2509
2509
  withDiffOptions(
2510
- yargs36.positional("ids", {
2510
+ yargs37.positional("ids", {
2511
2511
  describe: "Publishes composition(s) by ID. Comma-separate multiple IDs. Use --all to publish all instead.",
2512
2512
  type: "string"
2513
2513
  }).option("all", {
@@ -2600,12 +2600,12 @@ var CompositionPublishModule = {
2600
2600
  var ComponentPatternPublishModule = {
2601
2601
  ...CompositionPublishModule,
2602
2602
  describe: "Publishes component pattern(s)",
2603
- builder: (yargs36) => withConfiguration(
2603
+ builder: (yargs37) => withConfiguration(
2604
2604
  withApiOptions(
2605
2605
  withDebugOptions(
2606
2606
  withProjectOptions(
2607
2607
  withDiffOptions(
2608
- yargs36.positional("ids", {
2608
+ yargs37.positional("ids", {
2609
2609
  describe: "Publishes component pattern(s) by ID. Comma-separate multiple IDs. Use --all to publish all instead.",
2610
2610
  type: "string"
2611
2611
  }).option("all", {
@@ -2645,13 +2645,13 @@ function componentInstancePullModuleFactory(type) {
2645
2645
  return {
2646
2646
  command: "pull <directory>",
2647
2647
  describe: "Pulls all compositions to local files in a directory",
2648
- builder: (yargs36) => withConfiguration(
2648
+ builder: (yargs37) => withConfiguration(
2649
2649
  withApiOptions(
2650
2650
  withProjectOptions(
2651
2651
  withStateOptions(
2652
2652
  withDebugOptions(
2653
2653
  withDiffOptions(
2654
- yargs36.positional("directory", {
2654
+ yargs37.positional("directory", {
2655
2655
  describe: "Directory to save the component definitions to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
2656
2656
  type: "string"
2657
2657
  }).option("format", {
@@ -2766,13 +2766,13 @@ function componentInstancePullModuleFactory(type) {
2766
2766
  var ComponentPatternPullModule = {
2767
2767
  ...componentInstancePullModuleFactory("componentPatterns"),
2768
2768
  describe: "Pulls all component patterns to local files in a directory",
2769
- builder: (yargs36) => withConfiguration(
2769
+ builder: (yargs37) => withConfiguration(
2770
2770
  withApiOptions(
2771
2771
  withProjectOptions(
2772
2772
  withDebugOptions(
2773
2773
  withStateOptions(
2774
2774
  withDiffOptions(
2775
- yargs36.positional("directory", {
2775
+ yargs37.positional("directory", {
2776
2776
  describe: "Directory to save the component definitions to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
2777
2777
  type: "string"
2778
2778
  }).option("format", {
@@ -2846,13 +2846,13 @@ function componentInstancePushModuleFactory(type) {
2846
2846
  return {
2847
2847
  command: "push <directory>",
2848
2848
  describe: "Pushes all compositions from files in a directory to Uniform Canvas",
2849
- builder: (yargs36) => withConfiguration(
2849
+ builder: (yargs37) => withConfiguration(
2850
2850
  withApiOptions(
2851
2851
  withProjectOptions(
2852
2852
  withStateOptions(
2853
2853
  withDebugOptions(
2854
2854
  withDiffOptions(
2855
- yargs36.positional("directory", {
2855
+ yargs37.positional("directory", {
2856
2856
  describe: "Directory to read the compositions/patterns from. If a filename is used, a package will be read instead.",
2857
2857
  type: "string"
2858
2858
  }).option("mode", {
@@ -2966,13 +2966,13 @@ function componentInstancePushModuleFactory(type) {
2966
2966
  var ComponentPatternPushModule = {
2967
2967
  ...componentInstancePushModuleFactory("componentPatterns"),
2968
2968
  describe: "Pushes all component patterns from files in a directory to Uniform Canvas",
2969
- builder: (yargs36) => withConfiguration(
2969
+ builder: (yargs37) => withConfiguration(
2970
2970
  withApiOptions(
2971
2971
  withProjectOptions(
2972
2972
  withStateOptions(
2973
2973
  withDiffOptions(
2974
2974
  withDebugOptions(
2975
- yargs36.positional("directory", {
2975
+ yargs37.positional("directory", {
2976
2976
  describe: "Directory to read the compositions/component patterns from. If a filename is used, a package will be read instead.",
2977
2977
  type: "string"
2978
2978
  }).option("mode", {
@@ -3006,11 +3006,11 @@ var CompositionRemoveModule = {
3006
3006
  command: "remove <id>",
3007
3007
  aliases: ["delete", "rm"],
3008
3008
  describe: "Delete a composition",
3009
- builder: (yargs36) => withConfiguration(
3009
+ builder: (yargs37) => withConfiguration(
3010
3010
  withApiOptions(
3011
3011
  withDebugOptions(
3012
3012
  withProjectOptions(
3013
- yargs36.positional("id", {
3013
+ yargs37.positional("id", {
3014
3014
  demandOption: true,
3015
3015
  describe: "Composition/pattern public ID to delete"
3016
3016
  })
@@ -3044,11 +3044,11 @@ import { diffJson as diffJson2 } from "diff";
3044
3044
  var CompositionUnpublishModule = {
3045
3045
  command: "unpublish [ids]",
3046
3046
  describe: "Unpublish a composition(s)",
3047
- builder: (yargs36) => withConfiguration(
3047
+ builder: (yargs37) => withConfiguration(
3048
3048
  withApiOptions(
3049
3049
  withDebugOptions(
3050
3050
  withProjectOptions(
3051
- yargs36.positional("ids", {
3051
+ yargs37.positional("ids", {
3052
3052
  describe: "Un-publishes composition(s) by ID. Comma-separate multiple IDs. Use --all to un-publish all instead.",
3053
3053
  type: "string"
3054
3054
  }).option("all", {
@@ -3145,11 +3145,11 @@ var CompositionUnpublishModule = {
3145
3145
  var ComponentPatternUnpublishModule = {
3146
3146
  command: "unpublish [ids]",
3147
3147
  describe: "Unpublish a component pattern(s)",
3148
- builder: (yargs36) => withConfiguration(
3148
+ builder: (yargs37) => withConfiguration(
3149
3149
  withApiOptions(
3150
3150
  withDebugOptions(
3151
3151
  withProjectOptions(
3152
- yargs36.positional("ids", {
3152
+ yargs37.positional("ids", {
3153
3153
  describe: "Un-publishes composition(s) by ID. Comma-separate multiple IDs. Use --all to un-publish all instead.",
3154
3154
  type: "string"
3155
3155
  }).option("all", {
@@ -3183,12 +3183,12 @@ var CompositionUpdateModule = {
3183
3183
  command: "update <filename>",
3184
3184
  aliases: ["put"],
3185
3185
  describe: "Insert or update a composition",
3186
- builder: (yargs36) => withConfiguration(
3186
+ builder: (yargs37) => withConfiguration(
3187
3187
  withApiOptions(
3188
3188
  withProjectOptions(
3189
3189
  withDebugOptions(
3190
3190
  withStateOptions(
3191
- yargs36.positional("filename", {
3191
+ yargs37.positional("filename", {
3192
3192
  demandOption: true,
3193
3193
  describe: "Composition/pattern file to put"
3194
3194
  })
@@ -3226,7 +3226,7 @@ var ComponentPatternUpdateModule = {
3226
3226
  var ComponentPatternModule = {
3227
3227
  command: "component-pattern <command>",
3228
3228
  describe: "Commands for Canvas component patterns",
3229
- builder: (yargs36) => yargs36.command(ComponentPatternPullModule).command(ComponentPatternPushModule).command(ComponentPatternGetModule).command(ComponentPatternRemoveModule).command(ComponentPatternListModule).command(ComponentPatternUpdateModule).command(ComponentPatternPublishModule).command(ComponentPatternUnpublishModule).demandCommand(),
3229
+ builder: (yargs37) => yargs37.command(ComponentPatternPullModule).command(ComponentPatternPushModule).command(ComponentPatternGetModule).command(ComponentPatternRemoveModule).command(ComponentPatternListModule).command(ComponentPatternUpdateModule).command(ComponentPatternPublishModule).command(ComponentPatternUnpublishModule).demandCommand(),
3230
3230
  handler: () => {
3231
3231
  yargs4.help();
3232
3232
  }
@@ -3238,7 +3238,7 @@ var CompositionModule = {
3238
3238
  command: "composition <command>",
3239
3239
  describe: "Commands for Canvas compositions",
3240
3240
  aliases: ["comp"],
3241
- builder: (yargs36) => yargs36.command(CompositionPullModule).command(CompositionPushModule).command(CompositionGetModule).command(CompositionRemoveModule).command(CompositionListModule).command(CompositionUpdateModule).command(CompositionPublishModule).command(CompositionUnpublishModule).demandCommand(),
3241
+ builder: (yargs37) => yargs37.command(CompositionPullModule).command(CompositionPushModule).command(CompositionGetModule).command(CompositionRemoveModule).command(CompositionListModule).command(CompositionUpdateModule).command(CompositionPublishModule).command(CompositionUnpublishModule).demandCommand(),
3242
3242
  handler: () => {
3243
3243
  yargs5.help();
3244
3244
  }
@@ -3257,13 +3257,13 @@ var CompositionPatternGetModule = {
3257
3257
  var CompositionPatternListModule = {
3258
3258
  ...CompositionListModule,
3259
3259
  describe: "List composition patterns",
3260
- builder: (yargs36) => withFormatOptions(
3260
+ builder: (yargs37) => withFormatOptions(
3261
3261
  withConfiguration(
3262
3262
  withApiOptions(
3263
3263
  withDebugOptions(
3264
3264
  withProjectOptions(
3265
3265
  withStateOptions(
3266
- yargs36.options({
3266
+ yargs37.options({
3267
3267
  offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
3268
3268
  limit: { describe: "Number of rows to fetch", type: "number", default: 20 },
3269
3269
  resolvePatterns: {
@@ -3307,12 +3307,12 @@ var CompositionPatternListModule = {
3307
3307
  var CompositionPatternPublishModule = {
3308
3308
  ...CompositionPublishModule,
3309
3309
  describe: "Publishes composition pattern(s)",
3310
- builder: (yargs36) => withConfiguration(
3310
+ builder: (yargs37) => withConfiguration(
3311
3311
  withApiOptions(
3312
3312
  withDebugOptions(
3313
3313
  withProjectOptions(
3314
3314
  withDiffOptions(
3315
- yargs36.positional("ids", {
3315
+ yargs37.positional("ids", {
3316
3316
  describe: "Publishes composition pattern(s) by ID. Comma-separate multiple IDs. Use --all to publish all instead.",
3317
3317
  type: "string"
3318
3318
  }).option("all", {
@@ -3351,13 +3351,13 @@ var CompositionPatternPublishModule = {
3351
3351
  var CompositionPatternPullModule = {
3352
3352
  ...componentInstancePullModuleFactory("compositionPatterns"),
3353
3353
  describe: "Pulls all composition patterns to local files in a directory",
3354
- builder: (yargs36) => withConfiguration(
3354
+ builder: (yargs37) => withConfiguration(
3355
3355
  withApiOptions(
3356
3356
  withDebugOptions(
3357
3357
  withProjectOptions(
3358
3358
  withStateOptions(
3359
3359
  withDiffOptions(
3360
- yargs36.positional("directory", {
3360
+ yargs37.positional("directory", {
3361
3361
  describe: "Directory to save the composition patterns to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
3362
3362
  type: "string"
3363
3363
  }).option("format", {
@@ -3395,13 +3395,13 @@ var CompositionPatternPullModule = {
3395
3395
  var CompositionPatternPushModule = {
3396
3396
  ...componentInstancePushModuleFactory("compositionPatterns"),
3397
3397
  describe: "Pushes all composition patterns from files in a directory to Uniform Canvas",
3398
- builder: (yargs36) => withConfiguration(
3398
+ builder: (yargs37) => withConfiguration(
3399
3399
  withApiOptions(
3400
3400
  withDebugOptions(
3401
3401
  withProjectOptions(
3402
3402
  withStateOptions(
3403
3403
  withDiffOptions(
3404
- yargs36.positional("directory", {
3404
+ yargs37.positional("directory", {
3405
3405
  describe: "Directory to read the compositions patterns from. If a filename is used, a package will be read instead.",
3406
3406
  type: "string"
3407
3407
  }).option("mode", {
@@ -3440,11 +3440,11 @@ var CompositionPatternRemoveModule = {
3440
3440
  var CompositionPatternUnpublishModule = {
3441
3441
  command: "unpublish [ids]",
3442
3442
  describe: "Unpublish a composition pattern(s)",
3443
- builder: (yargs36) => withConfiguration(
3443
+ builder: (yargs37) => withConfiguration(
3444
3444
  withApiOptions(
3445
3445
  withDebugOptions(
3446
3446
  withProjectOptions(
3447
- yargs36.positional("ids", {
3447
+ yargs37.positional("ids", {
3448
3448
  describe: "Un-publishes composition pattern(s) by ID. Comma-separate multiple IDs. Use --all to un-publish all instead.",
3449
3449
  type: "string"
3450
3450
  }).option("all", {
@@ -3480,7 +3480,7 @@ var CompositionPatternUpdateModule = {
3480
3480
  var CompositionPatternModule = {
3481
3481
  command: "composition-pattern <command>",
3482
3482
  describe: "Commands for Canvas composition patterns",
3483
- builder: (yargs36) => yargs36.command(CompositionPatternPullModule).command(CompositionPatternPushModule).command(CompositionPatternGetModule).command(CompositionPatternRemoveModule).command(CompositionPatternListModule).command(CompositionPatternUpdateModule).command(CompositionPatternPublishModule).command(CompositionPatternUnpublishModule).demandCommand(),
3483
+ builder: (yargs37) => yargs37.command(CompositionPatternPullModule).command(CompositionPatternPushModule).command(CompositionPatternGetModule).command(CompositionPatternRemoveModule).command(CompositionPatternListModule).command(CompositionPatternUpdateModule).command(CompositionPatternPublishModule).command(CompositionPatternUnpublishModule).demandCommand(),
3484
3484
  handler: () => {
3485
3485
  yargs6.help();
3486
3486
  }
@@ -3501,12 +3501,12 @@ function getContentClient(options) {
3501
3501
  var ContentTypeGetModule = {
3502
3502
  command: "get <id>",
3503
3503
  describe: "Get a content type",
3504
- builder: (yargs36) => withConfiguration(
3504
+ builder: (yargs37) => withConfiguration(
3505
3505
  withDebugOptions(
3506
3506
  withFormatOptions(
3507
3507
  withApiOptions(
3508
3508
  withProjectOptions(
3509
- yargs36.positional("id", {
3509
+ yargs37.positional("id", {
3510
3510
  demandOption: true,
3511
3511
  describe: "Content type public ID to fetch"
3512
3512
  })
@@ -3531,7 +3531,7 @@ var ContentTypeGetModule = {
3531
3531
  var ContentTypeListModule = {
3532
3532
  command: "list",
3533
3533
  describe: "List content types",
3534
- builder: (yargs36) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs36))))),
3534
+ builder: (yargs37) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs37))))),
3535
3535
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
3536
3536
  const fetch2 = nodeFetchProxy(proxy, verbose);
3537
3537
  const client = getContentClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -3572,12 +3572,12 @@ function createContentTypeEngineDataSource({
3572
3572
  var ContentTypePullModule = {
3573
3573
  command: "pull <directory>",
3574
3574
  describe: "Pulls all content types to local files in a directory",
3575
- builder: (yargs36) => withConfiguration(
3575
+ builder: (yargs37) => withConfiguration(
3576
3576
  withApiOptions(
3577
3577
  withDebugOptions(
3578
3578
  withProjectOptions(
3579
3579
  withDiffOptions(
3580
- yargs36.positional("directory", {
3580
+ yargs37.positional("directory", {
3581
3581
  describe: "Directory to save the content types to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
3582
3582
  type: "string"
3583
3583
  }).option("format", {
@@ -3657,12 +3657,12 @@ var ContentTypePullModule = {
3657
3657
  var ContentTypePushModule = {
3658
3658
  command: "push <directory>",
3659
3659
  describe: "Pushes all content types from files in a directory to Uniform",
3660
- builder: (yargs36) => withConfiguration(
3660
+ builder: (yargs37) => withConfiguration(
3661
3661
  withApiOptions(
3662
3662
  withDebugOptions(
3663
3663
  withProjectOptions(
3664
3664
  withDiffOptions(
3665
- yargs36.positional("directory", {
3665
+ yargs37.positional("directory", {
3666
3666
  describe: "Directory to read the content types from. If a filename is used, a package will be read instead.",
3667
3667
  type: "string"
3668
3668
  }).option("what-if", {
@@ -3736,11 +3736,11 @@ var ContentTypeRemoveModule = {
3736
3736
  command: "remove <id>",
3737
3737
  aliases: ["delete", "rm"],
3738
3738
  describe: "Delete a content type",
3739
- builder: (yargs36) => withConfiguration(
3739
+ builder: (yargs37) => withConfiguration(
3740
3740
  withDebugOptions(
3741
3741
  withApiOptions(
3742
3742
  withProjectOptions(
3743
- yargs36.positional("id", { demandOption: true, describe: "Content type public ID to delete" })
3743
+ yargs37.positional("id", { demandOption: true, describe: "Content type public ID to delete" })
3744
3744
  )
3745
3745
  )
3746
3746
  )
@@ -3761,11 +3761,11 @@ var ContentTypeUpdateModule = {
3761
3761
  command: "update <filename>",
3762
3762
  aliases: ["put"],
3763
3763
  describe: "Insert or update a content type",
3764
- builder: (yargs36) => withConfiguration(
3764
+ builder: (yargs37) => withConfiguration(
3765
3765
  withDebugOptions(
3766
3766
  withApiOptions(
3767
3767
  withProjectOptions(
3768
- yargs36.positional("filename", { demandOption: true, describe: "Content type file to put" })
3768
+ yargs37.positional("filename", { demandOption: true, describe: "Content type file to put" })
3769
3769
  )
3770
3770
  )
3771
3771
  )
@@ -3787,7 +3787,7 @@ var ContentTypeModule = {
3787
3787
  command: "contenttype <command>",
3788
3788
  aliases: ["ct"],
3789
3789
  describe: "Commands for Content Types",
3790
- builder: (yargs36) => yargs36.command(ContentTypeGetModule).command(ContentTypeListModule).command(ContentTypeRemoveModule).command(ContentTypeUpdateModule).command(ContentTypePullModule).command(ContentTypePushModule).demandCommand(),
3790
+ builder: (yargs37) => yargs37.command(ContentTypeGetModule).command(ContentTypeListModule).command(ContentTypeRemoveModule).command(ContentTypeUpdateModule).command(ContentTypePullModule).command(ContentTypePushModule).demandCommand(),
3791
3791
  handler: () => {
3792
3792
  yargs7.help();
3793
3793
  }
@@ -3806,11 +3806,11 @@ function getDataSourceClient(options) {
3806
3806
  var DataSourceGetModule = {
3807
3807
  command: "get <id>",
3808
3808
  describe: "Get a data source by ID and writes to stdout. Please note this may contain secret data, use discretion.",
3809
- builder: (yargs36) => withConfiguration(
3809
+ builder: (yargs37) => withConfiguration(
3810
3810
  withApiOptions(
3811
3811
  withDebugOptions(
3812
3812
  withProjectOptions(
3813
- yargs36.positional("id", { demandOption: true, describe: "Data source public ID to fetch" })
3813
+ yargs37.positional("id", { demandOption: true, describe: "Data source public ID to fetch" })
3814
3814
  )
3815
3815
  )
3816
3816
  )
@@ -3828,11 +3828,11 @@ var DataSourceRemoveModule = {
3828
3828
  command: "remove <id>",
3829
3829
  aliases: ["delete", "rm"],
3830
3830
  describe: "Delete a data source",
3831
- builder: (yargs36) => withConfiguration(
3831
+ builder: (yargs37) => withConfiguration(
3832
3832
  withDebugOptions(
3833
3833
  withApiOptions(
3834
3834
  withProjectOptions(
3835
- yargs36.positional("id", { demandOption: true, describe: "Data source public ID to delete" })
3835
+ yargs37.positional("id", { demandOption: true, describe: "Data source public ID to delete" })
3836
3836
  )
3837
3837
  )
3838
3838
  )
@@ -3853,11 +3853,11 @@ var DataSourceUpdateModule = {
3853
3853
  command: "update <dataSource>",
3854
3854
  aliases: ["put"],
3855
3855
  describe: "Insert or update a data source",
3856
- builder: (yargs36) => withConfiguration(
3856
+ builder: (yargs37) => withConfiguration(
3857
3857
  withApiOptions(
3858
3858
  withDebugOptions(
3859
3859
  withProjectOptions(
3860
- yargs36.positional("dataSource", { demandOption: true, describe: "Data source JSON to put" }).option("integrationType", {
3860
+ yargs37.positional("dataSource", { demandOption: true, describe: "Data source JSON to put" }).option("integrationType", {
3861
3861
  describe: "Integration type that exposes the connector type for this data source (as defined in integration manifest).",
3862
3862
  type: "string",
3863
3863
  demandOption: true
@@ -3892,7 +3892,7 @@ var DataSourceModule = {
3892
3892
  command: "datasource <command>",
3893
3893
  aliases: ["ds"],
3894
3894
  describe: "Commands for Data Source definitions",
3895
- builder: (yargs36) => yargs36.command(DataSourceGetModule).command(DataSourceRemoveModule).command(DataSourceUpdateModule).demandCommand(),
3895
+ builder: (yargs37) => yargs37.command(DataSourceGetModule).command(DataSourceRemoveModule).command(DataSourceUpdateModule).demandCommand(),
3896
3896
  handler: () => {
3897
3897
  yargs8.help();
3898
3898
  }
@@ -3914,12 +3914,12 @@ var DataTypeGetModule = {
3914
3914
  command: "get <id>",
3915
3915
  describe: "Get a data type",
3916
3916
  aliases: ["ls"],
3917
- builder: (yargs36) => withConfiguration(
3917
+ builder: (yargs37) => withConfiguration(
3918
3918
  withFormatOptions(
3919
3919
  withDebugOptions(
3920
3920
  withApiOptions(
3921
3921
  withProjectOptions(
3922
- yargs36.positional("id", { demandOption: true, describe: "Data type public ID to fetch" })
3922
+ yargs37.positional("id", { demandOption: true, describe: "Data type public ID to fetch" })
3923
3923
  )
3924
3924
  )
3925
3925
  )
@@ -3942,7 +3942,7 @@ var DataTypeListModule = {
3942
3942
  command: "list",
3943
3943
  describe: "List data types",
3944
3944
  aliases: ["ls"],
3945
- builder: (yargs36) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs36))))),
3945
+ builder: (yargs37) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs37))))),
3946
3946
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
3947
3947
  const fetch2 = nodeFetchProxy(proxy, verbose);
3948
3948
  const client = getDataTypeClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -3985,12 +3985,12 @@ function createDataTypeEngineDataSource({
3985
3985
  var DataTypePullModule = {
3986
3986
  command: "pull <directory>",
3987
3987
  describe: "Pulls all data types to local files in a directory",
3988
- builder: (yargs36) => withConfiguration(
3988
+ builder: (yargs37) => withConfiguration(
3989
3989
  withApiOptions(
3990
3990
  withDebugOptions(
3991
3991
  withProjectOptions(
3992
3992
  withDiffOptions(
3993
- yargs36.positional("directory", {
3993
+ yargs37.positional("directory", {
3994
3994
  describe: "Directory to save the data types to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
3995
3995
  type: "string"
3996
3996
  }).option("format", {
@@ -4070,12 +4070,12 @@ var DataTypePullModule = {
4070
4070
  var DataTypePushModule = {
4071
4071
  command: "push <directory>",
4072
4072
  describe: "Pushes all data types from files in a directory to Uniform",
4073
- builder: (yargs36) => withConfiguration(
4073
+ builder: (yargs37) => withConfiguration(
4074
4074
  withApiOptions(
4075
4075
  withDebugOptions(
4076
4076
  withProjectOptions(
4077
4077
  withDiffOptions(
4078
- yargs36.positional("directory", {
4078
+ yargs37.positional("directory", {
4079
4079
  describe: "Directory to read the data types from. If a filename is used, a package will be read instead.",
4080
4080
  type: "string"
4081
4081
  }).option("mode", {
@@ -4144,11 +4144,11 @@ var DataTypeRemoveModule = {
4144
4144
  command: "remove <id>",
4145
4145
  aliases: ["delete", "rm"],
4146
4146
  describe: "Delete a data type",
4147
- builder: (yargs36) => withConfiguration(
4147
+ builder: (yargs37) => withConfiguration(
4148
4148
  withDebugOptions(
4149
4149
  withApiOptions(
4150
4150
  withProjectOptions(
4151
- yargs36.positional("id", { demandOption: true, describe: "Data type public ID to delete" })
4151
+ yargs37.positional("id", { demandOption: true, describe: "Data type public ID to delete" })
4152
4152
  )
4153
4153
  )
4154
4154
  )
@@ -4169,11 +4169,11 @@ var DataTypeUpdateModule = {
4169
4169
  command: "update <filename>",
4170
4170
  aliases: ["put"],
4171
4171
  describe: "Insert or update a data type",
4172
- builder: (yargs36) => withConfiguration(
4172
+ builder: (yargs37) => withConfiguration(
4173
4173
  withDebugOptions(
4174
4174
  withApiOptions(
4175
4175
  withProjectOptions(
4176
- yargs36.positional("filename", { demandOption: true, describe: "Data type file to put" })
4176
+ yargs37.positional("filename", { demandOption: true, describe: "Data type file to put" })
4177
4177
  )
4178
4178
  )
4179
4179
  )
@@ -4195,7 +4195,7 @@ var DataTypeModule = {
4195
4195
  command: "datatype <command>",
4196
4196
  aliases: ["dt"],
4197
4197
  describe: "Commands for Data Type definitions",
4198
- builder: (yargs36) => yargs36.command(DataTypeGetModule).command(DataTypePullModule).command(DataTypePushModule).command(DataTypeRemoveModule).command(DataTypeListModule).command(DataTypeUpdateModule).demandCommand(),
4198
+ builder: (yargs37) => yargs37.command(DataTypeGetModule).command(DataTypePullModule).command(DataTypePushModule).command(DataTypeRemoveModule).command(DataTypeListModule).command(DataTypeUpdateModule).demandCommand(),
4199
4199
  handler: () => {
4200
4200
  yargs9.help();
4201
4201
  }
@@ -4208,13 +4208,13 @@ import yargs10 from "yargs";
4208
4208
  var EntryGetModule = {
4209
4209
  command: "get <id>",
4210
4210
  describe: "Get an entry",
4211
- builder: (yargs36) => withConfiguration(
4211
+ builder: (yargs37) => withConfiguration(
4212
4212
  withDebugOptions(
4213
4213
  withFormatOptions(
4214
4214
  withApiOptions(
4215
4215
  withProjectOptions(
4216
4216
  withStateOptions(
4217
- yargs36.positional("id", { demandOption: true, describe: "Entry public ID to fetch" }).option({
4217
+ yargs37.positional("id", { demandOption: true, describe: "Entry public ID to fetch" }).option({
4218
4218
  resolveData: {
4219
4219
  type: "boolean",
4220
4220
  default: false,
@@ -4286,13 +4286,13 @@ var LEGACY_DEFAULT_LIMIT = 1e3;
4286
4286
  var EntryListModule = {
4287
4287
  command: "list",
4288
4288
  describe: "List entries",
4289
- builder: (yargs36) => withConfiguration(
4289
+ builder: (yargs37) => withConfiguration(
4290
4290
  withDebugOptions(
4291
4291
  withFormatOptions(
4292
4292
  withApiOptions(
4293
4293
  withProjectOptions(
4294
4294
  withStateOptions(
4295
- yargs36.options({
4295
+ yargs37.options({
4296
4296
  offset: { describe: "Number of rows to skip before fetching", type: "number", default: 0 },
4297
4297
  limit: {
4298
4298
  describe: "Number of rows to fetch",
@@ -4427,12 +4427,12 @@ function createEntryEngineDataSource({
4427
4427
  var EntryPublishModule = {
4428
4428
  command: "publish [ids]",
4429
4429
  describe: "Publishes entry(ies)",
4430
- builder: (yargs36) => withConfiguration(
4430
+ builder: (yargs37) => withConfiguration(
4431
4431
  withDiffOptions(
4432
4432
  withApiOptions(
4433
4433
  withProjectOptions(
4434
4434
  withDiffOptions(
4435
- yargs36.positional("ids", {
4435
+ yargs37.positional("ids", {
4436
4436
  describe: "Publishes entry(ies) by ID. Comma-separate multiple IDs. Use --all to publish all instead.",
4437
4437
  type: "string"
4438
4438
  }).option("all", {
@@ -4507,13 +4507,13 @@ var EntryPublishModule = {
4507
4507
  var EntryPullModule = {
4508
4508
  command: "pull <directory>",
4509
4509
  describe: "Pulls all entries to local files in a directory",
4510
- builder: (yargs36) => withConfiguration(
4510
+ builder: (yargs37) => withConfiguration(
4511
4511
  withDebugOptions(
4512
4512
  withApiOptions(
4513
4513
  withProjectOptions(
4514
4514
  withStateOptions(
4515
4515
  withDiffOptions(
4516
- yargs36.positional("directory", {
4516
+ yargs37.positional("directory", {
4517
4517
  describe: "Directory to save the entries to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
4518
4518
  type: "string"
4519
4519
  }).option("format", {
@@ -4613,13 +4613,13 @@ var EntryPullModule = {
4613
4613
  var EntryPushModule = {
4614
4614
  command: "push <directory>",
4615
4615
  describe: "Pushes all entries from files in a directory to Uniform",
4616
- builder: (yargs36) => withConfiguration(
4616
+ builder: (yargs37) => withConfiguration(
4617
4617
  withDebugOptions(
4618
4618
  withApiOptions(
4619
4619
  withProjectOptions(
4620
4620
  withStateOptions(
4621
4621
  withDiffOptions(
4622
- yargs36.positional("directory", {
4622
+ yargs37.positional("directory", {
4623
4623
  describe: "Directory to read the entries from. If a filename is used, a package will be read instead.",
4624
4624
  type: "string"
4625
4625
  }).option("mode", {
@@ -4718,11 +4718,11 @@ var EntryRemoveModule = {
4718
4718
  command: "remove <id>",
4719
4719
  aliases: ["delete", "rm"],
4720
4720
  describe: "Delete an entry",
4721
- builder: (yargs36) => withConfiguration(
4721
+ builder: (yargs37) => withConfiguration(
4722
4722
  withDebugOptions(
4723
4723
  withApiOptions(
4724
4724
  withProjectOptions(
4725
- yargs36.positional("id", { demandOption: true, describe: "Entry public ID to delete" })
4725
+ yargs37.positional("id", { demandOption: true, describe: "Entry public ID to delete" })
4726
4726
  )
4727
4727
  )
4728
4728
  )
@@ -4744,11 +4744,11 @@ import { diffJson as diffJson3 } from "diff";
4744
4744
  var EntryUnpublishModule = {
4745
4745
  command: "unpublish [ids]",
4746
4746
  describe: "Unpublish an entry(ies)",
4747
- builder: (yargs36) => withConfiguration(
4747
+ builder: (yargs37) => withConfiguration(
4748
4748
  withDebugOptions(
4749
4749
  withApiOptions(
4750
4750
  withProjectOptions(
4751
- yargs36.positional("ids", {
4751
+ yargs37.positional("ids", {
4752
4752
  describe: "Un-publishes entry(ies) by ID. Comma-separate multiple IDs. Use --all to un-publish all instead.",
4753
4753
  type: "string"
4754
4754
  }).option("all", {
@@ -4818,12 +4818,12 @@ var EntryUpdateModule = {
4818
4818
  command: "update <filename>",
4819
4819
  aliases: ["put"],
4820
4820
  describe: "Insert or update an entry",
4821
- builder: (yargs36) => withConfiguration(
4821
+ builder: (yargs37) => withConfiguration(
4822
4822
  withDebugOptions(
4823
4823
  withApiOptions(
4824
4824
  withProjectOptions(
4825
4825
  withStateOptions(
4826
- yargs36.positional("filename", { demandOption: true, describe: "Entry file to put" })
4826
+ yargs37.positional("filename", { demandOption: true, describe: "Entry file to put" })
4827
4827
  )
4828
4828
  )
4829
4829
  )
@@ -4855,7 +4855,7 @@ var EntryUpdateModule = {
4855
4855
  var EntryModule = {
4856
4856
  command: "entry <command>",
4857
4857
  describe: "Commands for Entries",
4858
- builder: (yargs36) => yargs36.command(EntryGetModule).command(EntryListModule).command(EntryRemoveModule).command(EntryUpdateModule).command(EntryPullModule).command(EntryPushModule).command(EntryPublishModule).command(EntryUnpublishModule).demandCommand(),
4858
+ builder: (yargs37) => yargs37.command(EntryGetModule).command(EntryListModule).command(EntryRemoveModule).command(EntryUpdateModule).command(EntryPullModule).command(EntryPushModule).command(EntryPublishModule).command(EntryUnpublishModule).demandCommand(),
4859
4859
  handler: () => {
4860
4860
  yargs10.help();
4861
4861
  }
@@ -4868,13 +4868,13 @@ import yargs11 from "yargs";
4868
4868
  var EntryPatternGetModule = {
4869
4869
  command: "get <id>",
4870
4870
  describe: "Get an entry pattern",
4871
- builder: (yargs36) => withConfiguration(
4871
+ builder: (yargs37) => withConfiguration(
4872
4872
  withDebugOptions(
4873
4873
  withFormatOptions(
4874
4874
  withApiOptions(
4875
4875
  withProjectOptions(
4876
4876
  withStateOptions(
4877
- yargs36.positional("id", {
4877
+ yargs37.positional("id", {
4878
4878
  demandOption: true,
4879
4879
  describe: "Entry pattern public ID to fetch"
4880
4880
  }).option({
@@ -4927,13 +4927,13 @@ var EntryPatternGetModule = {
4927
4927
  var EntryPatternListModule = {
4928
4928
  command: "list",
4929
4929
  describe: "List entry patterns",
4930
- builder: (yargs36) => withConfiguration(
4930
+ builder: (yargs37) => withConfiguration(
4931
4931
  withDebugOptions(
4932
4932
  withFormatOptions(
4933
4933
  withApiOptions(
4934
4934
  withProjectOptions(
4935
4935
  withStateOptions(
4936
- yargs36.option({
4936
+ yargs37.option({
4937
4937
  withComponentIDs: {
4938
4938
  type: "boolean",
4939
4939
  default: false,
@@ -4979,12 +4979,12 @@ var EntryPatternListModule = {
4979
4979
  var EntryPatternPublishModule = {
4980
4980
  command: "publish [ids]",
4981
4981
  describe: "Publishes entry pattern(s)",
4982
- builder: (yargs36) => withConfiguration(
4982
+ builder: (yargs37) => withConfiguration(
4983
4983
  withDebugOptions(
4984
4984
  withApiOptions(
4985
4985
  withProjectOptions(
4986
4986
  withDiffOptions(
4987
- yargs36.positional("ids", {
4987
+ yargs37.positional("ids", {
4988
4988
  describe: "Publishes entry pattern(s) by ID. Comma-separate multiple IDs. Use --all to publish all instead.",
4989
4989
  type: "string"
4990
4990
  }).option("all", {
@@ -5059,13 +5059,13 @@ var EntryPatternPublishModule = {
5059
5059
  var EntryPatternPullModule = {
5060
5060
  command: "pull <directory>",
5061
5061
  describe: "Pulls all entry patterns to local files in a directory",
5062
- builder: (yargs36) => withConfiguration(
5062
+ builder: (yargs37) => withConfiguration(
5063
5063
  withApiOptions(
5064
5064
  withDebugOptions(
5065
5065
  withProjectOptions(
5066
5066
  withStateOptions(
5067
5067
  withDiffOptions(
5068
- yargs36.positional("directory", {
5068
+ yargs37.positional("directory", {
5069
5069
  describe: "Directory to save the entries to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
5070
5070
  type: "string"
5071
5071
  }).option("format", {
@@ -5165,13 +5165,13 @@ var EntryPatternPullModule = {
5165
5165
  var EntryPatternPushModule = {
5166
5166
  command: "push <directory>",
5167
5167
  describe: "Pushes all entry patterns from files in a directory to Uniform",
5168
- builder: (yargs36) => withConfiguration(
5168
+ builder: (yargs37) => withConfiguration(
5169
5169
  withDebugOptions(
5170
5170
  withApiOptions(
5171
5171
  withProjectOptions(
5172
5172
  withStateOptions(
5173
5173
  withDiffOptions(
5174
- yargs36.positional("directory", {
5174
+ yargs37.positional("directory", {
5175
5175
  describe: "Directory to read the entry patterns from. If a filename is used, a package will be read instead.",
5176
5176
  type: "string"
5177
5177
  }).option("what-if", {
@@ -5275,11 +5275,11 @@ var EntryPatternRemoveModule = {
5275
5275
  command: "remove <id>",
5276
5276
  aliases: ["delete", "rm"],
5277
5277
  describe: "Delete an entry pattern",
5278
- builder: (yargs36) => withConfiguration(
5278
+ builder: (yargs37) => withConfiguration(
5279
5279
  withDebugOptions(
5280
5280
  withApiOptions(
5281
5281
  withProjectOptions(
5282
- yargs36.positional("id", { demandOption: true, describe: "Entry pattern public ID to delete" })
5282
+ yargs37.positional("id", { demandOption: true, describe: "Entry pattern public ID to delete" })
5283
5283
  )
5284
5284
  )
5285
5285
  )
@@ -5301,11 +5301,11 @@ import { diffJson as diffJson4 } from "diff";
5301
5301
  var EntryPatternUnpublishModule = {
5302
5302
  command: "unpublish [ids]",
5303
5303
  describe: "Unpublish an entry patterns",
5304
- builder: (yargs36) => withConfiguration(
5304
+ builder: (yargs37) => withConfiguration(
5305
5305
  withDebugOptions(
5306
5306
  withApiOptions(
5307
5307
  withProjectOptions(
5308
- yargs36.positional("ids", {
5308
+ yargs37.positional("ids", {
5309
5309
  describe: "Un-publishes entry patterns by ID. Comma-separate multiple IDs. Use --all to un-publish all instead.",
5310
5310
  type: "string"
5311
5311
  }).option("all", {
@@ -5375,12 +5375,12 @@ var EntryPatternUpdateModule = {
5375
5375
  command: "update <filename>",
5376
5376
  aliases: ["put"],
5377
5377
  describe: "Insert or update an entry pattern",
5378
- builder: (yargs36) => withConfiguration(
5378
+ builder: (yargs37) => withConfiguration(
5379
5379
  withDebugOptions(
5380
5380
  withApiOptions(
5381
5381
  withProjectOptions(
5382
5382
  withStateOptions(
5383
- yargs36.positional("filename", { demandOption: true, describe: "Entry pattern file to put" })
5383
+ yargs37.positional("filename", { demandOption: true, describe: "Entry pattern file to put" })
5384
5384
  )
5385
5385
  )
5386
5386
  )
@@ -5416,7 +5416,7 @@ var EntryPatternUpdateModule = {
5416
5416
  var EntryPatternModule = {
5417
5417
  command: "entry-pattern <command>",
5418
5418
  describe: "Commands for Entry patterns",
5419
- builder: (yargs36) => yargs36.command(EntryPatternGetModule).command(EntryPatternListModule).command(EntryPatternRemoveModule).command(EntryPatternUpdateModule).command(EntryPatternPullModule).command(EntryPatternPushModule).command(EntryPatternPublishModule).command(EntryPatternUnpublishModule).demandCommand(),
5419
+ builder: (yargs37) => yargs37.command(EntryPatternGetModule).command(EntryPatternListModule).command(EntryPatternRemoveModule).command(EntryPatternUpdateModule).command(EntryPatternPullModule).command(EntryPatternPushModule).command(EntryPatternPublishModule).command(EntryPatternUnpublishModule).demandCommand(),
5420
5420
  handler: () => {
5421
5421
  yargs11.help();
5422
5422
  }
@@ -5465,12 +5465,12 @@ function getLocaleClient(options) {
5465
5465
  var LocalePullModule = {
5466
5466
  command: "pull <directory>",
5467
5467
  describe: "Pulls all locales to local files in a directory",
5468
- builder: (yargs36) => withConfiguration(
5468
+ builder: (yargs37) => withConfiguration(
5469
5469
  withDebugOptions(
5470
5470
  withApiOptions(
5471
5471
  withProjectOptions(
5472
5472
  withDiffOptions(
5473
- yargs36.positional("directory", {
5473
+ yargs37.positional("directory", {
5474
5474
  describe: "Directory to save the locales to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
5475
5475
  type: "string"
5476
5476
  }).option("format", {
@@ -5550,12 +5550,12 @@ var LocalePullModule = {
5550
5550
  var LocalePushModule = {
5551
5551
  command: "push <directory>",
5552
5552
  describe: "Pushes all locales from files in a directory to Uniform",
5553
- builder: (yargs36) => withConfiguration(
5553
+ builder: (yargs37) => withConfiguration(
5554
5554
  withDebugOptions(
5555
5555
  withApiOptions(
5556
5556
  withProjectOptions(
5557
5557
  withDiffOptions(
5558
- yargs36.positional("directory", {
5558
+ yargs37.positional("directory", {
5559
5559
  describe: "Directory to read the locales from. If a filename is used, a package will be read instead.",
5560
5560
  type: "string"
5561
5561
  }).option("mode", {
@@ -5623,7 +5623,7 @@ var LocalePushModule = {
5623
5623
  var LocaleModule = {
5624
5624
  command: "locale <command>",
5625
5625
  describe: "Commands for locale definitions",
5626
- builder: (yargs36) => yargs36.command(LocalePullModule).command(LocalePushModule),
5626
+ builder: (yargs37) => yargs37.command(LocalePullModule).command(LocalePushModule),
5627
5627
  handler: () => {
5628
5628
  yargs12.help();
5629
5629
  }
@@ -5644,12 +5644,12 @@ function getPreviewClient(options) {
5644
5644
  var PreviewUrlGetModule = {
5645
5645
  command: "get <id>",
5646
5646
  describe: "Fetch a preview URL",
5647
- builder: (yargs36) => withConfiguration(
5647
+ builder: (yargs37) => withConfiguration(
5648
5648
  withFormatOptions(
5649
5649
  withDebugOptions(
5650
5650
  withApiOptions(
5651
5651
  withProjectOptions(
5652
- yargs36.positional("id", { demandOption: true, describe: "Preview URL UUID to fetch" })
5652
+ yargs37.positional("id", { demandOption: true, describe: "Preview URL UUID to fetch" })
5653
5653
  )
5654
5654
  )
5655
5655
  )
@@ -5673,8 +5673,8 @@ var PreviewUrlListModule = {
5673
5673
  command: "list",
5674
5674
  describe: "List preview URLs",
5675
5675
  aliases: ["ls"],
5676
- builder: (yargs36) => withConfiguration(
5677
- withFormatOptions(withApiOptions(withDebugOptions(withProjectOptions(yargs36.options({})))))
5676
+ builder: (yargs37) => withConfiguration(
5677
+ withFormatOptions(withApiOptions(withDebugOptions(withProjectOptions(yargs37.options({})))))
5678
5678
  ),
5679
5679
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
5680
5680
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -5716,12 +5716,12 @@ function createPreviewUrlEngineDataSource({
5716
5716
  var PreviewUrlPullModule = {
5717
5717
  command: "pull <directory>",
5718
5718
  describe: "Pulls all preview urls to local files in a directory",
5719
- builder: (yargs36) => withConfiguration(
5719
+ builder: (yargs37) => withConfiguration(
5720
5720
  withApiOptions(
5721
5721
  withProjectOptions(
5722
5722
  withDebugOptions(
5723
5723
  withDiffOptions(
5724
- yargs36.positional("directory", {
5724
+ yargs37.positional("directory", {
5725
5725
  describe: "Directory to save to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
5726
5726
  type: "string"
5727
5727
  }).option("format", {
@@ -5796,12 +5796,12 @@ var PreviewUrlPullModule = {
5796
5796
  var PreviewUrlPushModule = {
5797
5797
  command: "push <directory>",
5798
5798
  describe: "Pushes all preview urls from files in a directory to Uniform Canvas",
5799
- builder: (yargs36) => withConfiguration(
5799
+ builder: (yargs37) => withConfiguration(
5800
5800
  withApiOptions(
5801
5801
  withProjectOptions(
5802
5802
  withDiffOptions(
5803
5803
  withDebugOptions(
5804
- yargs36.positional("directory", {
5804
+ yargs37.positional("directory", {
5805
5805
  describe: "Directory to read from. If a filename is used, a package will be read instead.",
5806
5806
  type: "string"
5807
5807
  }).option("mode", {
@@ -5865,11 +5865,11 @@ var PreviewUrlRemoveModule = {
5865
5865
  command: "remove <id>",
5866
5866
  aliases: ["delete", "rm"],
5867
5867
  describe: "Delete a preview URL",
5868
- builder: (yargs36) => withConfiguration(
5868
+ builder: (yargs37) => withConfiguration(
5869
5869
  withApiOptions(
5870
5870
  withDebugOptions(
5871
5871
  withProjectOptions(
5872
- yargs36.positional("id", { demandOption: true, describe: "Preview URL UUID to delete" })
5872
+ yargs37.positional("id", { demandOption: true, describe: "Preview URL UUID to delete" })
5873
5873
  )
5874
5874
  )
5875
5875
  )
@@ -5890,11 +5890,11 @@ var PreviewUrlUpdateModule = {
5890
5890
  command: "update <filename>",
5891
5891
  aliases: ["put"],
5892
5892
  describe: "Insert or update a preview URL",
5893
- builder: (yargs36) => withConfiguration(
5893
+ builder: (yargs37) => withConfiguration(
5894
5894
  withDebugOptions(
5895
5895
  withApiOptions(
5896
5896
  withProjectOptions(
5897
- yargs36.positional("filename", { demandOption: true, describe: "Category file to put" })
5897
+ yargs37.positional("filename", { demandOption: true, describe: "Category file to put" })
5898
5898
  )
5899
5899
  )
5900
5900
  )
@@ -5916,7 +5916,7 @@ var PreviewUrlModule = {
5916
5916
  command: "preview-url <command>",
5917
5917
  aliases: ["pu"],
5918
5918
  describe: "Commands for Canvas preview urls",
5919
- builder: (yargs36) => yargs36.command(PreviewUrlPullModule).command(PreviewUrlPushModule).command(PreviewUrlGetModule).command(PreviewUrlRemoveModule).command(PreviewUrlListModule).command(PreviewUrlUpdateModule).demandCommand(),
5919
+ builder: (yargs37) => yargs37.command(PreviewUrlPullModule).command(PreviewUrlPushModule).command(PreviewUrlGetModule).command(PreviewUrlRemoveModule).command(PreviewUrlListModule).command(PreviewUrlUpdateModule).demandCommand(),
5920
5920
  handler: () => {
5921
5921
  yargs13.help();
5922
5922
  }
@@ -5929,12 +5929,12 @@ import yargs14 from "yargs";
5929
5929
  var PreviewViewportGetModule = {
5930
5930
  command: "get <id>",
5931
5931
  describe: "Fetch a preview viewport",
5932
- builder: (yargs36) => withConfiguration(
5932
+ builder: (yargs37) => withConfiguration(
5933
5933
  withFormatOptions(
5934
5934
  withDebugOptions(
5935
5935
  withApiOptions(
5936
5936
  withProjectOptions(
5937
- yargs36.positional("id", { demandOption: true, describe: "Preview viewport UUID to fetch" })
5937
+ yargs37.positional("id", { demandOption: true, describe: "Preview viewport UUID to fetch" })
5938
5938
  )
5939
5939
  )
5940
5940
  )
@@ -5958,8 +5958,8 @@ var PreviewViewportListModule = {
5958
5958
  command: "list",
5959
5959
  describe: "List preview viewports",
5960
5960
  aliases: ["ls"],
5961
- builder: (yargs36) => withConfiguration(
5962
- withFormatOptions(withDebugOptions(withApiOptions(withProjectOptions(yargs36.options({})))))
5961
+ builder: (yargs37) => withConfiguration(
5962
+ withFormatOptions(withDebugOptions(withApiOptions(withProjectOptions(yargs37.options({})))))
5963
5963
  ),
5964
5964
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
5965
5965
  const fetch2 = nodeFetchProxy(proxy, verbose);
@@ -6005,12 +6005,12 @@ function createPreviewViewportEngineDataSource({
6005
6005
  var PreviewViewportPullModule = {
6006
6006
  command: "pull <directory>",
6007
6007
  describe: "Pulls all preview viewports to local files in a directory",
6008
- builder: (yargs36) => withConfiguration(
6008
+ builder: (yargs37) => withConfiguration(
6009
6009
  withApiOptions(
6010
6010
  withProjectOptions(
6011
6011
  withDebugOptions(
6012
6012
  withDiffOptions(
6013
- yargs36.positional("directory", {
6013
+ yargs37.positional("directory", {
6014
6014
  describe: "Directory to save to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
6015
6015
  type: "string"
6016
6016
  }).option("format", {
@@ -6085,12 +6085,12 @@ var PreviewViewportPullModule = {
6085
6085
  var PreviewViewportPushModule = {
6086
6086
  command: "push <directory>",
6087
6087
  describe: "Pushes all preview viewports from files in a directory to Uniform Canvas",
6088
- builder: (yargs36) => withConfiguration(
6088
+ builder: (yargs37) => withConfiguration(
6089
6089
  withApiOptions(
6090
6090
  withProjectOptions(
6091
6091
  withDiffOptions(
6092
6092
  withDebugOptions(
6093
- yargs36.positional("directory", {
6093
+ yargs37.positional("directory", {
6094
6094
  describe: "Directory to read from. If a filename is used, a package will be read instead.",
6095
6095
  type: "string"
6096
6096
  }).option("mode", {
@@ -6154,11 +6154,11 @@ var PreviewViewportRemoveModule = {
6154
6154
  command: "remove <id>",
6155
6155
  aliases: ["delete", "rm"],
6156
6156
  describe: "Delete a preview viewport",
6157
- builder: (yargs36) => withConfiguration(
6157
+ builder: (yargs37) => withConfiguration(
6158
6158
  withApiOptions(
6159
6159
  withDebugOptions(
6160
6160
  withProjectOptions(
6161
- yargs36.positional("id", { demandOption: true, describe: "Preview viewport UUID to delete" })
6161
+ yargs37.positional("id", { demandOption: true, describe: "Preview viewport UUID to delete" })
6162
6162
  )
6163
6163
  )
6164
6164
  )
@@ -6179,11 +6179,11 @@ var PreviewViewportUpdateModule = {
6179
6179
  command: "update <filename>",
6180
6180
  aliases: ["put"],
6181
6181
  describe: "Insert or update a preview viewport",
6182
- builder: (yargs36) => withConfiguration(
6182
+ builder: (yargs37) => withConfiguration(
6183
6183
  withDebugOptions(
6184
6184
  withApiOptions(
6185
6185
  withProjectOptions(
6186
- yargs36.positional("filename", { demandOption: true, describe: "Preview viewport file to put" })
6186
+ yargs37.positional("filename", { demandOption: true, describe: "Preview viewport file to put" })
6187
6187
  )
6188
6188
  )
6189
6189
  )
@@ -6205,7 +6205,7 @@ var PreviewViewportModule = {
6205
6205
  command: "preview-viewport <command>",
6206
6206
  aliases: ["pv"],
6207
6207
  describe: "Commands for Canvas preview viewports",
6208
- builder: (yargs36) => yargs36.command(PreviewViewportPullModule).command(PreviewViewportPushModule).command(PreviewViewportGetModule).command(PreviewViewportRemoveModule).command(PreviewViewportListModule).command(PreviewViewportUpdateModule).demandCommand(),
6208
+ builder: (yargs37) => yargs37.command(PreviewViewportPullModule).command(PreviewViewportPushModule).command(PreviewViewportGetModule).command(PreviewViewportRemoveModule).command(PreviewViewportListModule).command(PreviewViewportUpdateModule).demandCommand(),
6209
6209
  handler: () => {
6210
6210
  yargs14.help();
6211
6211
  }
@@ -6224,12 +6224,12 @@ var getPromptClient = (options) => new PromptClient({ ...options, bypassCache: t
6224
6224
  var PromptGetModule = {
6225
6225
  command: "get <id>",
6226
6226
  describe: "Get a prompt",
6227
- builder: (yargs36) => withConfiguration(
6227
+ builder: (yargs37) => withConfiguration(
6228
6228
  withDebugOptions(
6229
6229
  withFormatOptions(
6230
6230
  withApiOptions(
6231
6231
  withProjectOptions(
6232
- yargs36.positional("id", { demandOption: true, describe: "Prompt ID to fetch" })
6232
+ yargs37.positional("id", { demandOption: true, describe: "Prompt ID to fetch" })
6233
6233
  )
6234
6234
  )
6235
6235
  )
@@ -6250,7 +6250,7 @@ var PromptGetModule = {
6250
6250
  var PromptListModule = {
6251
6251
  command: "list",
6252
6252
  describe: "List prompts",
6253
- builder: (yargs36) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs36))))),
6253
+ builder: (yargs37) => withConfiguration(withDebugOptions(withFormatOptions(withApiOptions(withProjectOptions(yargs37))))),
6254
6254
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId, verbose }) => {
6255
6255
  const fetch2 = nodeFetchProxy(proxy, verbose);
6256
6256
  const client = getPromptClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -6291,13 +6291,13 @@ function createPromptEngineDataSource({
6291
6291
  var PromptPullModule = {
6292
6292
  command: "pull <directory>",
6293
6293
  describe: "Pulls all prompts to local files in a directory",
6294
- builder: (yargs36) => withConfiguration(
6294
+ builder: (yargs37) => withConfiguration(
6295
6295
  withDebugOptions(
6296
6296
  withApiOptions(
6297
6297
  withProjectOptions(
6298
6298
  withStateOptions(
6299
6299
  withDiffOptions(
6300
- yargs36.positional("directory", {
6300
+ yargs37.positional("directory", {
6301
6301
  describe: "Directory to save the prompts to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
6302
6302
  type: "string"
6303
6303
  }).option("format", {
@@ -6378,12 +6378,12 @@ var PromptPullModule = {
6378
6378
  var PromptPushModule = {
6379
6379
  command: "push <directory>",
6380
6380
  describe: "Pushes all prompts from files in a directory to Uniform",
6381
- builder: (yargs36) => withConfiguration(
6381
+ builder: (yargs37) => withConfiguration(
6382
6382
  withApiOptions(
6383
6383
  withProjectOptions(
6384
6384
  withStateOptions(
6385
6385
  withDiffOptions(
6386
- yargs36.positional("directory", {
6386
+ yargs37.positional("directory", {
6387
6387
  describe: "Directory to read the prompts from. If a filename is used, a package will be read instead.",
6388
6388
  type: "string"
6389
6389
  }).option("mode", {
@@ -6452,10 +6452,10 @@ var PromptRemoveModule = {
6452
6452
  command: "remove <id>",
6453
6453
  aliases: ["delete", "rm"],
6454
6454
  describe: "Delete a prompt",
6455
- builder: (yargs36) => withConfiguration(
6455
+ builder: (yargs37) => withConfiguration(
6456
6456
  withDebugOptions(
6457
6457
  withApiOptions(
6458
- withProjectOptions(yargs36.positional("id", { demandOption: true, describe: "Prompt ID to delete" }))
6458
+ withProjectOptions(yargs37.positional("id", { demandOption: true, describe: "Prompt ID to delete" }))
6459
6459
  )
6460
6460
  )
6461
6461
  ),
@@ -6475,11 +6475,11 @@ var PromptUpdateModule = {
6475
6475
  command: "update <filename>",
6476
6476
  aliases: ["put"],
6477
6477
  describe: "Insert or update a prompt",
6478
- builder: (yargs36) => withConfiguration(
6478
+ builder: (yargs37) => withConfiguration(
6479
6479
  withDebugOptions(
6480
6480
  withApiOptions(
6481
6481
  withProjectOptions(
6482
- yargs36.positional("filename", { demandOption: true, describe: "Prompt file to put" })
6482
+ yargs37.positional("filename", { demandOption: true, describe: "Prompt file to put" })
6483
6483
  )
6484
6484
  )
6485
6485
  )
@@ -6501,7 +6501,7 @@ var PromptModule = {
6501
6501
  command: "prompt <command>",
6502
6502
  aliases: ["dt"],
6503
6503
  describe: "Commands for AI Prompt definitions",
6504
- builder: (yargs36) => yargs36.command(PromptGetModule).command(PromptListModule).command(PromptPullModule).command(PromptPushModule).command(PromptRemoveModule).command(PromptUpdateModule).demandCommand(),
6504
+ builder: (yargs37) => yargs37.command(PromptGetModule).command(PromptListModule).command(PromptPullModule).command(PromptPushModule).command(PromptRemoveModule).command(PromptUpdateModule).demandCommand(),
6505
6505
  handler: () => {
6506
6506
  yargs15.help();
6507
6507
  }
@@ -6551,12 +6551,12 @@ function createWorkflowEngineDataSource({
6551
6551
  var WorkflowPullModule = {
6552
6552
  command: "pull <directory>",
6553
6553
  describe: "Pulls all workflows to local files in a directory",
6554
- builder: (yargs36) => withConfiguration(
6554
+ builder: (yargs37) => withConfiguration(
6555
6555
  withApiOptions(
6556
6556
  withDebugOptions(
6557
6557
  withProjectOptions(
6558
6558
  withDiffOptions(
6559
- yargs36.positional("directory", {
6559
+ yargs37.positional("directory", {
6560
6560
  describe: "Directory to save to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
6561
6561
  type: "string"
6562
6562
  }).option("format", {
@@ -6631,12 +6631,12 @@ var WorkflowPullModule = {
6631
6631
  var WorkflowPushModule = {
6632
6632
  command: "push <directory>",
6633
6633
  describe: "Pushes all workflows from files in a directory to Uniform Canvas",
6634
- builder: (yargs36) => withConfiguration(
6634
+ builder: (yargs37) => withConfiguration(
6635
6635
  withDebugOptions(
6636
6636
  withApiOptions(
6637
6637
  withProjectOptions(
6638
6638
  withDiffOptions(
6639
- yargs36.positional("directory", {
6639
+ yargs37.positional("directory", {
6640
6640
  describe: "Directory to read from. If a filename is used, a package will be read instead.",
6641
6641
  type: "string"
6642
6642
  }).option("mode", {
@@ -6700,7 +6700,7 @@ var WorkflowModule = {
6700
6700
  command: "workflow <command>",
6701
6701
  aliases: ["wf"],
6702
6702
  describe: "Commands for Canvas workflows",
6703
- builder: (yargs36) => yargs36.command(WorkflowPullModule).command(WorkflowPushModule).demandCommand(),
6703
+ builder: (yargs37) => yargs37.command(WorkflowPullModule).command(WorkflowPushModule).demandCommand(),
6704
6704
  handler: () => {
6705
6705
  yargs16.help();
6706
6706
  }
@@ -6711,7 +6711,7 @@ var CanvasCommand = {
6711
6711
  command: "canvas <command>",
6712
6712
  aliases: ["cv", "pm", "presentation"],
6713
6713
  describe: "Uniform Canvas commands",
6714
- builder: (yargs36) => yargs36.command(CompositionModule).command(ComponentModule).command(DataTypeModule).command(DataSourceModule).command(CategoryModule).command(ComponentPatternModule).command(CompositionPatternModule).command(ContentTypeModule).command(EntryModule).command(EntryPatternModule).command(PromptModule).command(AssetModule).command(LocaleModule).command(WorkflowModule).command(PreviewUrlModule).command(PreviewViewportModule).demandCommand(),
6714
+ builder: (yargs37) => yargs37.command(CompositionModule).command(ComponentModule).command(DataTypeModule).command(DataSourceModule).command(CategoryModule).command(ComponentPatternModule).command(CompositionPatternModule).command(ContentTypeModule).command(EntryModule).command(EntryPatternModule).command(PromptModule).command(AssetModule).command(LocaleModule).command(WorkflowModule).command(PreviewUrlModule).command(PreviewViewportModule).demandCommand(),
6715
6715
  handler: () => {
6716
6716
  yargs17.showHelp();
6717
6717
  }
@@ -6733,11 +6733,11 @@ var getAggregateClient = (options) => new AggregateClient({ ...options, bypassCa
6733
6733
  var AggregateGetModule = {
6734
6734
  command: "get <id>",
6735
6735
  describe: "Fetch an aggregate",
6736
- builder: (yargs36) => withConfiguration(
6736
+ builder: (yargs37) => withConfiguration(
6737
6737
  withFormatOptions(
6738
6738
  withApiOptions(
6739
6739
  withProjectOptions(
6740
- yargs36.positional("id", { demandOption: true, describe: "Aggregate public ID to fetch" })
6740
+ yargs37.positional("id", { demandOption: true, describe: "Aggregate public ID to fetch" })
6741
6741
  )
6742
6742
  )
6743
6743
  )
@@ -6760,7 +6760,7 @@ var AggregateListModule = {
6760
6760
  command: "list",
6761
6761
  describe: "List aggregates",
6762
6762
  aliases: ["ls"],
6763
- builder: (yargs36) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs36)))),
6763
+ builder: (yargs37) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs37)))),
6764
6764
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
6765
6765
  const fetch2 = nodeFetchProxy(proxy);
6766
6766
  const client = getAggregateClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -6823,12 +6823,12 @@ function writeContextPackage(filename, packageContents) {
6823
6823
  var AggregatePullModule = {
6824
6824
  command: "pull <directory>",
6825
6825
  describe: "Pulls all aggregates to local files in a directory",
6826
- builder: (yargs36) => withConfiguration(
6826
+ builder: (yargs37) => withConfiguration(
6827
6827
  withApiOptions(
6828
6828
  withDebugOptions(
6829
6829
  withProjectOptions(
6830
6830
  withDiffOptions(
6831
- yargs36.positional("directory", {
6831
+ yargs37.positional("directory", {
6832
6832
  describe: "Directory to save the aggregates to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
6833
6833
  type: "string"
6834
6834
  }).option("format", {
@@ -6903,12 +6903,12 @@ var AggregatePullModule = {
6903
6903
  var AggregatePushModule = {
6904
6904
  command: "push <directory>",
6905
6905
  describe: "Pushes all aggregates from files in a directory or package to Uniform",
6906
- builder: (yargs36) => withConfiguration(
6906
+ builder: (yargs37) => withConfiguration(
6907
6907
  withApiOptions(
6908
6908
  withProjectOptions(
6909
6909
  withDiffOptions(
6910
6910
  withDebugOptions(
6911
- yargs36.positional("directory", {
6911
+ yargs37.positional("directory", {
6912
6912
  describe: "Directory to read the aggregates from. If a filename is used, a package will be read instead.",
6913
6913
  type: "string"
6914
6914
  }).option("mode", {
@@ -6973,10 +6973,10 @@ var AggregateRemoveModule = {
6973
6973
  command: "remove <id>",
6974
6974
  aliases: ["delete", "rm"],
6975
6975
  describe: "Delete an aggregate",
6976
- builder: (yargs36) => withConfiguration(
6976
+ builder: (yargs37) => withConfiguration(
6977
6977
  withApiOptions(
6978
6978
  withProjectOptions(
6979
- yargs36.positional("id", { demandOption: true, describe: "Aggregate public ID to delete" })
6979
+ yargs37.positional("id", { demandOption: true, describe: "Aggregate public ID to delete" })
6980
6980
  )
6981
6981
  )
6982
6982
  ),
@@ -6992,10 +6992,10 @@ var AggregateUpdateModule = {
6992
6992
  command: "update <filename>",
6993
6993
  aliases: ["put"],
6994
6994
  describe: "Insert or update an aggregate",
6995
- builder: (yargs36) => withConfiguration(
6995
+ builder: (yargs37) => withConfiguration(
6996
6996
  withApiOptions(
6997
6997
  withProjectOptions(
6998
- yargs36.positional("filename", { demandOption: true, describe: "Aggregate file to put" })
6998
+ yargs37.positional("filename", { demandOption: true, describe: "Aggregate file to put" })
6999
6999
  )
7000
7000
  )
7001
7001
  ),
@@ -7012,7 +7012,7 @@ var AggregateModule = {
7012
7012
  command: "aggregate <command>",
7013
7013
  aliases: ["agg", "intent", "audience"],
7014
7014
  describe: "Commands for Context aggregates (intents, audiences)",
7015
- builder: (yargs36) => yargs36.command(AggregatePullModule).command(AggregatePushModule).command(AggregateGetModule).command(AggregateRemoveModule).command(AggregateListModule).command(AggregateUpdateModule).demandCommand(),
7015
+ builder: (yargs37) => yargs37.command(AggregatePullModule).command(AggregatePushModule).command(AggregateGetModule).command(AggregateRemoveModule).command(AggregateListModule).command(AggregateUpdateModule).demandCommand(),
7016
7016
  handler: () => {
7017
7017
  yargs18.help();
7018
7018
  }
@@ -7033,11 +7033,11 @@ function getEnrichmentClient(options) {
7033
7033
  var EnrichmentGetModule = {
7034
7034
  command: "get <id>",
7035
7035
  describe: "Fetch an enrichment category and its values",
7036
- builder: (yargs36) => withFormatOptions(
7036
+ builder: (yargs37) => withFormatOptions(
7037
7037
  withConfiguration(
7038
7038
  withApiOptions(
7039
7039
  withProjectOptions(
7040
- yargs36.positional("id", { demandOption: true, describe: "Enrichment category public ID to fetch" })
7040
+ yargs37.positional("id", { demandOption: true, describe: "Enrichment category public ID to fetch" })
7041
7041
  )
7042
7042
  )
7043
7043
  )
@@ -7060,7 +7060,7 @@ var EnrichmentListModule = {
7060
7060
  command: "list",
7061
7061
  describe: "List enrichments",
7062
7062
  aliases: ["ls"],
7063
- builder: (yargs36) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs36)))),
7063
+ builder: (yargs37) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs37)))),
7064
7064
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
7065
7065
  const fetch2 = nodeFetchProxy(proxy);
7066
7066
  const client = getEnrichmentClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -7155,12 +7155,12 @@ var createEnrichmentValueEngineDataSource = ({
7155
7155
  var EnrichmentPullModule = {
7156
7156
  command: "pull <directory>",
7157
7157
  describe: "Pulls all enrichments to local files in a directory",
7158
- builder: (yargs36) => withConfiguration(
7158
+ builder: (yargs37) => withConfiguration(
7159
7159
  withDebugOptions(
7160
7160
  withApiOptions(
7161
7161
  withProjectOptions(
7162
7162
  withDiffOptions(
7163
- yargs36.positional("directory", {
7163
+ yargs37.positional("directory", {
7164
7164
  describe: "Directory to save the enrichments to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
7165
7165
  type: "string"
7166
7166
  }).option("format", {
@@ -7235,11 +7235,11 @@ var EnrichmentPullModule = {
7235
7235
  var EnrichmentPushModule = {
7236
7236
  command: "push <directory>",
7237
7237
  describe: "Pushes all enrichments from files in a directory or package to Uniform",
7238
- builder: (yargs36) => withConfiguration(
7238
+ builder: (yargs37) => withConfiguration(
7239
7239
  withApiOptions(
7240
7240
  withProjectOptions(
7241
7241
  withDiffOptions(
7242
- yargs36.positional("directory", {
7242
+ yargs37.positional("directory", {
7243
7243
  describe: "Directory to read the enrichments from. If a filename is used, a package will be read instead.",
7244
7244
  type: "string"
7245
7245
  }).option("mode", {
@@ -7302,10 +7302,10 @@ var EnrichmentRemoveModule = {
7302
7302
  command: "remove <id>",
7303
7303
  aliases: ["delete", "rm"],
7304
7304
  describe: "Delete an enrichment category and its values",
7305
- builder: (yargs36) => withConfiguration(
7305
+ builder: (yargs37) => withConfiguration(
7306
7306
  withApiOptions(
7307
7307
  withProjectOptions(
7308
- yargs36.positional("id", { demandOption: true, describe: "Enrichment category public ID to delete" })
7308
+ yargs37.positional("id", { demandOption: true, describe: "Enrichment category public ID to delete" })
7309
7309
  )
7310
7310
  )
7311
7311
  ),
@@ -7321,7 +7321,7 @@ var EnrichmentModule = {
7321
7321
  command: "enrichment <command>",
7322
7322
  aliases: ["enr"],
7323
7323
  describe: "Commands for Context enrichments",
7324
- builder: (yargs36) => yargs36.command(EnrichmentPullModule).command(EnrichmentPushModule).command(EnrichmentGetModule).command(EnrichmentRemoveModule).command(EnrichmentListModule).demandCommand(),
7324
+ builder: (yargs37) => yargs37.command(EnrichmentPullModule).command(EnrichmentPushModule).command(EnrichmentGetModule).command(EnrichmentRemoveModule).command(EnrichmentListModule).demandCommand(),
7325
7325
  handler: () => {
7326
7326
  yargs19.help();
7327
7327
  }
@@ -7339,10 +7339,10 @@ var ManifestGetModule = {
7339
7339
  command: "get [output]",
7340
7340
  aliases: ["dl", "download"],
7341
7341
  describe: "Download the Uniform Context manifest for a project",
7342
- builder: (yargs36) => withConfiguration(
7342
+ builder: (yargs37) => withConfiguration(
7343
7343
  withApiOptions(
7344
7344
  withProjectOptions(
7345
- yargs36.option("preview", {
7345
+ yargs37.option("preview", {
7346
7346
  describe: "If set, fetches the unpublished preview manifest (The API key must have permission)",
7347
7347
  default: false,
7348
7348
  type: "boolean",
@@ -7404,7 +7404,7 @@ import { exit as exit2 } from "process";
7404
7404
  var ManifestPublishModule = {
7405
7405
  command: "publish",
7406
7406
  describe: "Publish the Uniform Context manifest for a project",
7407
- builder: (yargs36) => withConfiguration(withApiOptions(withProjectOptions(yargs36))),
7407
+ builder: (yargs37) => withConfiguration(withApiOptions(withProjectOptions(yargs37))),
7408
7408
  handler: async ({ apiKey, apiHost, proxy, project }) => {
7409
7409
  const fetch2 = nodeFetchProxy(proxy);
7410
7410
  try {
@@ -7437,7 +7437,7 @@ var ManifestModule = {
7437
7437
  command: "manifest <command>",
7438
7438
  describe: "Commands for context manifests",
7439
7439
  aliases: ["man"],
7440
- builder: (yargs36) => yargs36.command(ManifestGetModule).command(ManifestPublishModule).demandCommand(),
7440
+ builder: (yargs37) => yargs37.command(ManifestGetModule).command(ManifestPublishModule).demandCommand(),
7441
7441
  handler: () => {
7442
7442
  yargs20.help();
7443
7443
  }
@@ -7451,11 +7451,11 @@ import { UncachedQuirkClient } from "@uniformdev/context/api";
7451
7451
  var QuirkGetModule = {
7452
7452
  command: "get <id>",
7453
7453
  describe: "Fetch a quirk",
7454
- builder: (yargs36) => withConfiguration(
7454
+ builder: (yargs37) => withConfiguration(
7455
7455
  withFormatOptions(
7456
7456
  withApiOptions(
7457
7457
  withProjectOptions(
7458
- yargs36.positional("id", { demandOption: true, describe: "Quirk public ID to fetch" })
7458
+ yargs37.positional("id", { demandOption: true, describe: "Quirk public ID to fetch" })
7459
7459
  )
7460
7460
  )
7461
7461
  )
@@ -7479,11 +7479,11 @@ var QuirkListModule = {
7479
7479
  command: "list",
7480
7480
  describe: "List quirks",
7481
7481
  aliases: ["ls"],
7482
- builder: (yargs36) => withConfiguration(
7482
+ builder: (yargs37) => withConfiguration(
7483
7483
  withFormatOptions(
7484
7484
  withApiOptions(
7485
7485
  withProjectOptions(
7486
- yargs36.option("withIntegrations", {
7486
+ yargs37.option("withIntegrations", {
7487
7487
  alias: ["i"],
7488
7488
  describe: "Whether to include meta-quirks created by integrations in the list. Defaults to false.",
7489
7489
  type: "boolean"
@@ -7541,12 +7541,12 @@ function createQuirkEngineDataSource({
7541
7541
  var QuirkPullModule = {
7542
7542
  command: "pull <directory>",
7543
7543
  describe: "Pulls all quirks to local files in a directory",
7544
- builder: (yargs36) => withConfiguration(
7544
+ builder: (yargs37) => withConfiguration(
7545
7545
  withDebugOptions(
7546
7546
  withApiOptions(
7547
7547
  withProjectOptions(
7548
7548
  withDiffOptions(
7549
- yargs36.positional("directory", {
7549
+ yargs37.positional("directory", {
7550
7550
  describe: "Directory to save the quirks to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
7551
7551
  type: "string"
7552
7552
  }).option("format", {
@@ -7622,12 +7622,12 @@ import { UncachedQuirkClient as UncachedQuirkClient4 } from "@uniformdev/context
7622
7622
  var QuirkPushModule = {
7623
7623
  command: "push <directory>",
7624
7624
  describe: "Pushes all quirks from files in a directory or package to Uniform",
7625
- builder: (yargs36) => withConfiguration(
7625
+ builder: (yargs37) => withConfiguration(
7626
7626
  withDebugOptions(
7627
7627
  withApiOptions(
7628
7628
  withProjectOptions(
7629
7629
  withDiffOptions(
7630
- yargs36.positional("directory", {
7630
+ yargs37.positional("directory", {
7631
7631
  describe: "Directory to read the quirks from. If a filename is used, a package will be read instead.",
7632
7632
  type: "string"
7633
7633
  }).option("mode", {
@@ -7692,10 +7692,10 @@ var QuirkRemoveModule = {
7692
7692
  command: "remove <id>",
7693
7693
  aliases: ["delete", "rm"],
7694
7694
  describe: "Delete a quirk",
7695
- builder: (yargs36) => withConfiguration(
7695
+ builder: (yargs37) => withConfiguration(
7696
7696
  withApiOptions(
7697
7697
  withProjectOptions(
7698
- yargs36.positional("id", { demandOption: true, describe: "Quirk public ID to delete" })
7698
+ yargs37.positional("id", { demandOption: true, describe: "Quirk public ID to delete" })
7699
7699
  )
7700
7700
  )
7701
7701
  ),
@@ -7712,10 +7712,10 @@ var QuirkUpdateModule = {
7712
7712
  command: "update <filename>",
7713
7713
  aliases: ["put"],
7714
7714
  describe: "Insert or update a quirk",
7715
- builder: (yargs36) => withConfiguration(
7715
+ builder: (yargs37) => withConfiguration(
7716
7716
  withApiOptions(
7717
7717
  withProjectOptions(
7718
- yargs36.positional("filename", { demandOption: true, describe: "Quirk file to put" })
7718
+ yargs37.positional("filename", { demandOption: true, describe: "Quirk file to put" })
7719
7719
  )
7720
7720
  )
7721
7721
  ),
@@ -7732,7 +7732,7 @@ var QuirkModule = {
7732
7732
  command: "quirk <command>",
7733
7733
  aliases: ["qk"],
7734
7734
  describe: "Commands for Context quirks",
7735
- builder: (yargs36) => yargs36.command(QuirkPullModule).command(QuirkPushModule).command(QuirkGetModule).command(QuirkRemoveModule).command(QuirkListModule).command(QuirkUpdateModule).demandCommand(),
7735
+ builder: (yargs37) => yargs37.command(QuirkPullModule).command(QuirkPushModule).command(QuirkGetModule).command(QuirkRemoveModule).command(QuirkListModule).command(QuirkUpdateModule).demandCommand(),
7736
7736
  handler: () => {
7737
7737
  yargs21.help();
7738
7738
  }
@@ -7746,11 +7746,11 @@ import { UncachedSignalClient } from "@uniformdev/context/api";
7746
7746
  var SignalGetModule = {
7747
7747
  command: "get <id>",
7748
7748
  describe: "Fetch a signal",
7749
- builder: (yargs36) => withConfiguration(
7749
+ builder: (yargs37) => withConfiguration(
7750
7750
  withFormatOptions(
7751
7751
  withApiOptions(
7752
7752
  withProjectOptions(
7753
- yargs36.positional("id", { demandOption: true, describe: "Signal public ID to fetch" })
7753
+ yargs37.positional("id", { demandOption: true, describe: "Signal public ID to fetch" })
7754
7754
  )
7755
7755
  )
7756
7756
  )
@@ -7774,7 +7774,7 @@ var SignalListModule = {
7774
7774
  command: "list",
7775
7775
  describe: "List signals",
7776
7776
  aliases: ["ls"],
7777
- builder: (yargs36) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs36)))),
7777
+ builder: (yargs37) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs37)))),
7778
7778
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
7779
7779
  const fetch2 = nodeFetchProxy(proxy);
7780
7780
  const client = new UncachedSignalClient2({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -7824,12 +7824,12 @@ function createSignalEngineDataSource({
7824
7824
  var SignalPullModule = {
7825
7825
  command: "pull <directory>",
7826
7826
  describe: "Pulls all signals to local files in a directory",
7827
- builder: (yargs36) => withConfiguration(
7827
+ builder: (yargs37) => withConfiguration(
7828
7828
  withDebugOptions(
7829
7829
  withApiOptions(
7830
7830
  withProjectOptions(
7831
7831
  withDiffOptions(
7832
- yargs36.positional("directory", {
7832
+ yargs37.positional("directory", {
7833
7833
  describe: "Directory to save the signals to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
7834
7834
  type: "string"
7835
7835
  }).option("format", {
@@ -7905,12 +7905,12 @@ import { UncachedSignalClient as UncachedSignalClient4 } from "@uniformdev/conte
7905
7905
  var SignalPushModule = {
7906
7906
  command: "push <directory>",
7907
7907
  describe: "Pushes all signals from files in a directory or package to Uniform",
7908
- builder: (yargs36) => withConfiguration(
7908
+ builder: (yargs37) => withConfiguration(
7909
7909
  withDebugOptions(
7910
7910
  withApiOptions(
7911
7911
  withProjectOptions(
7912
7912
  withDiffOptions(
7913
- yargs36.positional("directory", {
7913
+ yargs37.positional("directory", {
7914
7914
  describe: "Directory to read the signals from. If a filename is used, a package will be read instead.",
7915
7915
  type: "string"
7916
7916
  }).option("mode", {
@@ -7975,10 +7975,10 @@ var SignalRemoveModule = {
7975
7975
  command: "remove <id>",
7976
7976
  aliases: ["delete", "rm"],
7977
7977
  describe: "Delete a signal",
7978
- builder: (yargs36) => withConfiguration(
7978
+ builder: (yargs37) => withConfiguration(
7979
7979
  withApiOptions(
7980
7980
  withProjectOptions(
7981
- yargs36.positional("id", { demandOption: true, describe: "Signal public ID to delete" })
7981
+ yargs37.positional("id", { demandOption: true, describe: "Signal public ID to delete" })
7982
7982
  )
7983
7983
  )
7984
7984
  ),
@@ -7995,10 +7995,10 @@ var SignalUpdateModule = {
7995
7995
  command: "update <filename>",
7996
7996
  aliases: ["put"],
7997
7997
  describe: "Insert or update a signal",
7998
- builder: (yargs36) => withConfiguration(
7998
+ builder: (yargs37) => withConfiguration(
7999
7999
  withApiOptions(
8000
8000
  withProjectOptions(
8001
- yargs36.positional("filename", { demandOption: true, describe: "Signal file to put" })
8001
+ yargs37.positional("filename", { demandOption: true, describe: "Signal file to put" })
8002
8002
  )
8003
8003
  )
8004
8004
  ),
@@ -8015,7 +8015,7 @@ var SignalModule = {
8015
8015
  command: "signal <command>",
8016
8016
  aliases: ["sig"],
8017
8017
  describe: "Commands for Context signals",
8018
- builder: (yargs36) => yargs36.command(SignalPullModule).command(SignalPushModule).command(SignalGetModule).command(SignalRemoveModule).command(SignalListModule).command(SignalUpdateModule).demandCommand(),
8018
+ builder: (yargs37) => yargs37.command(SignalPullModule).command(SignalPushModule).command(SignalGetModule).command(SignalRemoveModule).command(SignalListModule).command(SignalUpdateModule).demandCommand(),
8019
8019
  handler: () => {
8020
8020
  yargs22.help();
8021
8021
  }
@@ -8029,11 +8029,11 @@ import { UncachedTestClient } from "@uniformdev/context/api";
8029
8029
  var TestGetModule = {
8030
8030
  command: "get <id>",
8031
8031
  describe: "Fetch a test",
8032
- builder: (yargs36) => withConfiguration(
8032
+ builder: (yargs37) => withConfiguration(
8033
8033
  withFormatOptions(
8034
8034
  withApiOptions(
8035
8035
  withProjectOptions(
8036
- yargs36.positional("id", { demandOption: true, describe: "Test public ID to fetch" })
8036
+ yargs37.positional("id", { demandOption: true, describe: "Test public ID to fetch" })
8037
8037
  )
8038
8038
  )
8039
8039
  )
@@ -8057,7 +8057,7 @@ var TestListModule = {
8057
8057
  command: "list",
8058
8058
  describe: "List tests",
8059
8059
  aliases: ["ls"],
8060
- builder: (yargs36) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs36)))),
8060
+ builder: (yargs37) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs37)))),
8061
8061
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
8062
8062
  const fetch2 = nodeFetchProxy(proxy);
8063
8063
  const client = new UncachedTestClient2({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -8107,12 +8107,12 @@ function createTestEngineDataSource({
8107
8107
  var TestPullModule = {
8108
8108
  command: "pull <directory>",
8109
8109
  describe: "Pulls all tests to local files in a directory",
8110
- builder: (yargs36) => withConfiguration(
8110
+ builder: (yargs37) => withConfiguration(
8111
8111
  withDebugOptions(
8112
8112
  withApiOptions(
8113
8113
  withProjectOptions(
8114
8114
  withDiffOptions(
8115
- yargs36.positional("directory", {
8115
+ yargs37.positional("directory", {
8116
8116
  describe: "Directory to save the tests to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
8117
8117
  type: "string"
8118
8118
  }).option("format", {
@@ -8188,12 +8188,12 @@ import { UncachedTestClient as UncachedTestClient4 } from "@uniformdev/context/a
8188
8188
  var TestPushModule = {
8189
8189
  command: "push <directory>",
8190
8190
  describe: "Pushes all tests from files in a directory or package to Uniform",
8191
- builder: (yargs36) => withConfiguration(
8191
+ builder: (yargs37) => withConfiguration(
8192
8192
  withDebugOptions(
8193
8193
  withApiOptions(
8194
8194
  withProjectOptions(
8195
8195
  withDiffOptions(
8196
- yargs36.positional("directory", {
8196
+ yargs37.positional("directory", {
8197
8197
  describe: "Directory to read the tests from. If a filename is used, a package will be read instead.",
8198
8198
  type: "string"
8199
8199
  }).option("mode", {
@@ -8258,10 +8258,10 @@ var TestRemoveModule = {
8258
8258
  command: "remove <id>",
8259
8259
  aliases: ["delete", "rm"],
8260
8260
  describe: "Delete a test",
8261
- builder: (yargs36) => withConfiguration(
8261
+ builder: (yargs37) => withConfiguration(
8262
8262
  withApiOptions(
8263
8263
  withProjectOptions(
8264
- yargs36.positional("id", { demandOption: true, describe: "Test public ID to delete" })
8264
+ yargs37.positional("id", { demandOption: true, describe: "Test public ID to delete" })
8265
8265
  )
8266
8266
  )
8267
8267
  ),
@@ -8278,9 +8278,9 @@ var TestUpdateModule = {
8278
8278
  command: "update <filename>",
8279
8279
  aliases: ["put"],
8280
8280
  describe: "Insert or update a test",
8281
- builder: (yargs36) => withConfiguration(
8281
+ builder: (yargs37) => withConfiguration(
8282
8282
  withApiOptions(
8283
- withProjectOptions(yargs36.positional("filename", { demandOption: true, describe: "Test file to put" }))
8283
+ withProjectOptions(yargs37.positional("filename", { demandOption: true, describe: "Test file to put" }))
8284
8284
  )
8285
8285
  ),
8286
8286
  handler: async ({ apiHost, apiKey, proxy, filename, project: projectId }) => {
@@ -8295,7 +8295,7 @@ var TestUpdateModule = {
8295
8295
  var TestModule = {
8296
8296
  command: "test <command>",
8297
8297
  describe: "Commands for Context A/B tests",
8298
- builder: (yargs36) => yargs36.command(TestPullModule).command(TestPushModule).command(TestGetModule).command(TestRemoveModule).command(TestListModule).command(TestUpdateModule).demandCommand(),
8298
+ builder: (yargs37) => yargs37.command(TestPullModule).command(TestPushModule).command(TestGetModule).command(TestRemoveModule).command(TestListModule).command(TestUpdateModule).demandCommand(),
8299
8299
  handler: () => {
8300
8300
  yargs23.help();
8301
8301
  }
@@ -8306,17 +8306,17 @@ var ContextCommand = {
8306
8306
  command: "context <command>",
8307
8307
  aliases: ["ctx"],
8308
8308
  describe: "Uniform Context commands",
8309
- builder: (yargs36) => yargs36.command(ManifestModule).command(SignalModule).command(EnrichmentModule).command(AggregateModule).command(QuirkModule).command(TestModule).demandCommand(),
8309
+ builder: (yargs37) => yargs37.command(ManifestModule).command(SignalModule).command(EnrichmentModule).command(AggregateModule).command(QuirkModule).command(TestModule).demandCommand(),
8310
8310
  handler: () => {
8311
8311
  yargs24.showHelp();
8312
8312
  }
8313
8313
  };
8314
8314
 
8315
8315
  // src/commands/integration/index.ts
8316
- import yargs27 from "yargs";
8316
+ import yargs28 from "yargs";
8317
8317
 
8318
8318
  // src/commands/integration/commands/definition.ts
8319
- import yargs26 from "yargs";
8319
+ import yargs27 from "yargs";
8320
8320
 
8321
8321
  // src/commands/integration/commands/definition/edgehancer/edgehancer.ts
8322
8322
  import yargs25 from "yargs";
@@ -8357,8 +8357,8 @@ var EdgehancerClient = class extends ApiClient {
8357
8357
  };
8358
8358
 
8359
8359
  // src/commands/integration/commands/definition/edgehancer/util.ts
8360
- function withEdgehancerIdOptions(yargs36) {
8361
- return yargs36.option("connectorType", {
8360
+ function withEdgehancerIdOptions(yargs37) {
8361
+ return yargs37.option("connectorType", {
8362
8362
  describe: "Integration data connector type to edgehance, as defined in the integration manifest file.",
8363
8363
  demandOption: true,
8364
8364
  type: "string"
@@ -8378,11 +8378,11 @@ function withEdgehancerIdOptions(yargs36) {
8378
8378
  var IntegrationEdgehancerDeployModule = {
8379
8379
  command: "deploy <filename>",
8380
8380
  describe: "Deploys a custom edgehancer hook to run when a data resource of a specific archetype is fetched. The API key used must have team admin permissions.",
8381
- builder: (yargs36) => withConfiguration(
8381
+ builder: (yargs37) => withConfiguration(
8382
8382
  withApiOptions(
8383
8383
  withTeamOptions(
8384
8384
  withEdgehancerIdOptions(
8385
- yargs36.positional("filename", {
8385
+ yargs37.positional("filename", {
8386
8386
  demandOption: true,
8387
8387
  describe: "ESM code file to run for the target edgehancer hook. Refer to the documentation for expected types."
8388
8388
  }).option("compatibilityDate", {
@@ -8415,7 +8415,7 @@ var IntegrationEdgehancerDeployModule = {
8415
8415
  var IntegrationEdgehancerRemoveModule = {
8416
8416
  command: "remove",
8417
8417
  describe: "Deletes a custom edgehancer hook from a data connector archetype. The API key used must have team admin permissions.",
8418
- builder: (yargs36) => withConfiguration(withApiOptions(withTeamOptions(withEdgehancerIdOptions(yargs36)))),
8418
+ builder: (yargs37) => withConfiguration(withApiOptions(withTeamOptions(withEdgehancerIdOptions(yargs37)))),
8419
8419
  handler: async ({ apiHost, apiKey, proxy, team: teamId, archetype, connectorType, hook }) => {
8420
8420
  const fetch2 = nodeFetchProxy(proxy);
8421
8421
  const client = new EdgehancerClient({ apiKey, apiHost, fetch: fetch2, teamId });
@@ -8427,12 +8427,92 @@ var IntegrationEdgehancerRemoveModule = {
8427
8427
  var IntegrationEdgehancerModule = {
8428
8428
  command: "edgehancer <command>",
8429
8429
  describe: "Commands for managing custom integration edgehancers at the team level.",
8430
- builder: (yargs36) => yargs36.command(IntegrationEdgehancerDeployModule).command(IntegrationEdgehancerRemoveModule).demandCommand(),
8430
+ builder: (yargs37) => yargs37.command(IntegrationEdgehancerDeployModule).command(IntegrationEdgehancerRemoveModule).demandCommand(),
8431
8431
  handler: () => {
8432
8432
  yargs25.help();
8433
8433
  }
8434
8434
  };
8435
8435
 
8436
+ // src/commands/integration/commands/definition/propertyEditor/propertyEditor.ts
8437
+ import yargs26 from "yargs";
8438
+
8439
+ // src/commands/integration/commands/definition/propertyEditor/deploy.ts
8440
+ import { IntegrationPropertyEditorsClient } from "@uniformdev/canvas";
8441
+ import { readFileSync as readFileSync2 } from "fs";
8442
+
8443
+ // src/commands/integration/commands/definition/propertyEditor/util.ts
8444
+ function withPropertyEditorIdOptions(yargs37) {
8445
+ return yargs37.option("propertyType", {
8446
+ describe: "Property type to attach the editor to.",
8447
+ demandOption: true,
8448
+ type: "string"
8449
+ }).option("hook", {
8450
+ describe: "Property editor hook to deploy to.",
8451
+ demandOption: true,
8452
+ choices: ["createAIEdit", "afterAIEdit"],
8453
+ type: "string"
8454
+ });
8455
+ }
8456
+
8457
+ // src/commands/integration/commands/definition/propertyEditor/deploy.ts
8458
+ var IntegrationPropertyEditorDeployModule = {
8459
+ command: "deploy <filename>",
8460
+ describe: "Deploys a custom AI property editor hook to run when a property of a specific type is edited. The API key used must have team admin permissions.",
8461
+ builder: (yargs37) => withConfiguration(
8462
+ withApiOptions(
8463
+ withTeamOptions(
8464
+ withPropertyEditorIdOptions(
8465
+ yargs37.positional("filename", {
8466
+ demandOption: true,
8467
+ describe: "ESM code file to run for the target property editor hook. Refer to the documentation for expected types."
8468
+ }).option("compatibilityDate", {
8469
+ type: "string",
8470
+ describe: "Date indicating targeted support in the custom property editor runtime. Backwards incompatible fixes to the runtime following this date will not affect this custom property editor. Format: YYYY-MM-DD. You can check here for more information: https://developers.cloudflare.com/workers/configuration/compatibility-dates/#setting-compatibility-date"
8471
+ })
8472
+ )
8473
+ )
8474
+ )
8475
+ ),
8476
+ handler: async ({
8477
+ apiHost,
8478
+ apiKey,
8479
+ proxy,
8480
+ filename,
8481
+ team: teamId,
8482
+ propertyType,
8483
+ hook,
8484
+ compatibilityDate
8485
+ }) => {
8486
+ const fetch2 = nodeFetchProxy(proxy);
8487
+ const client = new IntegrationPropertyEditorsClient({ apiKey, apiHost, fetch: fetch2, teamId });
8488
+ const code = readFileSync2(filename, "utf8");
8489
+ await client.deploy({ propertyType, code, hook, compatibilityDate });
8490
+ }
8491
+ };
8492
+
8493
+ // src/commands/integration/commands/definition/propertyEditor/remove.ts
8494
+ import { IntegrationPropertyEditorsClient as IntegrationPropertyEditorsClient2 } from "@uniformdev/canvas";
8495
+ var IntegrationPropertyEditorRemoveModule = {
8496
+ command: "remove",
8497
+ describe: "Deletes a custom AI property editor hook from a property type. The API key used must have team admin permissions.",
8498
+ builder: (yargs37) => withConfiguration(withApiOptions(withTeamOptions(withPropertyEditorIdOptions(yargs37)))),
8499
+ handler: async ({ apiHost, apiKey, proxy, team: teamId, propertyType, hook }) => {
8500
+ const fetch2 = nodeFetchProxy(proxy);
8501
+ const client = new IntegrationPropertyEditorsClient2({ apiKey, apiHost, fetch: fetch2, teamId });
8502
+ await client.delete({ propertyType, hook });
8503
+ }
8504
+ };
8505
+
8506
+ // src/commands/integration/commands/definition/propertyEditor/propertyEditor.ts
8507
+ var IntegrationPropertyEditorModule = {
8508
+ command: "propertyEditor <command>",
8509
+ describe: "Commands for managing custom AI property editors at the team level.",
8510
+ builder: (yargs37) => yargs37.command(IntegrationPropertyEditorDeployModule).command(IntegrationPropertyEditorRemoveModule).demandCommand(),
8511
+ handler: () => {
8512
+ yargs26.help();
8513
+ }
8514
+ };
8515
+
8436
8516
  // src/commands/integration/commands/definition/DefinitionClient.ts
8437
8517
  import { createLimitPolicy as createLimitPolicy3 } from "@uniformdev/canvas";
8438
8518
  import { ApiClient as ApiClient2 } from "@uniformdev/context/api";
@@ -8469,10 +8549,10 @@ var DefinitionClient = class extends ApiClient2 {
8469
8549
  var IntegrationDefinitionRegisterModule = {
8470
8550
  command: "register <filename>",
8471
8551
  describe: "Registers a custom integration definition on a team. The API key used must have team admin permissions.",
8472
- builder: (yargs36) => withConfiguration(
8552
+ builder: (yargs37) => withConfiguration(
8473
8553
  withApiOptions(
8474
8554
  withTeamOptions(
8475
- yargs36.positional("filename", {
8555
+ yargs37.positional("filename", {
8476
8556
  demandOption: true,
8477
8557
  describe: "Integration definition manifest to register"
8478
8558
  })
@@ -8491,10 +8571,10 @@ var IntegrationDefinitionRegisterModule = {
8491
8571
  var IntegrationDefinitionRemoveModule = {
8492
8572
  command: "remove <type>",
8493
8573
  describe: "Deletes a custom integration definition from a team. This will uninstall it on any active projects. Existing usages of the integration may break. The API key used must have team admin permissions.",
8494
- builder: (yargs36) => withConfiguration(
8574
+ builder: (yargs37) => withConfiguration(
8495
8575
  withApiOptions(
8496
8576
  withTeamOptions(
8497
- yargs36.positional("type", {
8577
+ yargs37.positional("type", {
8498
8578
  demandOption: true,
8499
8579
  describe: "Integration type (from its manifest) to remove."
8500
8580
  })
@@ -8512,9 +8592,9 @@ var IntegrationDefinitionRemoveModule = {
8512
8592
  var IntegrationDefinitionModule = {
8513
8593
  command: "definition <command>",
8514
8594
  describe: "Commands for managing custom integration definitions at the team level.",
8515
- builder: (yargs36) => yargs36.command(IntegrationDefinitionRemoveModule).command(IntegrationDefinitionRegisterModule).command(IntegrationEdgehancerModule).demandCommand(),
8595
+ builder: (yargs37) => yargs37.command(IntegrationDefinitionRemoveModule).command(IntegrationDefinitionRegisterModule).command(IntegrationEdgehancerModule).command(IntegrationPropertyEditorModule).demandCommand(),
8516
8596
  handler: () => {
8517
- yargs26.help();
8597
+ yargs27.help();
8518
8598
  }
8519
8599
  };
8520
8600
 
@@ -8554,10 +8634,10 @@ var InstallClient = class extends ApiClient3 {
8554
8634
  var IntegrationInstallModule = {
8555
8635
  command: "install <type>",
8556
8636
  describe: "Installs an integration to a project. The integration may be built-in or custom. Custom integrations must be registered to the parent team first.",
8557
- builder: (yargs36) => withConfiguration(
8637
+ builder: (yargs37) => withConfiguration(
8558
8638
  withApiOptions(
8559
8639
  withProjectOptions(
8560
- yargs36.positional("type", {
8640
+ yargs37.positional("type", {
8561
8641
  demandOption: true,
8562
8642
  describe: "Integration type to install (as defined in its manifest)"
8563
8643
  }).option("configuration", {
@@ -8579,10 +8659,10 @@ var IntegrationInstallModule = {
8579
8659
  var IntegrationUninstallModule = {
8580
8660
  command: "uninstall <type>",
8581
8661
  describe: "Uninstalls an integration from a project. Existing usages of the integration may break.",
8582
- builder: (yargs36) => withConfiguration(
8662
+ builder: (yargs37) => withConfiguration(
8583
8663
  withApiOptions(
8584
8664
  withProjectOptions(
8585
- yargs36.positional("type", {
8665
+ yargs37.positional("type", {
8586
8666
  demandOption: true,
8587
8667
  describe: "Integration type to uninstall (as defined in its manifest)"
8588
8668
  })
@@ -8600,9 +8680,9 @@ var IntegrationUninstallModule = {
8600
8680
  var IntegrationCommand = {
8601
8681
  command: "integration <command>",
8602
8682
  describe: "Integration management commands",
8603
- builder: (yargs36) => yargs36.command(IntegrationDefinitionModule).command(IntegrationInstallModule).command(IntegrationUninstallModule).demandCommand(),
8683
+ builder: (yargs37) => yargs37.command(IntegrationDefinitionModule).command(IntegrationInstallModule).command(IntegrationUninstallModule).demandCommand(),
8604
8684
  handler: () => {
8605
- yargs27.showHelp();
8685
+ yargs28.showHelp();
8606
8686
  }
8607
8687
  };
8608
8688
 
@@ -8630,7 +8710,7 @@ import { PostHog } from "posthog-node";
8630
8710
  // package.json
8631
8711
  var package_default = {
8632
8712
  name: "@uniformdev/cli",
8633
- version: "20.31.0",
8713
+ version: "20.32.0",
8634
8714
  description: "Uniform command line interface tool",
8635
8715
  license: "SEE LICENSE IN LICENSE.txt",
8636
8716
  main: "./cli.js",
@@ -9463,7 +9543,7 @@ npm run dev
9463
9543
  }
9464
9544
 
9465
9545
  // src/commands/new/commands/new-mesh-integration.ts
9466
- import { existsSync as existsSync3, mkdirSync as mkdirSync3, readdirSync, readFileSync as readFileSync2, writeFileSync } from "fs";
9546
+ import { existsSync as existsSync3, mkdirSync as mkdirSync3, readdirSync, readFileSync as readFileSync3, writeFileSync } from "fs";
9467
9547
  import inquirer5 from "inquirer";
9468
9548
  import path3 from "path";
9469
9549
  import slugify2 from "slugify";
@@ -9515,13 +9595,13 @@ async function newMeshIntegrationHandler({
9515
9595
  if (!existsSync3(pathToManifest)) {
9516
9596
  throw new Error("Invalid integration starter cloned: missing `mesh-manifest.json`");
9517
9597
  }
9518
- const manifestContents = readFileSync2(pathToManifest, "utf-8");
9598
+ const manifestContents = readFileSync3(pathToManifest, "utf-8");
9519
9599
  const manifestJson = JSON.parse(manifestContents);
9520
9600
  manifestJson.type = typeSlug;
9521
9601
  manifestJson.displayName = name;
9522
9602
  writeFileSync(pathToManifest, JSON.stringify(manifestJson, null, 2), "utf-8");
9523
9603
  const packageJsonPath = path3.resolve(targetDir, "package.json");
9524
- const packageJson = JSON.parse(readFileSync2(packageJsonPath, "utf-8"));
9604
+ const packageJson = JSON.parse(readFileSync3(packageJsonPath, "utf-8"));
9525
9605
  packageJson.name = typeSlug;
9526
9606
  writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2), "utf-8");
9527
9607
  const fullMeshAppKey = await uniformClient.registerMeshIntegration({ teamId, manifest: manifestJson });
@@ -9663,10 +9743,10 @@ var NewMeshCmd = {
9663
9743
  };
9664
9744
 
9665
9745
  // src/commands/project-map/index.ts
9666
- import yargs30 from "yargs";
9746
+ import yargs31 from "yargs";
9667
9747
 
9668
9748
  // src/commands/project-map/commands/projectMapDefinition.ts
9669
- import yargs28 from "yargs";
9749
+ import yargs29 from "yargs";
9670
9750
 
9671
9751
  // src/commands/project-map/commands/ProjectMapDefinition/_util.ts
9672
9752
  import { UncachedProjectMapClient } from "@uniformdev/project-map";
@@ -9680,11 +9760,11 @@ function getProjectMapClient(options) {
9680
9760
  var ProjectMapDefinitionGetModule = {
9681
9761
  command: "get <id>",
9682
9762
  describe: "Fetch a project map",
9683
- builder: (yargs36) => withFormatOptions(
9763
+ builder: (yargs37) => withFormatOptions(
9684
9764
  withConfiguration(
9685
9765
  withApiOptions(
9686
9766
  withProjectOptions(
9687
- yargs36.positional("id", { demandOption: true, describe: "ProjectMap UUID to fetch" })
9767
+ yargs37.positional("id", { demandOption: true, describe: "ProjectMap UUID to fetch" })
9688
9768
  )
9689
9769
  )
9690
9770
  )
@@ -9707,7 +9787,7 @@ var ProjectMapDefinitionListModule = {
9707
9787
  command: "list",
9708
9788
  describe: "List of project maps",
9709
9789
  aliases: ["ls"],
9710
- builder: (yargs36) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs36)))),
9790
+ builder: (yargs37) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs37)))),
9711
9791
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
9712
9792
  const fetch2 = nodeFetchProxy(proxy);
9713
9793
  const client = getProjectMapClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -9761,12 +9841,12 @@ function createProjectMapDefinitionEngineDataSource({
9761
9841
  var ProjectMapDefinitionPullModule = {
9762
9842
  command: "pull <directory>",
9763
9843
  describe: "Pulls all project maps to local files in a directory",
9764
- builder: (yargs36) => withConfiguration(
9844
+ builder: (yargs37) => withConfiguration(
9765
9845
  withDebugOptions(
9766
9846
  withApiOptions(
9767
9847
  withProjectOptions(
9768
9848
  withDiffOptions(
9769
- yargs36.positional("directory", {
9849
+ yargs37.positional("directory", {
9770
9850
  describe: "Directory to save project maps to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
9771
9851
  type: "string"
9772
9852
  }).option("format", {
@@ -9841,12 +9921,12 @@ var ProjectMapDefinitionPullModule = {
9841
9921
  var ProjectMapDefinitionPushModule = {
9842
9922
  command: "push <directory>",
9843
9923
  describe: "Pushes all project maps from files in a directory or package to Uniform",
9844
- builder: (yargs36) => withConfiguration(
9924
+ builder: (yargs37) => withConfiguration(
9845
9925
  withDebugOptions(
9846
9926
  withApiOptions(
9847
9927
  withProjectOptions(
9848
9928
  withDiffOptions(
9849
- yargs36.positional("directory", {
9929
+ yargs37.positional("directory", {
9850
9930
  describe: "Directory to read project maps from. If a filename is used, a package will be read instead.",
9851
9931
  type: "string"
9852
9932
  }).option("mode", {
@@ -9910,9 +9990,9 @@ var ProjectMapDefinitionRemoveModule = {
9910
9990
  command: "remove <id>",
9911
9991
  aliases: ["delete", "rm"],
9912
9992
  describe: "Delete a project map",
9913
- builder: (yargs36) => withConfiguration(
9993
+ builder: (yargs37) => withConfiguration(
9914
9994
  withApiOptions(
9915
- withProjectOptions(yargs36.positional("id", { demandOption: true, describe: " UUID to delete" }))
9995
+ withProjectOptions(yargs37.positional("id", { demandOption: true, describe: " UUID to delete" }))
9916
9996
  )
9917
9997
  ),
9918
9998
  handler: async ({ apiHost, apiKey, proxy, id, project: projectId }) => {
@@ -9927,10 +10007,10 @@ var ProjectMapDefinitionUpdateModule = {
9927
10007
  command: "update <filename>",
9928
10008
  aliases: ["put"],
9929
10009
  describe: "Insert or update a project map",
9930
- builder: (yargs36) => withConfiguration(
10010
+ builder: (yargs37) => withConfiguration(
9931
10011
  withApiOptions(
9932
10012
  withProjectOptions(
9933
- yargs36.positional("filename", { demandOption: true, describe: "Project map file to put" })
10013
+ yargs37.positional("filename", { demandOption: true, describe: "Project map file to put" })
9934
10014
  )
9935
10015
  )
9936
10016
  ),
@@ -9946,24 +10026,24 @@ var ProjectMapDefinitionUpdateModule = {
9946
10026
  var ProjectMapDefinitionModule = {
9947
10027
  command: "definition <command>",
9948
10028
  describe: "Commands for ProjectMap Definitions",
9949
- builder: (yargs36) => yargs36.command(ProjectMapDefinitionPullModule).command(ProjectMapDefinitionPushModule).command(ProjectMapDefinitionGetModule).command(ProjectMapDefinitionRemoveModule).command(ProjectMapDefinitionListModule).command(ProjectMapDefinitionUpdateModule).demandCommand(),
10029
+ builder: (yargs37) => yargs37.command(ProjectMapDefinitionPullModule).command(ProjectMapDefinitionPushModule).command(ProjectMapDefinitionGetModule).command(ProjectMapDefinitionRemoveModule).command(ProjectMapDefinitionListModule).command(ProjectMapDefinitionUpdateModule).demandCommand(),
9950
10030
  handler: () => {
9951
- yargs28.help();
10031
+ yargs29.help();
9952
10032
  }
9953
10033
  };
9954
10034
 
9955
10035
  // src/commands/project-map/commands/projectMapNode.ts
9956
- import yargs29 from "yargs";
10036
+ import yargs30 from "yargs";
9957
10037
 
9958
10038
  // src/commands/project-map/commands/ProjectMapNode/get.ts
9959
10039
  var ProjectMapNodeGetModule = {
9960
10040
  command: "get <id> <projectMapId>",
9961
10041
  describe: "Fetch a project map node",
9962
- builder: (yargs36) => withConfiguration(
10042
+ builder: (yargs37) => withConfiguration(
9963
10043
  withFormatOptions(
9964
10044
  withApiOptions(
9965
10045
  withProjectOptions(
9966
- yargs36.positional("id", { demandOption: true, describe: "ProjectMap Node UUID to fetch" }).positional("projectMapId", { demandOption: true, describe: "ProjectMap UUID to fetch from" })
10046
+ yargs37.positional("id", { demandOption: true, describe: "ProjectMap Node UUID to fetch" }).positional("projectMapId", { demandOption: true, describe: "ProjectMap UUID to fetch from" })
9967
10047
  )
9968
10048
  )
9969
10049
  )
@@ -9987,12 +10067,12 @@ var ProjectMapNodeListModule = {
9987
10067
  command: "list <projectMapId>",
9988
10068
  describe: "List project map nodes",
9989
10069
  aliases: ["ls"],
9990
- builder: (yargs36) => withConfiguration(
10070
+ builder: (yargs37) => withConfiguration(
9991
10071
  withFormatOptions(
9992
10072
  withApiOptions(
9993
10073
  withProjectOptions(
9994
10074
  withStateOptions(
9995
- yargs36.positional("projectMapId", {
10075
+ yargs37.positional("projectMapId", {
9996
10076
  demandOption: true,
9997
10077
  describe: "ProjectMap UUID to fetch from"
9998
10078
  })
@@ -10070,12 +10150,12 @@ function createProjectMapNodeEngineDataSource({
10070
10150
  var ProjectMapNodePullModule = {
10071
10151
  command: "pull <directory>",
10072
10152
  describe: "Pulls all project maps nodes to local files in a directory",
10073
- builder: (yargs36) => withConfiguration(
10153
+ builder: (yargs37) => withConfiguration(
10074
10154
  withDebugOptions(
10075
10155
  withApiOptions(
10076
10156
  withProjectOptions(
10077
10157
  withDiffOptions(
10078
- yargs36.positional("directory", {
10158
+ yargs37.positional("directory", {
10079
10159
  describe: "Directory to save project maps to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
10080
10160
  type: "string"
10081
10161
  }).option("format", {
@@ -10157,12 +10237,12 @@ import {
10157
10237
  var ProjectMapNodePushModule = {
10158
10238
  command: "push <directory>",
10159
10239
  describe: "Pushes all project maps nodes from files in a directory or package to Uniform",
10160
- builder: (yargs36) => withConfiguration(
10240
+ builder: (yargs37) => withConfiguration(
10161
10241
  withDebugOptions(
10162
10242
  withApiOptions(
10163
10243
  withProjectOptions(
10164
10244
  withDiffOptions(
10165
- yargs36.positional("directory", {
10245
+ yargs37.positional("directory", {
10166
10246
  describe: "Directory to read project maps from. If a filename is used, a package will be read instead.",
10167
10247
  type: "string"
10168
10248
  }).option("mode", {
@@ -10264,10 +10344,10 @@ var ProjectMapNodeRemoveModule = {
10264
10344
  command: "remove <id> <projectMapId>",
10265
10345
  aliases: ["delete", "rm"],
10266
10346
  describe: "Delete a project map node",
10267
- builder: (yargs36) => withConfiguration(
10347
+ builder: (yargs37) => withConfiguration(
10268
10348
  withApiOptions(
10269
10349
  withProjectOptions(
10270
- yargs36.positional("id", { demandOption: true, describe: "ProjectMap Node UUID to delete" }).positional("projectMapId", { demandOption: true, describe: "ProjectMap UUID to delete from" })
10350
+ yargs37.positional("id", { demandOption: true, describe: "ProjectMap Node UUID to delete" }).positional("projectMapId", { demandOption: true, describe: "ProjectMap UUID to delete from" })
10271
10351
  )
10272
10352
  )
10273
10353
  ),
@@ -10283,10 +10363,10 @@ var ProjectMapNodeUpdateModule = {
10283
10363
  command: "update <filename> <projectMapId>",
10284
10364
  aliases: ["put"],
10285
10365
  describe: "Insert or update a project map node",
10286
- builder: (yargs36) => withConfiguration(
10366
+ builder: (yargs37) => withConfiguration(
10287
10367
  withApiOptions(
10288
10368
  withProjectOptions(
10289
- yargs36.positional("filename", { demandOption: true, describe: "ProjectMap node file with nodes data" }).positional("projectMapId", { demandOption: true, describe: "ProjectMap UUID to put into" })
10369
+ yargs37.positional("filename", { demandOption: true, describe: "ProjectMap node file with nodes data" }).positional("projectMapId", { demandOption: true, describe: "ProjectMap UUID to put into" })
10290
10370
  )
10291
10371
  )
10292
10372
  ),
@@ -10302,9 +10382,9 @@ var ProjectMapNodeUpdateModule = {
10302
10382
  var ProjectMapNodeModule = {
10303
10383
  command: "node <command>",
10304
10384
  describe: "Commands for ProjectMap Nodes",
10305
- builder: (yargs36) => yargs36.command(ProjectMapNodePullModule).command(ProjectMapNodePushModule).command(ProjectMapNodeGetModule).command(ProjectMapNodeRemoveModule).command(ProjectMapNodeListModule).command(ProjectMapNodeUpdateModule).demandCommand(),
10385
+ builder: (yargs37) => yargs37.command(ProjectMapNodePullModule).command(ProjectMapNodePushModule).command(ProjectMapNodeGetModule).command(ProjectMapNodeRemoveModule).command(ProjectMapNodeListModule).command(ProjectMapNodeUpdateModule).demandCommand(),
10306
10386
  handler: () => {
10307
- yargs29.help();
10387
+ yargs30.help();
10308
10388
  }
10309
10389
  };
10310
10390
 
@@ -10313,17 +10393,17 @@ var ProjectMapCommand = {
10313
10393
  command: "project-map <command>",
10314
10394
  aliases: ["prm"],
10315
10395
  describe: "Uniform ProjectMap commands",
10316
- builder: (yargs36) => yargs36.command(ProjectMapNodeModule).command(ProjectMapDefinitionModule).demandCommand(),
10396
+ builder: (yargs37) => yargs37.command(ProjectMapNodeModule).command(ProjectMapDefinitionModule).demandCommand(),
10317
10397
  handler: () => {
10318
- yargs30.showHelp();
10398
+ yargs31.showHelp();
10319
10399
  }
10320
10400
  };
10321
10401
 
10322
10402
  // src/commands/redirect/index.ts
10323
- import yargs32 from "yargs";
10403
+ import yargs33 from "yargs";
10324
10404
 
10325
10405
  // src/commands/redirect/commands/redirect.ts
10326
- import yargs31 from "yargs";
10406
+ import yargs32 from "yargs";
10327
10407
 
10328
10408
  // src/commands/redirect/commands/RedirectDefinition/_util.ts
10329
10409
  import { UncachedRedirectClient } from "@uniformdev/redirect";
@@ -10348,11 +10428,11 @@ function getRedirectClient(options) {
10348
10428
  var RedirectDefinitionGetModule = {
10349
10429
  command: "get <id>",
10350
10430
  describe: "Fetch a redirect",
10351
- builder: (yargs36) => withConfiguration(
10431
+ builder: (yargs37) => withConfiguration(
10352
10432
  withFormatOptions(
10353
10433
  withApiOptions(
10354
10434
  withProjectOptions(
10355
- yargs36.positional("id", { demandOption: true, describe: "Redirect UUID to fetch" })
10435
+ yargs37.positional("id", { demandOption: true, describe: "Redirect UUID to fetch" })
10356
10436
  )
10357
10437
  )
10358
10438
  )
@@ -10375,7 +10455,7 @@ var RedirectDefinitionListModule = {
10375
10455
  command: "list",
10376
10456
  describe: "List of redirects",
10377
10457
  aliases: ["ls"],
10378
- builder: (yargs36) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs36)))),
10458
+ builder: (yargs37) => withConfiguration(withFormatOptions(withApiOptions(withProjectOptions(yargs37)))),
10379
10459
  handler: async ({ apiHost, apiKey, proxy, format, filename, project: projectId }) => {
10380
10460
  const fetch2 = nodeFetchProxy(proxy);
10381
10461
  const client = getRedirectClient({ apiKey, apiHost, fetch: fetch2, projectId });
@@ -10427,12 +10507,12 @@ function createRedirectDefinitionEngineDataSource({
10427
10507
  var RedirectDefinitionPullModule = {
10428
10508
  command: "pull <directory>",
10429
10509
  describe: "Pulls all redirects to local files in a directory",
10430
- builder: (yargs36) => withConfiguration(
10510
+ builder: (yargs37) => withConfiguration(
10431
10511
  withDebugOptions(
10432
10512
  withApiOptions(
10433
10513
  withProjectOptions(
10434
10514
  withDiffOptions(
10435
- yargs36.positional("directory", {
10515
+ yargs37.positional("directory", {
10436
10516
  describe: "Directory to save redirects to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
10437
10517
  type: "string"
10438
10518
  }).option("format", {
@@ -10508,12 +10588,12 @@ var RedirectDefinitionPullModule = {
10508
10588
  var RedirectDefinitionPushModule = {
10509
10589
  command: "push <directory>",
10510
10590
  describe: "Pushes all redirects from files in a directory or package to Uniform",
10511
- builder: (yargs36) => withConfiguration(
10591
+ builder: (yargs37) => withConfiguration(
10512
10592
  withDebugOptions(
10513
10593
  withApiOptions(
10514
10594
  withProjectOptions(
10515
10595
  withDiffOptions(
10516
- yargs36.positional("directory", {
10596
+ yargs37.positional("directory", {
10517
10597
  describe: "Directory to read redirects from. If a filename is used, a package will be read instead.",
10518
10598
  type: "string"
10519
10599
  }).option("mode", {
@@ -10577,9 +10657,9 @@ var RedirectDefinitionRemoveModule = {
10577
10657
  command: "remove <id>",
10578
10658
  aliases: ["delete", "rm"],
10579
10659
  describe: "Delete a redirect",
10580
- builder: (yargs36) => withConfiguration(
10660
+ builder: (yargs37) => withConfiguration(
10581
10661
  withApiOptions(
10582
- withProjectOptions(yargs36.positional("id", { demandOption: true, describe: " UUID to delete" }))
10662
+ withProjectOptions(yargs37.positional("id", { demandOption: true, describe: " UUID to delete" }))
10583
10663
  )
10584
10664
  ),
10585
10665
  handler: async ({ apiHost, apiKey, proxy, id, project: projectId }) => {
@@ -10594,10 +10674,10 @@ var RedirectDefinitionUpdateModule = {
10594
10674
  command: "update <filename>",
10595
10675
  aliases: ["put"],
10596
10676
  describe: "Insert or update a redirect",
10597
- builder: (yargs36) => withConfiguration(
10677
+ builder: (yargs37) => withConfiguration(
10598
10678
  withApiOptions(
10599
10679
  withProjectOptions(
10600
- yargs36.positional("filename", { demandOption: true, describe: "Redirect file to put" })
10680
+ yargs37.positional("filename", { demandOption: true, describe: "Redirect file to put" })
10601
10681
  )
10602
10682
  )
10603
10683
  ),
@@ -10613,9 +10693,9 @@ var RedirectDefinitionUpdateModule = {
10613
10693
  var RedirectDefinitionModule = {
10614
10694
  command: "definition <command>",
10615
10695
  describe: "Commands for Redirect Definitions",
10616
- builder: (yargs36) => yargs36.command(RedirectDefinitionPullModule).command(RedirectDefinitionPushModule).command(RedirectDefinitionGetModule).command(RedirectDefinitionRemoveModule).command(RedirectDefinitionListModule).command(RedirectDefinitionUpdateModule).demandCommand(),
10696
+ builder: (yargs37) => yargs37.command(RedirectDefinitionPullModule).command(RedirectDefinitionPushModule).command(RedirectDefinitionGetModule).command(RedirectDefinitionRemoveModule).command(RedirectDefinitionListModule).command(RedirectDefinitionUpdateModule).demandCommand(),
10617
10697
  handler: () => {
10618
- yargs31.help();
10698
+ yargs32.help();
10619
10699
  }
10620
10700
  };
10621
10701
 
@@ -10624,14 +10704,14 @@ var RedirectCommand = {
10624
10704
  command: "redirect <command>",
10625
10705
  aliases: ["red"],
10626
10706
  describe: "Uniform Redirect commands",
10627
- builder: (yargs36) => yargs36.command(RedirectDefinitionModule).demandCommand(),
10707
+ builder: (yargs37) => yargs37.command(RedirectDefinitionModule).demandCommand(),
10628
10708
  handler: () => {
10629
- yargs32.showHelp();
10709
+ yargs33.showHelp();
10630
10710
  }
10631
10711
  };
10632
10712
 
10633
10713
  // src/commands/sync/index.ts
10634
- import yargs33 from "yargs";
10714
+ import yargs34 from "yargs";
10635
10715
 
10636
10716
  // src/webhooksClient.ts
10637
10717
  import { ApiClient as ApiClient4 } from "@uniformdev/context/api";
@@ -10825,12 +10905,12 @@ function createWebhookEngineDataSource({
10825
10905
  var WebhookPullModule = {
10826
10906
  command: "pull <directory>",
10827
10907
  describe: "Pulls all webhooks to local files in a directory",
10828
- builder: (yargs36) => withConfiguration(
10908
+ builder: (yargs37) => withConfiguration(
10829
10909
  withApiOptions(
10830
10910
  withDebugOptions(
10831
10911
  withProjectOptions(
10832
10912
  withDiffOptions(
10833
- yargs36.positional("directory", {
10913
+ yargs37.positional("directory", {
10834
10914
  describe: "Directory to save to. If a filename ending in yaml or json is used, a package file will be created instead of files in the directory.",
10835
10915
  type: "string"
10836
10916
  }).option("format", {
@@ -11016,7 +11096,7 @@ function numPad(num, spaces = 6) {
11016
11096
  var SyncPullModule = {
11017
11097
  command: "pull",
11018
11098
  describe: "Pulls whole project to local files in a directory",
11019
- builder: (yargs36) => withConfiguration(withApiOptions(withProjectOptions(withDebugOptions(withDiffOptions(yargs36))))),
11099
+ builder: (yargs37) => withConfiguration(withApiOptions(withProjectOptions(withDebugOptions(withDiffOptions(yargs37))))),
11020
11100
  handler: async ({ serialization, ...otherParams }) => {
11021
11101
  const config2 = serialization;
11022
11102
  const enabledEntities = Object.entries({
@@ -11114,12 +11194,12 @@ var getFormat = (entityType, config2) => {
11114
11194
  var WebhookPushModule = {
11115
11195
  command: "push <directory>",
11116
11196
  describe: "Pushes all webhooks from files in a directory to Uniform",
11117
- builder: (yargs36) => withConfiguration(
11197
+ builder: (yargs37) => withConfiguration(
11118
11198
  withDebugOptions(
11119
11199
  withApiOptions(
11120
11200
  withProjectOptions(
11121
11201
  withDiffOptions(
11122
- yargs36.positional("directory", {
11202
+ yargs37.positional("directory", {
11123
11203
  describe: "Directory to read from. If a filename is used, a package will be read instead.",
11124
11204
  type: "string"
11125
11205
  }).option("mode", {
@@ -11183,7 +11263,7 @@ var WebhookPushModule = {
11183
11263
  var SyncPushModule = {
11184
11264
  command: "push",
11185
11265
  describe: "Pushes whole project data from files in a directory or package to Uniform",
11186
- builder: (yargs36) => withConfiguration(withApiOptions(withProjectOptions(withDiffOptions(withDebugOptions(yargs36))))),
11266
+ builder: (yargs37) => withConfiguration(withApiOptions(withProjectOptions(withDiffOptions(withDebugOptions(yargs37))))),
11187
11267
  handler: async ({ serialization, ...otherParams }) => {
11188
11268
  const config2 = serialization;
11189
11269
  const enabledEntities = Object.entries({
@@ -11392,21 +11472,21 @@ var getFormat2 = (entityType, config2) => {
11392
11472
  var SyncCommand = {
11393
11473
  command: "sync <command>",
11394
11474
  describe: "Uniform Sync commands",
11395
- builder: (yargs36) => yargs36.command(SyncPullModule).command(SyncPushModule).demandCommand(),
11475
+ builder: (yargs37) => yargs37.command(SyncPullModule).command(SyncPushModule).demandCommand(),
11396
11476
  handler: () => {
11397
- yargs33.showHelp();
11477
+ yargs34.showHelp();
11398
11478
  }
11399
11479
  };
11400
11480
 
11401
11481
  // src/commands/webhook/index.ts
11402
- import yargs34 from "yargs";
11482
+ import yargs35 from "yargs";
11403
11483
  var WebhookCommand = {
11404
11484
  command: "webhook <command>",
11405
11485
  aliases: ["wh"],
11406
11486
  describe: "Commands for webhooks",
11407
- builder: (yargs36) => yargs36.command(WebhookPullModule).command(WebhookPushModule).demandCommand(),
11487
+ builder: (yargs37) => yargs37.command(WebhookPullModule).command(WebhookPushModule).demandCommand(),
11408
11488
  handler: () => {
11409
- yargs34.help();
11489
+ yargs35.help();
11410
11490
  }
11411
11491
  };
11412
11492
 
@@ -11658,7 +11738,7 @@ First found was: v${firstVersion}`;
11658
11738
 
11659
11739
  // src/index.ts
11660
11740
  dotenv.config();
11661
- var yarggery = yargs35(hideBin(process.argv));
11741
+ var yarggery = yargs36(hideBin(process.argv));
11662
11742
  var useDefaultConfig = !process.argv.includes("--config");
11663
11743
  var defaultConfig2 = useDefaultConfig ? loadConfig(null) : {};
11664
11744
  yarggery.option("verbose", {