@diagonal-hq/workflows 0.10.4 → 0.10.5
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.
|
@@ -97,7 +97,7 @@ function isFailure(value2) {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// packages/workflows/src/generated/capabilities.ts
|
|
100
|
-
var SDK_VERSION =
|
|
100
|
+
var SDK_VERSION = 80;
|
|
101
101
|
var ai = {
|
|
102
102
|
/** Ask a decisions model typed questions about some content and get labelled answers with their probabilities */
|
|
103
103
|
decide: (input) => invoke("ai.decide", input),
|
|
@@ -152,7 +152,7 @@ var data = {
|
|
|
152
152
|
/** Find a record by attributes, or create a new one when no match exists */
|
|
153
153
|
findOrCreate: (input) => invoke("data.find-or-create", input),
|
|
154
154
|
relation: {
|
|
155
|
-
/** Attach a related record to a
|
|
155
|
+
/** Attach a related record to a relation. Plural relations (BelongsToMany, HasMany) keep their existing records. */
|
|
156
156
|
attach: (input) => invoke("data.relation.attach", input),
|
|
157
157
|
/** Attach related records to a plural relation (BelongsToMany, HasMany) */
|
|
158
158
|
attachMany: (input) => invoke("data.relation.attach-many", input),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ResourceKeyWith } from "../data.js";
|
|
2
2
|
import type { ContentDocument } from "../input.js";
|
|
3
3
|
import type { DeepReadonly, Liquid, StaticLiquid } from "../liquid.js";
|
|
4
|
-
export declare const SDK_VERSION =
|
|
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
|
|
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/dist/index.js
CHANGED
package/dist/profiles/test.js
CHANGED
package/package.json
CHANGED