@uniformdev/project-map 18.2.2 → 18.3.1-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/cli.js +9 -4
- package/dist/cli/cli.mjs +9 -4
- package/dist/index.d.ts +2 -0
- package/package.json +5 -5
package/dist/cli/cli.js
CHANGED
|
@@ -17826,17 +17826,22 @@ async function createArraySyncEngineDataSource({
|
|
|
17826
17826
|
}
|
|
17827
17827
|
var import_chalk = __toESM2(require_source());
|
|
17828
17828
|
function withApiOptions(yargs) {
|
|
17829
|
-
var _a2, _b2;
|
|
17829
|
+
var _a2, _b2, _c2;
|
|
17830
17830
|
return yargs.option("apiKey", {
|
|
17831
|
-
describe: "Uniform API key. Defaults to
|
|
17832
|
-
default: (_b2 = (_a2 = process.env.
|
|
17831
|
+
describe: "Uniform API key. Defaults to UNIFORM_CLI_API_KEY or UNIFORM_API_KEY env. Supports dotenv.",
|
|
17832
|
+
default: (_c2 = (_b2 = (_a2 = process.env.UNIFORM_CLI_API_KEY) != null ? _a2 : process.env.CANVAS_CLI_API_KEY) != null ? _b2 : process.env.UPM_CLI_API_KEY) != null ? _c2 : process.env.UNIFORM_API_KEY,
|
|
17833
17833
|
demandOption: true,
|
|
17834
17834
|
type: "string"
|
|
17835
17835
|
}).option("apiHost", {
|
|
17836
|
-
describe: "Uniform host. Defaults to UNIFORM_CLI_BASE_URL env or https://uniform.app. Supports dotenv.",
|
|
17836
|
+
describe: "Uniform host. Defaults to UNIFORM_CLI_BASE_URL env var or https://uniform.app. Supports dotenv.",
|
|
17837
17837
|
default: process.env.UNIFORM_CLI_BASE_URL || "https://uniform.app",
|
|
17838
17838
|
demandOption: true,
|
|
17839
17839
|
type: "string"
|
|
17840
|
+
}).option("edgeApiHost", {
|
|
17841
|
+
describe: "Uniform edge host. Defaults to UNIFORM_CLI_BASE_EDGE_URL env var or https://uniform.global. Supports dotenv.",
|
|
17842
|
+
default: process.env.UNIFORM_CLI_BASE_EDGE_URL || "https://uniform.global",
|
|
17843
|
+
demandOption: true,
|
|
17844
|
+
type: "string"
|
|
17840
17845
|
}).option("proxy", {
|
|
17841
17846
|
describe: "HTTPS proxy to use for Uniform API calls. Defaults to HTTPS_PROXY, https_proxy, ALL_PROXY, or all_proxy env vars (in that order). Supports dotenv.",
|
|
17842
17847
|
default: process.env.HTTPS_PROXY || process.env.https_proxy || process.env.ALL_PROXY || process.env.all_proxy,
|
package/dist/cli/cli.mjs
CHANGED
|
@@ -17798,17 +17798,22 @@ async function createArraySyncEngineDataSource({
|
|
|
17798
17798
|
}
|
|
17799
17799
|
var import_chalk = __toESM2(require_source());
|
|
17800
17800
|
function withApiOptions(yargs) {
|
|
17801
|
-
var _a2, _b2;
|
|
17801
|
+
var _a2, _b2, _c2;
|
|
17802
17802
|
return yargs.option("apiKey", {
|
|
17803
|
-
describe: "Uniform API key. Defaults to
|
|
17804
|
-
default: (_b2 = (_a2 = process.env.
|
|
17803
|
+
describe: "Uniform API key. Defaults to UNIFORM_CLI_API_KEY or UNIFORM_API_KEY env. Supports dotenv.",
|
|
17804
|
+
default: (_c2 = (_b2 = (_a2 = process.env.UNIFORM_CLI_API_KEY) != null ? _a2 : process.env.CANVAS_CLI_API_KEY) != null ? _b2 : process.env.UPM_CLI_API_KEY) != null ? _c2 : process.env.UNIFORM_API_KEY,
|
|
17805
17805
|
demandOption: true,
|
|
17806
17806
|
type: "string"
|
|
17807
17807
|
}).option("apiHost", {
|
|
17808
|
-
describe: "Uniform host. Defaults to UNIFORM_CLI_BASE_URL env or https://uniform.app. Supports dotenv.",
|
|
17808
|
+
describe: "Uniform host. Defaults to UNIFORM_CLI_BASE_URL env var or https://uniform.app. Supports dotenv.",
|
|
17809
17809
|
default: process.env.UNIFORM_CLI_BASE_URL || "https://uniform.app",
|
|
17810
17810
|
demandOption: true,
|
|
17811
17811
|
type: "string"
|
|
17812
|
+
}).option("edgeApiHost", {
|
|
17813
|
+
describe: "Uniform edge host. Defaults to UNIFORM_CLI_BASE_EDGE_URL env var or https://uniform.global. Supports dotenv.",
|
|
17814
|
+
default: process.env.UNIFORM_CLI_BASE_EDGE_URL || "https://uniform.global",
|
|
17815
|
+
demandOption: true,
|
|
17816
|
+
type: "string"
|
|
17812
17817
|
}).option("proxy", {
|
|
17813
17818
|
describe: "HTTPS proxy to use for Uniform API calls. Defaults to HTTPS_PROXY, https_proxy, ALL_PROXY, or all_proxy env vars (in that order). Supports dotenv.",
|
|
17814
17819
|
default: process.env.HTTPS_PROXY || process.env.https_proxy || process.env.ALL_PROXY || process.env.all_proxy,
|
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,8 @@ interface paths {
|
|
|
188
188
|
offset?: number;
|
|
189
189
|
/** Depth of the tree to fetch */
|
|
190
190
|
depth?: number;
|
|
191
|
+
/** State of compositions to fetch. 0 = draft, 64 = published. */
|
|
192
|
+
state?: number;
|
|
191
193
|
/** should the data be returned as a json tree object */
|
|
192
194
|
tree?: boolean;
|
|
193
195
|
/** text search filter */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/project-map",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.3.1-alpha.22+61a3fbd5a",
|
|
4
4
|
"description": "Uniform Project Map",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"/dist"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@uniformdev/canvas": "18.
|
|
50
|
-
"@uniformdev/context": "18.
|
|
49
|
+
"@uniformdev/canvas": "18.3.1-alpha.22+61a3fbd5a",
|
|
50
|
+
"@uniformdev/context": "18.3.1-alpha.22+61a3fbd5a",
|
|
51
51
|
"p-limit": "^3.1.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/yargs": "17.0.20",
|
|
55
|
-
"@uniformdev/cli": "18.
|
|
55
|
+
"@uniformdev/cli": "18.3.1-alpha.22+61a3fbd5a",
|
|
56
56
|
"yargs": "17.6.2"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "61a3fbd5aadff46369076445db0ede53fc229d34"
|
|
62
62
|
}
|