@lotics/app-sdk 0.75.1 → 0.75.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/src/hooks.d.ts +13 -1
- package/dist/src/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/src/hooks.d.ts
CHANGED
|
@@ -117,13 +117,25 @@ export interface QuerySortKey {
|
|
|
117
117
|
blank_position?: "top" | "bottom";
|
|
118
118
|
}
|
|
119
119
|
/** A filter condition over one output column (wire shape of a filter node). */
|
|
120
|
-
export interface
|
|
120
|
+
export interface QueryFilterFieldCondition {
|
|
121
121
|
node_type: "condition";
|
|
122
122
|
field_key: string;
|
|
123
123
|
type?: string;
|
|
124
124
|
operator: string;
|
|
125
125
|
value?: unknown;
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* A condition on the row's OWN id rather than on a field — the fetch-by-id
|
|
129
|
+
* filter. It carries no `field_key` because a record has no field holding its
|
|
130
|
+
* own id, and the engine dispatches on `type` before it reads one.
|
|
131
|
+
*/
|
|
132
|
+
export interface QueryFilterRecordIdCondition {
|
|
133
|
+
node_type: "condition";
|
|
134
|
+
type: "record_id";
|
|
135
|
+
operator: string;
|
|
136
|
+
value?: unknown;
|
|
137
|
+
}
|
|
138
|
+
export type QueryFilterCondition = QueryFilterFieldCondition | QueryFilterRecordIdCondition;
|
|
127
139
|
/** A boolean group of filter nodes (wire shape — recursive). */
|
|
128
140
|
export interface QueryFilterGroup {
|
|
129
141
|
node_type: "group";
|
package/dist/src/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
export { mount } from "./mount.js";
|
|
18
18
|
export type { MountOptions } from "./mount.js";
|
|
19
19
|
export { useWorkflow, useQuery, useInfiniteQuery, usePaginatedQuery, useFieldOptions, useFileUpload, useAttachments, useMembers, useAgentRun, useAgentRuns, useAiContext, buildChoiceOutput, } from "./hooks.js";
|
|
20
|
-
export type { QueryRow, UploadedFile, AttachedFile, BaseQueryOptions, QueryOptions, InfiniteQueryOptions, PaginatedQueryOptions, QuerySortKey, QueryFilter, QueryFilterCondition, QueryFilterGroup, WorkflowResult, MembersOptions, AgentRunOptions, UseAgentRun, AgentRunLanding, AgentRunRecord, AgentRunState, AgentUIPart, PendingChoice, ChoiceQuestion, ChoiceOption, AskUserChoiceOutput, FieldOptions, FieldOptionsState, FieldOptionsOptions, } from "./hooks.js";
|
|
20
|
+
export type { QueryRow, UploadedFile, AttachedFile, BaseQueryOptions, QueryOptions, InfiniteQueryOptions, PaginatedQueryOptions, QuerySortKey, QueryFilter, QueryFilterCondition, QueryFilterFieldCondition, QueryFilterRecordIdCondition, QueryFilterGroup, WorkflowResult, MembersOptions, AgentRunOptions, UseAgentRun, AgentRunLanding, AgentRunRecord, AgentRunState, AgentUIPart, PendingChoice, ChoiceQuestion, ChoiceOption, AskUserChoiceOutput, FieldOptions, FieldOptionsState, FieldOptionsOptions, } from "./hooks.js";
|
|
21
21
|
export { useComments, useCommentCounts } from "./comments.js";
|
|
22
22
|
export type { AppComment, AppCommentFile, CommentsState, UseCommentsArgs, CommentCountsState, UseCommentCountsArgs, } from "./comments.js";
|
|
23
23
|
export { useViewer } from "./viewer.js";
|