@diagonal-hq/cli 0.41.0 → 0.41.2
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.mjs
CHANGED
|
@@ -613,7 +613,7 @@ async function checkSources() {
|
|
|
613
613
|
if (existsSync4(DATA_FILE) && existsSync4(SDK_FILE)) {
|
|
614
614
|
return { dataFile: DATA_FILE, sdkFile: SDK_FILE };
|
|
615
615
|
}
|
|
616
|
-
const { checkData, scriptSdk } = await import("./cli-check-data-
|
|
616
|
+
const { checkData, scriptSdk } = await import("./cli-check-data-NXPG2DJD.mjs");
|
|
617
617
|
return { data: checkData(), sdk: scriptSdk() };
|
|
618
618
|
}
|
|
619
619
|
function isScriptTestPath(path) {
|
|
@@ -182,7 +182,7 @@ export type LiquidFieldSettings = CommonFieldSettings & {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
export type ListFieldSettings = CommonFieldSettings & {
|
|
185
|
-
"schema"
|
|
185
|
+
"schema"?: FieldSchemaSetting | null;
|
|
186
186
|
ui?: {
|
|
187
187
|
field_type?: "list" | "combobox" | "resource_field" | null;
|
|
188
188
|
"show_on_creating"?: boolean | null;
|
|
@@ -274,6 +274,7 @@ export type RegularHoursFieldSettings = CommonFieldSettings & {
|
|
|
274
274
|
export type RelationFieldSettings = CommonFieldSettings & {
|
|
275
275
|
"filters"?: Record<string, unknown> | null;
|
|
276
276
|
"delete_policy"?: "cascade" | "ignore" | "restrict" | "set_null" | null;
|
|
277
|
+
"foreign_key"?: string | null;
|
|
277
278
|
/** The relation field that the build adds to the target resource. */
|
|
278
279
|
inverse?: RelationInverse | null;
|
|
279
280
|
ui?: {
|
|
@@ -407,7 +408,7 @@ export declare const field: {
|
|
|
407
408
|
/** Stored as a `file_reference` field. */
|
|
408
409
|
file(options?: BaseFieldOptions<FileReferenceFieldSettings>): FieldDefinition<"file_reference">;
|
|
409
410
|
liquid(options?: BaseFieldOptions<LiquidFieldSettings>): FieldDefinition<"liquid">;
|
|
410
|
-
list(options
|
|
411
|
+
list(options?: BaseFieldOptions<ListFieldSettings>): FieldDefinition<"list">;
|
|
411
412
|
location(options?: BaseFieldOptions<LocationFieldSettings>): FieldDefinition<"location">;
|
|
412
413
|
/** Stored as a `text` field. */
|
|
413
414
|
longText(options?: BaseFieldOptions<TextFieldSettings>): FieldDefinition<"text">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diagonal-hq/cli",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.2",
|
|
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-h867e44050232",
|
|
55
|
+
"@diagonal-hq/workflow-script-compiler-linux-x64": "0.1.0-h867e44050232",
|
|
56
|
+
"@diagonal-hq/workflow-script-compiler-linux-arm64": "0.1.0-h867e44050232"
|
|
57
57
|
}
|
|
58
58
|
}
|