zinkee 0.1.55 → 0.1.56

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/README.md CHANGED
@@ -473,13 +473,13 @@ zinkee navigation folders create --name "CRM" --order 1
473
473
  zinkee navigation resources move <schema-uuid> --to "CRM"
474
474
 
475
475
  # Move a schema back to the workspace root
476
- zinkee navigation resources move <schema-uuid> --to 00000000-0000-0000-0000-000000000000
476
+ zinkee navigation resources move <schema-uuid> --to root
477
477
 
478
478
  # Delete folder (schemas move back to root silently)
479
479
  zinkee navigation folders delete "CRM"
480
480
  ```
481
481
 
482
- Only schemas can be moved (schedules and sub-schemas follow their parent schema). Root folder cannot be deleted; its UUID is always `00000000-0000-0000-0000-000000000000`.
482
+ Only schemas can be moved (schedules and sub-schemas follow their parent schema). Root folder cannot be deleted. It is named `root`, and its UUID differs per workspace: name it, or read its id from `navigation folders list`.
483
483
 
484
484
  ---
485
485
 
@@ -497,6 +497,9 @@ zinkee teamspace resources publish projects --to "Dashboards"
497
497
  # Publish a display
498
498
  zinkee teamspace resources publish <display-uuid> --to "Dashboards"
499
499
 
500
+ # Publish at the teamspace root (named `root`; its UUID differs per workspace)
501
+ zinkee teamspace resources publish projects --to root
502
+
500
503
  # Unpublish
501
504
  zinkee teamspace resources unpublish <resource-uuid>
502
505
 
@@ -264,7 +264,7 @@ var specificExamples = {
264
264
  "schemaId": "2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e",
265
265
  "slug": "codex-demo",
266
266
  "folder": {
267
- "id": "00000000-0000-0000-0000-000000000000",
267
+ "id": "4b2e9f1c-7a3d-4e8b-9c5f-2d1a6e8b0c37",
268
268
  "name": "root",
269
269
  "isRoot": true
270
270
  }
@@ -1037,11 +1037,11 @@ var specificExamples = {
1037
1037
  }`
1038
1038
  },
1039
1039
  {
1040
- description: "Move a schema back to the root folder (root is always UUID 00000000-0000-0000-0000-000000000000).",
1041
- command: "zinkee --json navigation resources move 5223cbc8-8c6c-4694-93bc-dd176364df9b --to 00000000-0000-0000-0000-000000000000",
1040
+ description: "Move a schema back to the root folder. It is named `root`; its UUID differs per workspace, and the CLI sends the one it resolves.",
1041
+ command: "zinkee --json navigation resources move 5223cbc8-8c6c-4694-93bc-dd176364df9b --to root",
1042
1042
  raw: `{
1043
1043
  "resourceId": "5223cbc8-8c6c-4694-93bc-dd176364df9b",
1044
- "targetFolderId": "00000000-0000-0000-0000-000000000000"
1044
+ "targetFolderId": "4b2e9f1c-7a3d-4e8b-9c5f-2d1a6e8b0c37"
1045
1045
  }`
1046
1046
  }
1047
1047
  ],
@@ -1176,11 +1176,11 @@ var specificExamples = {
1176
1176
  }`
1177
1177
  },
1178
1178
  {
1179
- description: "Publish directly at the teamspace root (root folder UUID is always 00000000-0000-0000-0000-000000000000).",
1180
- command: "zinkee --json teamspace resources publish customer-records --to 00000000-0000-0000-0000-000000000000",
1179
+ description: "Publish directly at the teamspace root. The root folder is named `root`; its UUID differs per workspace, and the CLI sends the one it resolves.",
1180
+ command: "zinkee --json teamspace resources publish customer-records --to root",
1181
1181
  raw: `{
1182
1182
  "resourceId": "customer-records",
1183
- "targetFolderId": "00000000-0000-0000-0000-000000000000"
1183
+ "targetFolderId": "6d3a8e2f-1c4b-4f9a-8e7d-5b2c0a9f1e64"
1184
1184
  }`
1185
1185
  }
1186
1186
  ],
@@ -2144,7 +2144,7 @@ var specificExamples = {
2144
2144
  "name": "Orders",
2145
2145
  "slug": "orders",
2146
2146
  "folder": {
2147
- "id": "00000000-0000-0000-0000-000000000000",
2147
+ "id": "4b2e9f1c-7a3d-4e8b-9c5f-2d1a6e8b0c37",
2148
2148
  "name": "root",
2149
2149
  "isRoot": true
2150
2150
  },
@@ -2789,7 +2789,7 @@ var specificExamples = {
2789
2789
  }
2790
2790
  },
2791
2791
  {
2792
- "id": "00000000-0000-0000-0000-000000000000",
2792
+ "id": "4b2e9f1c-7a3d-4e8b-9c5f-2d1a6e8b0c37",
2793
2793
  "order": 99,
2794
2794
  "name": "root",
2795
2795
  "resources": [],
@@ -2860,7 +2860,7 @@ var specificExamples = {
2860
2860
  "folderId": "f45a251d-3ea0-4b41-bfe8-c0f44c8ad54a",
2861
2861
  "movedResourceCount": 3,
2862
2862
  "targetFolder": {
2863
- "id": "00000000-0000-0000-0000-000000000000",
2863
+ "id": "6d3a8e2f-1c4b-4f9a-8e7d-5b2c0a9f1e64",
2864
2864
  "name": "root",
2865
2865
  "isRoot": true
2866
2866
  }
@@ -4470,4 +4470,4 @@ function withResponseEnvelope(example, commandName) {
4470
4470
  export {
4471
4471
  getCommandExamples
4472
4472
  };
4473
- //# sourceMappingURL=examples-UJZKITVW.js.map
4473
+ //# sourceMappingURL=examples-ASQB53TY.js.map