@collective-intelligence/extensions-sdk 0.1.12 → 0.1.13
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 +69 -3
- package/dist/components/knowledge.d.ts +8 -1
- package/dist/components/metadata-authoring.d.ts +7 -5
- package/dist/components/studio-agent-form.d.ts +7 -4
- package/dist/components/studio.d.ts +11 -1
- package/dist/components/workflows.d.ts +4 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/package/knowledge-readers.d.ts +4 -2
- package/dist/package/workflow-readers.d.ts +3 -0
- package/dist/schema/forms.d.ts +1 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ export declare const relation: ReadValue<(Readonly<{
|
|
|
20
20
|
baseFilters?: readonly Readonly<{
|
|
21
21
|
caseSensitive?: boolean;
|
|
22
22
|
field: string;
|
|
23
|
-
operator: "contains" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "starts_with";
|
|
23
|
+
operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "is_not_null" | "is_null" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "not_in" | "starts_with";
|
|
24
24
|
value: import("../index.js").JsonValue;
|
|
25
25
|
}>[];
|
|
26
26
|
fields?: readonly K.KnowledgeAutocompleteFieldReference[];
|
|
@@ -39,7 +39,7 @@ export declare const relation: ReadValue<(Readonly<{
|
|
|
39
39
|
baseFilters?: readonly Readonly<{
|
|
40
40
|
caseSensitive?: boolean;
|
|
41
41
|
field: string;
|
|
42
|
-
operator: "contains" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "starts_with";
|
|
42
|
+
operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "exists" | "gt" | "gte" | "in" | "is_empty" | "is_not_empty" | "is_not_null" | "is_null" | "lt" | "lte" | "ne" | "nin" | "not_contains" | "not_in" | "starts_with";
|
|
43
43
|
value: import("../index.js").JsonValue;
|
|
44
44
|
}>[];
|
|
45
45
|
fields?: readonly K.KnowledgeAutocompleteFieldReference[];
|
|
@@ -61,6 +61,7 @@ export declare const fieldSemantics: ReadValue<Readonly<{
|
|
|
61
61
|
embedded?: boolean;
|
|
62
62
|
includeInItemEmbedding?: boolean;
|
|
63
63
|
faceted?: boolean;
|
|
64
|
+
user?: K.KnowledgeUserField;
|
|
64
65
|
file?: K.KnowledgeFileField;
|
|
65
66
|
indexContent?: boolean;
|
|
66
67
|
indexOverview?: boolean;
|
|
@@ -179,6 +180,7 @@ export declare const knowledgeSchema: {
|
|
|
179
180
|
embedded?: boolean;
|
|
180
181
|
includeInItemEmbedding?: boolean;
|
|
181
182
|
faceted?: boolean;
|
|
183
|
+
user?: K.KnowledgeUserField;
|
|
182
184
|
file?: K.KnowledgeFileField;
|
|
183
185
|
indexContent?: boolean;
|
|
184
186
|
indexOverview?: boolean;
|
|
@@ -59,6 +59,9 @@ export declare const nodeContract: ReadValue<Readonly<{
|
|
|
59
59
|
triggerActivation?: W.WorkflowTriggerActivationDeclaration;
|
|
60
60
|
}> & JsonObject>;
|
|
61
61
|
export declare const fieldContract: ReadValue<Readonly<{
|
|
62
|
+
user?: Readonly<{
|
|
63
|
+
multiple: boolean;
|
|
64
|
+
}>;
|
|
62
65
|
availableForInput?: boolean;
|
|
63
66
|
availableForOutput?: boolean;
|
|
64
67
|
clearOnDependencyChange?: boolean;
|
package/dist/schema/forms.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { PackageSchemaProjection } from "./projection.js";
|
|
|
3
3
|
import type { PackageDecoderSource } from "./source.js";
|
|
4
4
|
export type FormLayout = "stacked" | "two_column";
|
|
5
5
|
/** Widgets that take no options. */
|
|
6
|
-
export declare const plainFormWidgets: readonly ["checkbox", "color", "date", "date_range", "datetime", "email", "file", "hidden", "number", "password", "structured_file_preview", "switch", "text", "textarea", "variable_references"];
|
|
6
|
+
export declare const plainFormWidgets: readonly ["checkbox", "color", "date", "date_range", "datetime", "email", "file", "hidden", "number", "password", "structured_file_preview", "switch", "text", "textarea", "user_multi_select", "user_select", "variable_references"];
|
|
7
7
|
export type PlainFormWidget = (typeof plainFormWidgets)[number];
|
|
8
8
|
/** Widgets that choose among options and take `SelectOptions`. */
|
|
9
9
|
export declare const selectFormWidgets: readonly ["folders_explorer", "multi_select", "radio", "select"];
|
package/package.json
CHANGED