@diagonal-hq/cli 0.41.5 → 0.41.7
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 +21 -2
- package/dist/check-data.json +1 -1
- package/dist/{cli-assets-cli-FMLE5XEF.mjs → cli-assets-cli-WEGERBBR.mjs} +8 -134
- package/dist/{cli-check-data-PIXADUF2.mjs → cli-check-data-7TKAM34J.mjs} +152 -2259
- package/dist/cli-chunk-25JQRNTW.mjs +24138 -0
- package/dist/{cli-chunk-U2ET6LQJ.mjs → cli-chunk-3SEADNVJ.mjs} +153 -1
- package/dist/{cli-chunk-TEV2VFGB.mjs → cli-chunk-77DCVFIZ.mjs} +7 -23955
- package/dist/{cli-chunk-4FQYK2WG.mjs → cli-chunk-ES45EAOO.mjs} +4 -1
- package/dist/{cli-skill-file-26B4RRZZ.mjs → cli-chunk-KZOQCV4Y.mjs} +7 -8
- package/dist/{cli-chunk-2YX3ABIW.mjs → cli-chunk-NEXRHJ3X.mjs} +1500 -44
- package/dist/{cli-chunk-XMVYLKEB.mjs → cli-chunk-TDGR3ENO.mjs} +278 -1
- package/dist/cli-chunk-XO3FRXQ4.mjs +3200 -0
- package/dist/{cli-chunk-GCF6XYTF.mjs → cli-chunk-XQQBHS6I.mjs} +18 -2
- package/dist/cli-skill-file-XEFKCU5Y.mjs +27 -0
- package/dist/{cli-workflows-YLHANSO2.mjs → cli-workflows-VFKTQW7H.mjs} +14 -18
- package/dist/cli.mjs +10361 -99
- package/dist/index.d.ts +18 -0
- package/dist/sdk-contract.d.ts +4 -1
- package/package.json +4 -4
- package/dist/cli-chunk-C3LVTOK3.mjs +0 -1054
- package/dist/cli-chunk-WPC3DBHX.mjs +0 -52
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,22 @@ export type UidOption = { uid?: DefinitionUid };
|
|
|
91
91
|
*/
|
|
92
92
|
export type SlugOption = { slug?: DefinitionSlug };
|
|
93
93
|
|
|
94
|
+
export type PackageInputValue =
|
|
95
|
+
| null
|
|
96
|
+
| boolean
|
|
97
|
+
| number
|
|
98
|
+
| string
|
|
99
|
+
| readonly PackageInputValue[]
|
|
100
|
+
| { readonly [key: string]: PackageInputValue };
|
|
101
|
+
|
|
102
|
+
export type PackageInputChoices = {
|
|
103
|
+
readonly [key: `resource:${string}` | `role:${string}` | `permission:${string}`]: DefinitionUid;
|
|
104
|
+
readonly [key: `workspace_field:${string}`]:
|
|
105
|
+
| DefinitionUid
|
|
106
|
+
| { value: PackageInputValue }
|
|
107
|
+
| { secret: DefinitionUid | null };
|
|
108
|
+
};
|
|
109
|
+
|
|
94
110
|
/**
|
|
95
111
|
* The workspace config in `diagonal.config.ts`. Each deploy writes `name`,
|
|
96
112
|
* `brand`, and `settings` to the workspace. Custom workspace fields are files
|
|
@@ -104,6 +120,8 @@ export type ConfigDefinition = {
|
|
|
104
120
|
* `@app/generated/assets`, such as `Assets.WordmarkLight.key`.
|
|
105
121
|
*/
|
|
106
122
|
brand?: BrandKit;
|
|
123
|
+
/** Destination choices for installed packages, by npm package name and input identity. */
|
|
124
|
+
packages?: { readonly [name: string]: PackageInputChoices };
|
|
107
125
|
/**
|
|
108
126
|
* The built-in workspace settings by their stored keys. Each
|
|
109
127
|
* `custom_<status>_error_page` setting takes `Pages.<Name>.uid` from
|
package/dist/sdk-contract.d.ts
CHANGED
|
@@ -2984,6 +2984,8 @@ type SdkWorkspace = {
|
|
|
2984
2984
|
} | null;
|
|
2985
2985
|
|
|
2986
2986
|
type SdkWorkspaceField = {
|
|
2987
|
+
/** A credential is saved. Its value is not needed to keep it unchanged. */
|
|
2988
|
+
has_stored_value?: boolean;
|
|
2987
2989
|
id: string | null;
|
|
2988
2990
|
key: string;
|
|
2989
2991
|
type: string;
|
|
@@ -8887,7 +8889,8 @@ type SdkUseWorkspaceFieldsFormOptions = {
|
|
|
8887
8889
|
/** Workspace field definitions to render, in order. Omit to render every field that is
|
|
8888
8890
|
* not hidden and not read-only. Undefined, read-only, and hidden entries are dropped. */
|
|
8889
8891
|
fields?: Array<SdkWorkspaceField | undefined>;
|
|
8890
|
-
/** Editable seed values that override the workspace's current values.
|
|
8892
|
+
/** Editable seed values that override the workspace's current values. Passwords are
|
|
8893
|
+
* omitted until changed; provide a string to replace one or null to clear it. */
|
|
8891
8894
|
initialValues?: Record<string, any>;
|
|
8892
8895
|
/** Locked values submitted even when omitted from `fields`; rendered disabled. Keys of
|
|
8893
8896
|
* read-only or hidden definitions are dropped. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diagonal-hq/cli",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.7",
|
|
4
4
|
"description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"bun": "1.4.4"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@diagonal-hq/workflow-script-compiler-darwin-arm64": "0.1.0-
|
|
55
|
-
"@diagonal-hq/workflow-script-compiler-linux-x64": "0.1.0-
|
|
56
|
-
"@diagonal-hq/workflow-script-compiler-linux-arm64": "0.1.0-
|
|
54
|
+
"@diagonal-hq/workflow-script-compiler-darwin-arm64": "0.1.0-h5e67bbdc4685",
|
|
55
|
+
"@diagonal-hq/workflow-script-compiler-linux-x64": "0.1.0-h5e67bbdc4685",
|
|
56
|
+
"@diagonal-hq/workflow-script-compiler-linux-arm64": "0.1.0-h5e67bbdc4685"
|
|
57
57
|
}
|
|
58
58
|
}
|