@diagonal-hq/cli 0.37.9 → 0.38.0

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.
@@ -1,7 +1,7 @@
1
1
  import type { ResourceKeyWith } from '../data';
2
2
  import type { ContentDocument } from '../input';
3
3
  import type { DeepReadonly, Liquid, StaticLiquid } from '../liquid';
4
- export declare const SDK_VERSION = 79;
4
+ export declare const SDK_VERSION = 80;
5
5
  export interface WorkspaceSystemFields {
6
6
  "ai_custom_system_prompt": string | null;
7
7
  "brand_kit": {
@@ -2158,7 +2158,7 @@ export declare const data: {
2158
2158
  /** Find a record by attributes, or create a new one when no match exists */
2159
2159
  findOrCreate: (input: DataFindOrCreateInput) => Promise<DataFindOrCreateOutput>;
2160
2160
  relation: {
2161
- /** Attach a related record to a singular relation (BelongsTo, HasOne) */
2161
+ /** Attach a related record to a relation. Plural relations (BelongsToMany, HasMany) keep their existing records. */
2162
2162
  attach: (input: DataRelationAttachInput) => Promise<DataRelationAttachOutput>;
2163
2163
  /** Attach related records to a plural relation (BelongsToMany, HasMany) */
2164
2164
  attachMany: (input: DataRelationAttachManyInput) => Promise<DataRelationAttachManyOutput>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.37.9",
3
+ "version": "0.38.0",
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": {
@@ -48,8 +48,8 @@
48
48
  "bun": "1.4.4"
49
49
  },
50
50
  "optionalDependencies": {
51
- "@diagonal-hq/workflow-script-compiler-darwin-arm64": "0.1.0-ha174a5057353",
52
- "@diagonal-hq/workflow-script-compiler-linux-x64": "0.1.0-ha174a5057353",
53
- "@diagonal-hq/workflow-script-compiler-linux-arm64": "0.1.0-ha174a5057353"
51
+ "@diagonal-hq/workflow-script-compiler-darwin-arm64": "0.1.0-h00357c6d52a4",
52
+ "@diagonal-hq/workflow-script-compiler-linux-x64": "0.1.0-h00357c6d52a4",
53
+ "@diagonal-hq/workflow-script-compiler-linux-arm64": "0.1.0-h00357c6d52a4"
54
54
  }
55
55
  }