@diagonal-hq/cli 0.41.1 → 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-C5ON5QX7.mjs");
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": FieldSchemaSetting;
185
+ "schema"?: FieldSchemaSetting | null;
186
186
  ui?: {
187
187
  field_type?: "list" | "combobox" | "resource_field" | null;
188
188
  "show_on_creating"?: boolean | null;
@@ -408,7 +408,7 @@ export declare const field: {
408
408
  /** Stored as a `file_reference` field. */
409
409
  file(options?: BaseFieldOptions<FileReferenceFieldSettings>): FieldDefinition<"file_reference">;
410
410
  liquid(options?: BaseFieldOptions<LiquidFieldSettings>): FieldDefinition<"liquid">;
411
- list(options: Omit<BaseFieldOptions<ListFieldSettings>, 'settings'> & { settings: ListFieldSettings }): FieldDefinition<"list">;
411
+ list(options?: BaseFieldOptions<ListFieldSettings>): FieldDefinition<"list">;
412
412
  location(options?: BaseFieldOptions<LocationFieldSettings>): FieldDefinition<"location">;
413
413
  /** Stored as a `text` field. */
414
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.1",
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-hcad94e7c5df7",
55
- "@diagonal-hq/workflow-script-compiler-linux-x64": "0.1.0-hcad94e7c5df7",
56
- "@diagonal-hq/workflow-script-compiler-linux-arm64": "0.1.0-hcad94e7c5df7"
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
  }