@dxos/assistant-toolkit 0.8.4-main.ae835ea → 0.8.4-main.bc674ce
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/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +1091 -692
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +43 -0
- package/dist/lib/browser/testing/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +1090 -692
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +44 -0
- package/dist/lib/node-esm/testing/index.mjs.map +7 -0
- package/dist/types/src/blueprints/design/design-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/design/design-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/design/index.d.ts +1 -1
- package/dist/types/src/blueprints/design/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts +13 -13
- package/dist/types/src/blueprints/discord/discord-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/discord/index.d.ts +1 -1
- package/dist/types/src/blueprints/discord/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/index.d.ts +1 -1
- package/dist/types/src/blueprints/linear/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts +13 -13
- package/dist/types/src/blueprints/linear/linear-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/index.d.ts +1 -1
- package/dist/types/src/blueprints/planning/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/planning/planning-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/research/index.d.ts +1 -1
- package/dist/types/src/blueprints/research/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/research/research-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/research/research-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/testing.d.ts +2 -2
- package/dist/types/src/blueprints/testing.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/index.d.ts +1 -1
- package/dist/types/src/blueprints/websearch/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts +17 -3
- package/dist/types/src/blueprints/websearch/websearch-blueprint.d.ts.map +1 -1
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts +1 -0
- package/dist/types/src/blueprints/websearch/websearch-toolkit.d.ts.map +1 -1
- package/dist/types/src/{functions/research → crud}/graph.d.ts +14 -11
- package/dist/types/src/crud/graph.d.ts.map +1 -0
- package/dist/types/src/crud/graph.test.d.ts.map +1 -0
- package/dist/types/src/crud/index.d.ts +2 -0
- package/dist/types/src/crud/index.d.ts.map +1 -0
- package/dist/types/src/functions/agent/prompt.d.ts +73 -8
- package/dist/types/src/functions/agent/prompt.d.ts.map +1 -1
- package/dist/types/src/functions/discord/fetch-messages.d.ts +1 -1
- package/dist/types/src/functions/discord/index.d.ts +1 -1
- package/dist/types/src/functions/discord/index.d.ts.map +1 -1
- package/dist/types/src/functions/document/index.d.ts +3 -2
- package/dist/types/src/functions/document/index.d.ts.map +1 -1
- package/dist/types/src/functions/document/read.d.ts +1 -1
- package/dist/types/src/functions/document/read.d.ts.map +1 -1
- package/dist/types/src/functions/document/update.d.ts +1 -1
- package/dist/types/src/functions/document/update.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts +126 -125
- package/dist/types/src/functions/entity-extraction/entity-extraction.d.ts.map +1 -1
- package/dist/types/src/functions/entity-extraction/index.d.ts +126 -125
- package/dist/types/src/functions/entity-extraction/index.d.ts.map +1 -1
- package/dist/types/src/functions/exa/data/exa-search-1748337321991.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337331526.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/exa-search-1748337344119.d.ts.map +1 -0
- package/dist/types/src/functions/exa/data/index.d.ts.map +1 -0
- package/dist/types/src/functions/exa/exa.d.ts +1 -1
- package/dist/types/src/functions/exa/mock.d.ts +1 -1
- package/dist/types/src/functions/github/fetch-prs.d.ts +1 -1
- package/dist/types/src/functions/github/fetch-prs.d.ts.map +1 -1
- package/dist/types/src/functions/linear/index.d.ts +2 -2
- package/dist/types/src/functions/linear/index.d.ts.map +1 -1
- package/dist/types/src/functions/linear/sync-issues.d.ts +2 -2
- package/dist/types/src/functions/linear/sync-issues.d.ts.map +1 -1
- package/dist/types/src/functions/research/document-create.d.ts +9 -0
- package/dist/types/src/functions/research/document-create.d.ts.map +1 -0
- package/dist/types/src/functions/research/index.d.ts +8 -6
- package/dist/types/src/functions/research/index.d.ts.map +1 -1
- package/dist/types/src/functions/research/research-graph.d.ts +9 -8
- package/dist/types/src/functions/research/research-graph.d.ts.map +1 -1
- package/dist/types/src/functions/research/research.d.ts +4 -3
- package/dist/types/src/functions/research/research.d.ts.map +1 -1
- package/dist/types/src/functions/research/types.d.ts +2 -380
- package/dist/types/src/functions/research/types.d.ts.map +1 -1
- package/dist/types/src/functions/tasks/index.d.ts +2 -2
- package/dist/types/src/functions/tasks/index.d.ts.map +1 -1
- package/dist/types/src/functions/tasks/read.d.ts +1 -1
- package/dist/types/src/functions/tasks/read.d.ts.map +1 -1
- package/dist/types/src/functions/tasks/update.d.ts +1 -1
- package/dist/types/src/functions/tasks/update.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/initiative/Initiative.d.ts +84 -0
- package/dist/types/src/initiative/Initiative.d.ts.map +1 -0
- package/dist/types/src/initiative/InitiativeSchema.d.ts +19 -0
- package/dist/types/src/initiative/InitiativeSchema.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/agent.d.ts +37 -0
- package/dist/types/src/initiative/functions/agent.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/getContext.d.ts +17 -0
- package/dist/types/src/initiative/functions/getContext.d.ts.map +1 -0
- package/dist/types/src/initiative/functions/index.d.ts +4 -0
- package/dist/types/src/initiative/functions/index.d.ts.map +1 -0
- package/dist/types/src/{functions/research/create-document.d.ts → initiative/functions/update.d.ts} +3 -3
- package/dist/types/src/initiative/functions/update.d.ts.map +1 -0
- package/dist/types/src/initiative/index.d.ts +1 -0
- package/dist/types/src/initiative/index.d.ts.map +1 -0
- package/dist/types/src/initiative/initiative.test.d.ts +2 -0
- package/dist/types/src/initiative/initiative.test.d.ts.map +1 -0
- package/dist/types/src/sync/sync.d.ts +3 -3
- package/dist/types/src/sync/sync.d.ts.map +1 -1
- package/dist/types/src/testing/index.d.ts +1 -1
- package/dist/types/src/testing/index.d.ts.map +1 -1
- package/dist/types/src/testing/plugins.d.ts +19 -0
- package/dist/types/src/testing/plugins.d.ts.map +1 -0
- package/dist/types/src/toolkits/AssistantToolkit.d.ts +43 -0
- package/dist/types/src/toolkits/AssistantToolkit.d.ts.map +1 -0
- package/dist/types/src/toolkits/AssistantToolkit.test.d.ts +2 -0
- package/dist/types/src/toolkits/AssistantToolkit.test.d.ts.map +1 -0
- package/dist/types/src/toolkits/SystemToolkit.d.ts +99 -0
- package/dist/types/src/toolkits/SystemToolkit.d.ts.map +1 -0
- package/dist/types/src/toolkits/index.d.ts +3 -0
- package/dist/types/src/toolkits/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +49 -33
- package/src/blueprints/design/design-blueprint.test.ts +17 -20
- package/src/blueprints/design/design-blueprint.ts +4 -6
- package/src/blueprints/design/index.ts +1 -1
- package/src/blueprints/discord/discord-blueprint.ts +4 -6
- package/src/blueprints/discord/index.ts +1 -1
- package/src/blueprints/linear/index.ts +1 -1
- package/src/blueprints/linear/linear-blueprint.ts +4 -6
- package/src/blueprints/planning/index.ts +1 -1
- package/src/blueprints/planning/planning-blueprint.test.ts +17 -20
- package/src/blueprints/planning/planning-blueprint.ts +4 -6
- package/src/blueprints/research/index.ts +1 -1
- package/src/blueprints/research/research-blueprint.ts +25 -19
- package/src/blueprints/testing.ts +2 -2
- package/src/blueprints/websearch/index.ts +2 -1
- package/src/blueprints/websearch/websearch-blueprint.ts +4 -6
- package/src/crud/graph.test.ts +46 -0
- package/src/{functions/research → crud}/graph.ts +32 -40
- package/src/crud/index.ts +5 -0
- package/src/experimental/feed.test.ts +12 -9
- package/src/functions/agent/prompt.ts +39 -22
- package/src/functions/discord/fetch-messages.test.ts +6 -7
- package/src/functions/discord/fetch-messages.ts +11 -10
- package/src/functions/document/index.ts +1 -0
- package/src/functions/document/read.ts +4 -3
- package/src/functions/document/update.ts +7 -4
- package/src/functions/entity-extraction/entity-extraction.conversations.json +6597 -1
- package/src/functions/entity-extraction/entity-extraction.test.ts +16 -23
- package/src/functions/entity-extraction/entity-extraction.ts +51 -31
- package/src/functions/exa/mock.ts +1 -1
- package/src/functions/github/fetch-prs.ts +3 -2
- package/src/functions/linear/linear.test.ts +18 -20
- package/src/functions/linear/sync-issues.ts +14 -12
- package/src/functions/research/document-create.ts +76 -0
- package/src/functions/research/index.ts +1 -2
- package/src/functions/research/research-graph.ts +13 -11
- package/src/functions/research/{instructions-research.tpl → research-instructions.tpl} +14 -6
- package/src/functions/research/research.conversations.json +1 -10714
- package/src/functions/research/research.test.ts +92 -161
- package/src/functions/research/research.ts +88 -54
- package/src/functions/research/types.ts +14 -12
- package/src/functions/tasks/read.ts +4 -3
- package/src/functions/tasks/update.ts +4 -3
- package/src/index.ts +2 -1
- package/src/initiative/Initiative.ts +99 -0
- package/src/initiative/InitiativeSchema.ts +37 -0
- package/src/initiative/functions/agent.ts +57 -0
- package/src/initiative/functions/getContext.ts +74 -0
- package/src/initiative/functions/index.ts +7 -0
- package/src/initiative/functions/update.ts +63 -0
- package/src/initiative/index.ts +3 -0
- package/src/initiative/initiative.conversations.json +1 -0
- package/src/initiative/initiative.test.ts +485 -0
- package/src/sync/sync.ts +38 -30
- package/src/testing/index.ts +1 -1
- package/src/{plugins.tsx → testing/plugins.tsx} +15 -15
- package/src/toolkits/AssistantToolkit.conversations.json +1 -0
- package/src/toolkits/AssistantToolkit.test.ts +94 -0
- package/src/toolkits/AssistantToolkit.ts +70 -0
- package/src/toolkits/SystemToolkit.ts +299 -0
- package/src/toolkits/index.ts +6 -0
- package/dist/types/src/functions/research/create-document.d.ts.map +0 -1
- package/dist/types/src/functions/research/graph.d.ts.map +0 -1
- package/dist/types/src/functions/research/graph.test.d.ts.map +0 -1
- package/dist/types/src/plugins.d.ts +0 -19
- package/dist/types/src/plugins.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337321991.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337331526.d.ts.map +0 -1
- package/dist/types/src/testing/data/exa-search-1748337344119.d.ts.map +0 -1
- package/dist/types/src/testing/data/index.d.ts.map +0 -1
- package/src/functions/research/create-document.ts +0 -69
- package/src/functions/research/graph.test.ts +0 -69
- /package/dist/types/src/{functions/research → crud}/graph.test.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337321991.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337331526.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/exa-search-1748337344119.d.ts +0 -0
- /package/dist/types/src/{testing → functions/exa}/data/index.d.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337321991.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337331526.ts +0 -0
- /package/src/{testing → functions/exa}/data/exa-search-1748337344119.ts +0 -0
- /package/src/{testing → functions/exa}/data/index.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-prs.d.ts","sourceRoot":"","sources":["../../../../../src/functions/github/fetch-prs.ts"],"names":[],"mappings":";;;;AAUA,
|
|
1
|
+
{"version":3,"file":"fetch-prs.d.ts","sourceRoot":"","sources":["../../../../../src/functions/github/fetch-prs.ts"],"names":[],"mappings":";;;;AAUA,wBAoBG"}
|
|
@@ -2,8 +2,8 @@ export declare namespace Linear {
|
|
|
2
2
|
const sync: import("@dxos/functions").FunctionDefinition<{
|
|
3
3
|
readonly team: string;
|
|
4
4
|
}, {
|
|
5
|
-
objects: import("@dxos/echo/Obj").
|
|
5
|
+
objects: import("@dxos/echo/Obj").Unknown[];
|
|
6
6
|
syncComplete: boolean;
|
|
7
|
-
}>;
|
|
7
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/index.ts"],"names":[],"mappings":"AAMA,yBAAiB,MAAM,CAAC;IACf,MAAM,IAAI;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/index.ts"],"names":[],"mappings":"AAMA,yBAAiB,MAAM,CAAC;IACf,MAAM,IAAI;;;;;kDAAQ,CAAC;CAC3B"}
|
|
@@ -5,8 +5,8 @@ export declare const LINEAR_UPDATED_AT_KEY = "linear.app/updatedAt";
|
|
|
5
5
|
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
6
6
|
readonly team: string;
|
|
7
7
|
}, {
|
|
8
|
-
objects: Obj.
|
|
8
|
+
objects: Obj.Unknown[];
|
|
9
9
|
syncComplete: boolean;
|
|
10
|
-
}>;
|
|
10
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=sync-issues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-issues.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/sync-issues.ts"],"names":[],"mappings":"AAWA,OAAO,EAAU,GAAG,EAAyB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"sync-issues.d.ts","sourceRoot":"","sources":["../../../../../src/functions/linear/sync-issues.ts"],"names":[],"mappings":"AAWA,OAAO,EAAU,GAAG,EAAyB,MAAM,YAAY,CAAC;AA8DhE,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;;;;;;;AAE5D,wBAoCG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
2
|
+
readonly name: string;
|
|
3
|
+
readonly content: string;
|
|
4
|
+
readonly subject: string;
|
|
5
|
+
}, {
|
|
6
|
+
readonly document: string;
|
|
7
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=document-create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-create.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/document-create.ts"],"names":[],"mappings":";;;;;;;AAgBA,wBA2DG"}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
export * from './graph';
|
|
2
1
|
export * from './research-graph';
|
|
3
2
|
export * from './types';
|
|
4
3
|
export declare namespace Research {
|
|
5
4
|
const create: import("@dxos/functions").FunctionDefinition<{
|
|
6
5
|
readonly name: string;
|
|
7
6
|
readonly content: string;
|
|
8
|
-
readonly
|
|
9
|
-
}, {
|
|
7
|
+
readonly subject: string;
|
|
8
|
+
}, {
|
|
9
|
+
readonly document: string;
|
|
10
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
10
11
|
const research: import("@dxos/functions").FunctionDefinition<{
|
|
12
|
+
readonly instructions?: string | undefined;
|
|
11
13
|
readonly query: string;
|
|
12
|
-
readonly researchInstructions?: string | undefined;
|
|
13
14
|
readonly mockSearch?: boolean | undefined;
|
|
15
|
+
readonly entityExtraction?: boolean | undefined;
|
|
14
16
|
}, {
|
|
15
17
|
readonly objects: readonly unknown[];
|
|
16
|
-
readonly
|
|
17
|
-
}>;
|
|
18
|
+
readonly document?: string | undefined;
|
|
19
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
18
20
|
}
|
|
19
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/index.ts"],"names":[],"mappings":"AAOA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/index.ts"],"names":[],"mappings":"AAOA,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AAExB,yBAAiB,QAAQ,CAAC;IACjB,MAAM,MAAM;;;;;;kDAAU,CAAC;IACvB,MAAM,QAAQ;;;;;;;;kDAAY,CAAC;CACnC"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import * as Layer from 'effect/Layer';
|
|
3
3
|
import * as Schema from 'effect/Schema';
|
|
4
|
-
import {
|
|
4
|
+
import { Type } from '@dxos/echo';
|
|
5
|
+
import { Database } from '@dxos/echo';
|
|
5
6
|
import { Queue } from '@dxos/echo-db';
|
|
6
|
-
import { ContextQueueService,
|
|
7
|
+
import { ContextQueueService, QueueService } from '@dxos/functions';
|
|
7
8
|
/**
|
|
8
9
|
* Container for a set of ephemeral research results.
|
|
9
10
|
*/
|
|
10
|
-
export declare const ResearchGraph: Type.
|
|
11
|
-
queue:
|
|
12
|
-
}
|
|
11
|
+
export declare const ResearchGraph: Type.Obj<{
|
|
12
|
+
readonly queue: import("@dxos/echo/internal").Ref<Queue<import("@dxos/echo/Entity").Unknown>>;
|
|
13
|
+
}, Schema.Struct.Fields>;
|
|
13
14
|
export interface ResearchGraph extends Schema.Schema.Type<typeof ResearchGraph> {
|
|
14
15
|
}
|
|
15
|
-
export declare const queryResearchGraph: () => Effect.Effect<ResearchGraph | undefined, never,
|
|
16
|
-
export declare const createResearchGraph: () => Effect.Effect<ResearchGraph, never,
|
|
17
|
-
export declare const contextQueueLayerFromResearchGraph: Layer.Layer<ContextQueueService, import("@dxos/echo").ObjectNotFoundError,
|
|
16
|
+
export declare const queryResearchGraph: () => Effect.Effect<ResearchGraph | undefined, never, Database.Service>;
|
|
17
|
+
export declare const createResearchGraph: () => Effect.Effect<ResearchGraph, never, Database.Service | QueueService>;
|
|
18
|
+
export declare const contextQueueLayerFromResearchGraph: Layer.Layer<ContextQueueService, import("@dxos/echo/Err").ObjectNotFoundError, Database.Service | QueueService>;
|
|
18
19
|
//# sourceMappingURL=research-graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"research-graph.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research-graph.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"research-graph.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research-graph.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAmB,IAAI,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpE;;GAEG;AACH,eAAO,MAAM,aAAa;;wBAQzB,CAAC;AAEF,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC;CAAG;AAElF,eAAO,MAAM,kBAAkB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,aAAa,GAAG,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAKrG,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,GAAG,YAAY,CAIvG,CAAC;AAEL,eAAO,MAAM,kCAAkC,iHAM9C,CAAC"}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
* Exec external service and return the results as a Subgraph.
|
|
3
3
|
*/
|
|
4
4
|
declare const _default: import("@dxos/functions").FunctionDefinition<{
|
|
5
|
+
readonly instructions?: string | undefined;
|
|
5
6
|
readonly query: string;
|
|
6
|
-
readonly researchInstructions?: string | undefined;
|
|
7
7
|
readonly mockSearch?: boolean | undefined;
|
|
8
|
+
readonly entityExtraction?: boolean | undefined;
|
|
8
9
|
}, {
|
|
9
10
|
readonly objects: readonly unknown[];
|
|
10
|
-
readonly
|
|
11
|
-
}>;
|
|
11
|
+
readonly document?: string | undefined;
|
|
12
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
12
13
|
export default _default;
|
|
13
14
|
//# sourceMappingURL=research.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"research.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/research.ts"],"names":[],"mappings":"AAqCA;;GAEG;;;;;;;;;;AACH,wBAyHG"}
|
|
@@ -1,384 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type Type } from '@dxos/echo';
|
|
2
2
|
/**
|
|
3
3
|
* Data types for research.
|
|
4
4
|
*/
|
|
5
|
-
export declare const ResearchDataTypes:
|
|
6
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
7
|
-
owner: import("effect/Schema").Struct<{
|
|
8
|
-
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
9
|
-
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
10
|
-
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
11
|
-
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
12
|
-
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
13
|
-
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
14
|
-
id: string;
|
|
15
|
-
description?: string | undefined;
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
18
|
-
image?: string | undefined;
|
|
19
|
-
website?: string | undefined;
|
|
20
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
21
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
22
|
-
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
23
|
-
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
24
|
-
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
25
|
-
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
26
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
27
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
28
|
-
}>>>>;
|
|
29
|
-
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
30
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
31
|
-
value: typeof import("effect/Schema").String;
|
|
32
|
-
}>>>>;
|
|
33
|
-
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
34
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
35
|
-
value: typeof import("effect/Schema").String;
|
|
36
|
-
}>>>>;
|
|
37
|
-
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
38
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
39
|
-
value: import("effect/Schema").Struct<{
|
|
40
|
-
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
41
|
-
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
42
|
-
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
43
|
-
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
44
|
-
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
45
|
-
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
46
|
-
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
47
|
-
}>;
|
|
48
|
-
}>>>>;
|
|
49
|
-
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
50
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
51
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
52
|
-
}>>>>;
|
|
53
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
54
|
-
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
55
|
-
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
56
|
-
label: typeof import("effect/Schema").String;
|
|
57
|
-
value: typeof import("effect/Schema").String;
|
|
58
|
-
}>>>>;
|
|
59
|
-
}>, import("effect/Schema").Struct<{
|
|
60
|
-
location: import("effect/Schema").optional<import("effect/Schema").Tuple<[import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").Element<typeof import("effect/Schema").Number, "?">]>>;
|
|
61
|
-
}>>>>>;
|
|
62
|
-
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
63
|
-
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
64
|
-
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
65
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
66
|
-
role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant", "tool"]>>;
|
|
67
|
-
}>;
|
|
68
|
-
attendees: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
69
|
-
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
70
|
-
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
71
|
-
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
72
|
-
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
73
|
-
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
74
|
-
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
75
|
-
id: string;
|
|
76
|
-
description?: string | undefined;
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
79
|
-
image?: string | undefined;
|
|
80
|
-
website?: string | undefined;
|
|
81
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
82
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
83
|
-
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
84
|
-
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
85
|
-
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
86
|
-
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
87
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
88
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
89
|
-
}>>>>;
|
|
90
|
-
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
91
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
92
|
-
value: typeof import("effect/Schema").String;
|
|
93
|
-
}>>>>;
|
|
94
|
-
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
95
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
96
|
-
value: typeof import("effect/Schema").String;
|
|
97
|
-
}>>>>;
|
|
98
|
-
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
99
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
100
|
-
value: import("effect/Schema").Struct<{
|
|
101
|
-
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
102
|
-
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
103
|
-
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
104
|
-
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
105
|
-
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
106
|
-
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
107
|
-
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
108
|
-
}>;
|
|
109
|
-
}>>>>;
|
|
110
|
-
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
111
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
112
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
113
|
-
}>>>>;
|
|
114
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
115
|
-
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
116
|
-
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
117
|
-
label: typeof import("effect/Schema").String;
|
|
118
|
-
value: typeof import("effect/Schema").String;
|
|
119
|
-
}>>>>;
|
|
120
|
-
}>, import("effect/Schema").Struct<{
|
|
121
|
-
location: import("effect/Schema").optional<import("effect/Schema").Tuple<[import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").Element<typeof import("effect/Schema").Number, "?">]>>;
|
|
122
|
-
}>>>>>;
|
|
123
|
-
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
124
|
-
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
125
|
-
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
126
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
127
|
-
role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant", "tool"]>>;
|
|
128
|
-
}>>>;
|
|
129
|
-
startDate: typeof import("effect/Schema").String;
|
|
130
|
-
endDate: typeof import("effect/Schema").String;
|
|
131
|
-
links: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
132
|
-
[x: string]: any;
|
|
133
|
-
id: string;
|
|
134
|
-
}, never>>>>;
|
|
135
|
-
}>> | import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
136
|
-
id: import("@dxos/keys").ObjectIdClass;
|
|
137
|
-
name: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
138
|
-
description: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
139
|
-
status: import("effect/Schema").optional<import("effect/Schema").Literal<["prospect", "qualified", "active", "commit", "reject"]>>;
|
|
140
|
-
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
141
|
-
website: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
142
|
-
}>> | import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
143
|
-
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
144
|
-
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
145
|
-
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
146
|
-
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
147
|
-
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
148
|
-
id: string;
|
|
149
|
-
description?: string | undefined;
|
|
150
|
-
name?: string | undefined;
|
|
151
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
152
|
-
image?: string | undefined;
|
|
153
|
-
website?: string | undefined;
|
|
154
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
155
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
156
|
-
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
157
|
-
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
158
|
-
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
159
|
-
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
160
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
161
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
162
|
-
}>>>>;
|
|
163
|
-
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
164
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
165
|
-
value: typeof import("effect/Schema").String;
|
|
166
|
-
}>>>>;
|
|
167
|
-
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
168
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
169
|
-
value: typeof import("effect/Schema").String;
|
|
170
|
-
}>>>>;
|
|
171
|
-
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
172
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
173
|
-
value: import("effect/Schema").Struct<{
|
|
174
|
-
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
175
|
-
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
176
|
-
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
177
|
-
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
178
|
-
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
179
|
-
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
180
|
-
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
181
|
-
}>;
|
|
182
|
-
}>>>>;
|
|
183
|
-
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
184
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
185
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
186
|
-
}>>>>;
|
|
187
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
188
|
-
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
189
|
-
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
190
|
-
label: typeof import("effect/Schema").String;
|
|
191
|
-
value: typeof import("effect/Schema").String;
|
|
192
|
-
}>>>>;
|
|
193
|
-
}>> | import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
194
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
195
|
-
description: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
196
|
-
image: import("effect/Schema").optional<import("effect/Schema").refine<string, typeof import("effect/Schema").String>>;
|
|
197
|
-
collections: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
198
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
199
|
-
objects: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
200
|
-
[x: string]: any;
|
|
201
|
-
id: string;
|
|
202
|
-
}, never>>>>;
|
|
203
|
-
}>>>, import("@dxos/echo/Type").ref<import("effect/Schema").Schema<DataType.View, import("@dxos/schema").ViewEncoded, never>>]>>>;
|
|
204
|
-
}>> | import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
205
|
-
title: import("effect/Schema").SchemaClass<string, string, never>;
|
|
206
|
-
priority: import("effect/Schema").optional<import("effect/Schema").Literal<["none", "low", "medium", "high", "urgent"]>>;
|
|
207
|
-
status: import("effect/Schema").optional<import("effect/Schema").Literal<["todo", "in-progress", "done"]>>;
|
|
208
|
-
assigned: import("effect/Schema").optional<import("effect/Schema").SchemaClass<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
209
|
-
fields?: {
|
|
210
|
-
readonly value: string;
|
|
211
|
-
readonly label: string;
|
|
212
|
-
readonly category?: string | undefined;
|
|
213
|
-
}[] | undefined;
|
|
214
|
-
organization?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
215
|
-
id: string;
|
|
216
|
-
description?: string | undefined;
|
|
217
|
-
name?: string | undefined;
|
|
218
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
219
|
-
image?: string | undefined;
|
|
220
|
-
website?: string | undefined;
|
|
221
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
222
|
-
}> | undefined;
|
|
223
|
-
image?: string | undefined;
|
|
224
|
-
fullName?: string | undefined;
|
|
225
|
-
preferredName?: string | undefined;
|
|
226
|
-
nickname?: string | undefined;
|
|
227
|
-
jobTitle?: string | undefined;
|
|
228
|
-
department?: string | undefined;
|
|
229
|
-
notes?: string | undefined;
|
|
230
|
-
emails?: {
|
|
231
|
-
readonly value: string;
|
|
232
|
-
readonly label?: string | undefined;
|
|
233
|
-
}[] | undefined;
|
|
234
|
-
identities?: {
|
|
235
|
-
readonly value: string;
|
|
236
|
-
readonly label?: string | undefined;
|
|
237
|
-
}[] | undefined;
|
|
238
|
-
phoneNumbers?: {
|
|
239
|
-
readonly value: string;
|
|
240
|
-
readonly label?: string | undefined;
|
|
241
|
-
}[] | undefined;
|
|
242
|
-
addresses?: {
|
|
243
|
-
readonly value: {
|
|
244
|
-
readonly street?: string | undefined;
|
|
245
|
-
readonly extended?: string | undefined;
|
|
246
|
-
readonly locality?: string | undefined;
|
|
247
|
-
readonly region?: string | undefined;
|
|
248
|
-
readonly postalCode?: string | undefined;
|
|
249
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
250
|
-
readonly country?: string | undefined;
|
|
251
|
-
};
|
|
252
|
-
readonly label?: string | undefined;
|
|
253
|
-
}[] | undefined;
|
|
254
|
-
urls?: {
|
|
255
|
-
readonly value: string;
|
|
256
|
-
readonly label?: string | undefined;
|
|
257
|
-
}[] | undefined;
|
|
258
|
-
birthday?: string | undefined;
|
|
259
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
260
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
261
|
-
estimate: import("effect/Schema").optional<import("effect/Schema").SchemaClass<number, number, never>>;
|
|
262
|
-
description: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
263
|
-
project: import("effect/Schema").optional<import("effect/Schema").SchemaClass<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
264
|
-
description?: string | undefined;
|
|
265
|
-
name?: string | undefined;
|
|
266
|
-
image?: string | undefined;
|
|
267
|
-
collections: (import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
268
|
-
name?: string | undefined;
|
|
269
|
-
objects: import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").Expando>[];
|
|
270
|
-
}> | import("@dxos/echo/internal").Ref<DataType.View>)[];
|
|
271
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
272
|
-
}>> | import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
273
|
-
content: typeof import("effect/Schema").String;
|
|
274
|
-
}>> | import("@dxos/echo/Type").relation<import("effect/Schema").Struct<{
|
|
275
|
-
id: import("@dxos/keys").ObjectIdClass;
|
|
276
|
-
kind: import("effect/Schema").SchemaClass<string, string, never>;
|
|
277
|
-
}>, import("@dxos/echo/Type").obj<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
278
|
-
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
279
|
-
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
280
|
-
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
281
|
-
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
282
|
-
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
283
|
-
id: string;
|
|
284
|
-
description?: string | undefined;
|
|
285
|
-
name?: string | undefined;
|
|
286
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
287
|
-
image?: string | undefined;
|
|
288
|
-
website?: string | undefined;
|
|
289
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
290
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
291
|
-
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
292
|
-
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
293
|
-
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
294
|
-
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
295
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
296
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
297
|
-
}>>>>;
|
|
298
|
-
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
299
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
300
|
-
value: typeof import("effect/Schema").String;
|
|
301
|
-
}>>>>;
|
|
302
|
-
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
303
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
304
|
-
value: typeof import("effect/Schema").String;
|
|
305
|
-
}>>>>;
|
|
306
|
-
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
307
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
308
|
-
value: import("effect/Schema").Struct<{
|
|
309
|
-
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
310
|
-
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
311
|
-
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
312
|
-
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
313
|
-
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
314
|
-
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
315
|
-
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
316
|
-
}>;
|
|
317
|
-
}>>>>;
|
|
318
|
-
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
319
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
320
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
321
|
-
}>>>>;
|
|
322
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
323
|
-
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
324
|
-
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
325
|
-
label: typeof import("effect/Schema").String;
|
|
326
|
-
value: typeof import("effect/Schema").String;
|
|
327
|
-
}>>>>;
|
|
328
|
-
}>, import("effect/Schema").Struct<{
|
|
329
|
-
location: import("effect/Schema").optional<import("effect/Schema").Tuple<[import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").Element<typeof import("effect/Schema").Number, "?">]>>;
|
|
330
|
-
}>>>, import("@dxos/echo/Type").obj<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
331
|
-
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
332
|
-
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
333
|
-
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
334
|
-
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
335
|
-
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo/internal").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
336
|
-
id: string;
|
|
337
|
-
description?: string | undefined;
|
|
338
|
-
name?: string | undefined;
|
|
339
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
340
|
-
image?: string | undefined;
|
|
341
|
-
website?: string | undefined;
|
|
342
|
-
location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
343
|
-
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
344
|
-
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
345
|
-
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
346
|
-
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
347
|
-
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
348
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
349
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
350
|
-
}>>>>;
|
|
351
|
-
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
352
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
353
|
-
value: typeof import("effect/Schema").String;
|
|
354
|
-
}>>>>;
|
|
355
|
-
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
356
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
357
|
-
value: typeof import("effect/Schema").String;
|
|
358
|
-
}>>>>;
|
|
359
|
-
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
360
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
361
|
-
value: import("effect/Schema").Struct<{
|
|
362
|
-
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
363
|
-
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
364
|
-
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
365
|
-
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
366
|
-
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
367
|
-
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
368
|
-
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
369
|
-
}>;
|
|
370
|
-
}>>>>;
|
|
371
|
-
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
372
|
-
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
373
|
-
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
374
|
-
}>>>>;
|
|
375
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
376
|
-
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
377
|
-
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
378
|
-
label: typeof import("effect/Schema").String;
|
|
379
|
-
value: typeof import("effect/Schema").String;
|
|
380
|
-
}>>>>;
|
|
381
|
-
}>, import("effect/Schema").Struct<{
|
|
382
|
-
location: import("effect/Schema").optional<import("effect/Schema").Tuple<[import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").filter<import("effect/Schema").transform<import("effect/Schema").SchemaClass<number, number, never>, import("effect/Schema").filter<import("effect/Schema").SchemaClass<number, number, never>>>>, import("effect/Schema").Element<typeof import("effect/Schema").Number, "?">]>>;
|
|
383
|
-
}>>>>)[];
|
|
5
|
+
export declare const ResearchDataTypes: Type.Entity.Any[];
|
|
384
6
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/functions/research/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAIvC;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,EAc9C,CAAC"}
|
|
@@ -3,13 +3,13 @@ export declare namespace Tasks {
|
|
|
3
3
|
readonly id: string;
|
|
4
4
|
}, {
|
|
5
5
|
readonly content: string;
|
|
6
|
-
}>;
|
|
6
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
7
7
|
const update: import("@dxos/functions").FunctionDefinition<{
|
|
8
8
|
readonly id: string;
|
|
9
9
|
readonly operations?: readonly any[] | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
readonly content: string;
|
|
12
12
|
readonly numberedContent: string;
|
|
13
|
-
}>;
|
|
13
|
+
}, import("@dxos/functions").FunctionServices>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/index.ts"],"names":[],"mappings":"AAOA,yBAAiB,KAAK,CAAC;IACd,MAAM,IAAI;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/functions/tasks/index.ts"],"names":[],"mappings":"AAOA,yBAAiB,KAAK,CAAC;IACd,MAAM,IAAI;;;;kDAAQ,CAAC;IACnB,MAAM,MAAM;;;;;;kDAAU,CAAC;CAC/B"}
|