@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.
@@ -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;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@collective-intelligence/extensions-sdk",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Framework-neutral authoring contracts for Collective Intelligence extension packages.",
5
5
  "type": "module",
6
6
  "sideEffects": false,