@pikku/addon-mindee 0.0.3 → 0.0.4
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/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.js +2 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +2 -2
- package/dist/.pikku/addon/pikku-package.gen.js +3 -2
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +4 -2
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -2
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js +3 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +15 -2
- package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts +2 -0
- package/dist/.pikku/agent/pikku-model-aliases.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +6 -0
- package/dist/.pikku/agent/pikku-model-aliases.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-model-aliases.gen.ts +6 -0
- package/dist/.pikku/agent/pikku-scorer-names.gen.d.ts +8 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +1 -1
- package/dist/.pikku/credentials/pikku-credentials.gen.js +1 -1
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +20 -24
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +2 -2
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +32 -27
- package/dist/.pikku/function/pikku-functions-meta.gen.js +2 -2
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +2 -2
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions.gen.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +2 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +2 -1
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.ts +2 -1
- package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-meta-service.gen.ts +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +2 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +1 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-services.gen.ts +2 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/pikku-types.gen.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -7
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -7
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -7
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +2 -2
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +2 -2
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
- package/dist/.pikku/schemas/register.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.ts +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.ts +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.ts +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.ts +1 -1
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts +2 -1
- package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-personas.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-personas.gen.ts +3 -6
- package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +2 -2
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +25 -16
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +33 -27
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +2 -2
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +2 -2
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/src/functions/invoicePredict.function.d.ts +1 -1
- package/dist/src/functions/receiptPredict.function.d.ts +1 -1
- package/dist/types/application-types.d.ts +17 -0
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.103
|
|
3
3
|
*/
|
|
4
4
|
import { WorkflowCancelledException } from '@pikku/core/workflow'
|
|
5
5
|
import { template } from '@pikku/core/workflow'
|
|
@@ -8,10 +8,11 @@ import {
|
|
|
8
8
|
type PikkuWorkflowGraphConfig,
|
|
9
9
|
type PikkuWorkflowGraphResult,
|
|
10
10
|
} from '@pikku/core/workflow'
|
|
11
|
-
import type { PikkuWorkflowWire,
|
|
11
|
+
import type { PikkuWorkflowWire, WorkflowStepOptions } from '@pikku/core/workflow'
|
|
12
|
+
import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario'
|
|
12
13
|
|
|
13
14
|
export { WorkflowCancelledException }
|
|
14
|
-
import type { PikkuFunctionSessionless, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
15
|
+
import type { PikkuFunctionSessionless, PikkuFunctionConfig, WiredServices } from '../function/pikku-function-types.gen.js'
|
|
15
16
|
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.d.js'
|
|
16
17
|
import type { FlattenedWorkflowMap } from './pikku-workflow-map.gen.d.js'
|
|
17
18
|
import type { AgentMap as FlattenedAgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
@@ -45,18 +46,12 @@ export interface TypedWorkflow extends PikkuWorkflowWire {
|
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
/**
|
|
48
|
-
* The typed half of a scenario wire: `
|
|
49
|
-
*
|
|
50
|
-
*
|
|
49
|
+
* The typed half of a scenario wire: `given`/`when`/`then`, narrowed to the
|
|
50
|
+
* names declared by `pikkuScenarioStep` in this project. `given` and `when`
|
|
51
|
+
* differ only in the prose the reporter renders; `then` additionally makes the
|
|
52
|
+
* step's bindings witnesses rather than alternatives.
|
|
51
53
|
*/
|
|
52
54
|
export interface TypedScenarioSteps {
|
|
53
|
-
step<K extends keyof FlattenedScenarioStepMap>(
|
|
54
|
-
stepName: string,
|
|
55
|
-
stepFunc: K,
|
|
56
|
-
data?: FlattenedScenarioStepMap[K]['input'],
|
|
57
|
-
options?: ScenarioStepOptions
|
|
58
|
-
): Promise<FlattenedScenarioStepMap[K]['output']>
|
|
59
|
-
|
|
60
55
|
given<K extends keyof FlattenedScenarioStepMap>(
|
|
61
56
|
stepName: string,
|
|
62
57
|
stepFunc: K,
|
|
@@ -79,8 +74,9 @@ export interface TypedScenarioSteps {
|
|
|
79
74
|
): Promise<FlattenedScenarioStepMap[K]['output']>
|
|
80
75
|
}
|
|
81
76
|
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
/** `Out` types `scenario.context`. */
|
|
78
|
+
export type TypedScenario<Out = unknown> = TypedWorkflow &
|
|
79
|
+
Omit<PikkuScenarioWire<Out>, keyof PikkuWorkflowWire | keyof TypedScenarioSteps> &
|
|
84
80
|
TypedScenarioSteps
|
|
85
81
|
|
|
86
82
|
import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
@@ -94,10 +90,16 @@ export type PikkuFunctionWorkflow<
|
|
|
94
90
|
Out = never
|
|
95
91
|
> = PikkuFunctionSessionless<In, Out, 'workflow'>
|
|
96
92
|
|
|
93
|
+
/**
|
|
94
|
+
* `Ctx` types `scenario.context`, defaulting to the body's own output. A hook
|
|
95
|
+
* returns void but shares the scenario's context, so it passes that scenario's
|
|
96
|
+
* output here instead.
|
|
97
|
+
*/
|
|
97
98
|
export type PikkuFunctionScenario<
|
|
98
99
|
In = unknown,
|
|
99
|
-
Out = never
|
|
100
|
-
|
|
100
|
+
Out = never,
|
|
101
|
+
Ctx = Out
|
|
102
|
+
> = PikkuFunctionSessionless<In, Out, 'scenario' | 'actors', WiredServices, Ctx>
|
|
101
103
|
|
|
102
104
|
export type PikkuWorkflowConfigWithSchema<
|
|
103
105
|
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
@@ -178,14 +180,15 @@ export type PikkuScenarioConfigWithSchema<
|
|
|
178
180
|
* on the ladder. Throwing skips the body and fails the run; `after` still
|
|
179
181
|
* runs.
|
|
180
182
|
*/
|
|
181
|
-
before?: PikkuScenarioHook<InputSchema>
|
|
183
|
+
before?: PikkuScenarioHook<InputSchema, OutputSchema>
|
|
182
184
|
/**
|
|
183
185
|
* Always runs after the scenario body, in a `finally`, whether it passed or
|
|
184
186
|
* failed. Throwing fails a run that would otherwise have passed; on an
|
|
185
187
|
* already-failed run it attaches as the `cause` and never replaces the
|
|
186
|
-
* original error.
|
|
188
|
+
* original error. Reads `scenario.context` for whatever the body managed to
|
|
189
|
+
* record before it stopped.
|
|
187
190
|
*/
|
|
188
|
-
after?: PikkuScenarioHook<InputSchema>
|
|
191
|
+
after?: PikkuScenarioHook<InputSchema, OutputSchema>
|
|
189
192
|
/**
|
|
190
193
|
* Why this scenario is held out of a default run, stated where the scenario
|
|
191
194
|
* is. The scenario still appears in the plan and is reported as skipped
|
|
@@ -197,13 +200,16 @@ export type PikkuScenarioConfigWithSchema<
|
|
|
197
200
|
|
|
198
201
|
/**
|
|
199
202
|
* A scenario lifecycle hook: the scenario's own `(services, data, wire)`
|
|
200
|
-
* signature with its result discarded.
|
|
203
|
+
* signature with its result discarded. `OutputSchema` types
|
|
204
|
+
* `scenario.context` while the return type stays `void`.
|
|
201
205
|
*/
|
|
202
206
|
export type PikkuScenarioHook<
|
|
203
|
-
InputSchema extends StandardSchemaV1 | undefined = undefined
|
|
207
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
208
|
+
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
204
209
|
> = PikkuFunctionScenario<
|
|
205
210
|
InputSchema extends StandardSchemaV1 ? InferSchemaOutput<InputSchema> : unknown,
|
|
206
|
-
void
|
|
211
|
+
void,
|
|
212
|
+
OutputSchema extends StandardSchemaV1 ? InferSchemaOutput<OutputSchema> : unknown
|
|
207
213
|
>
|
|
208
214
|
|
|
209
215
|
/**
|
|
@@ -211,9 +217,9 @@ export type PikkuScenarioHook<
|
|
|
211
217
|
* registered, so this exists purely to give an inline hook a call site to be
|
|
212
218
|
* contextually typed from, the way every other pikku primitive is.
|
|
213
219
|
*/
|
|
214
|
-
export function pikkuScenarioHook<In = unknown>(
|
|
215
|
-
hook: PikkuFunctionScenario<In, void>
|
|
216
|
-
): PikkuFunctionScenario<In, void> {
|
|
220
|
+
export function pikkuScenarioHook<In = unknown, Ctx = unknown>(
|
|
221
|
+
hook: PikkuFunctionScenario<In, void, Ctx>
|
|
222
|
+
): PikkuFunctionScenario<In, void, Ctx> {
|
|
217
223
|
return hook
|
|
218
224
|
}
|
|
219
225
|
|
|
@@ -331,7 +337,7 @@ export type PikkuScenarioStepConfigWithSchema<
|
|
|
331
337
|
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
332
338
|
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
333
339
|
> = {
|
|
334
|
-
/** Registered name — this is the string `scenario.
|
|
340
|
+
/** Registered name — this is the string `scenario.given()` references. */
|
|
335
341
|
name: string
|
|
336
342
|
/**
|
|
337
343
|
* What this step does, for the console and for whoever reads the source. It
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.103
|
|
3
3
|
*/
|
|
4
|
-
import { pikkuState } from '@pikku/core/
|
|
4
|
+
import { pikkuState } from '@pikku/core/ecosystem';
|
|
5
5
|
const workflowsMeta = {};
|
|
6
6
|
pikkuState('@pikku/addon-mindee', 'workflows', 'meta', workflowsMeta);
|
|
7
7
|
//# sourceMappingURL=pikku-workflow-wirings-meta.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-workflow-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pikku-workflow-wirings-meta.gen.js","sourceRoot":"","sources":["../../../.pikku/workflow/pikku-workflow-wirings-meta.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGlD,MAAM,aAAa,GAAyB,EAAE,CAAA;AAE9C,UAAU,CAAC,qBAAqB,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.103
|
|
3
3
|
*/
|
|
4
|
-
import { pikkuState } from '@pikku/core/
|
|
4
|
+
import { pikkuState } from '@pikku/core/ecosystem'
|
|
5
5
|
import type { WorkflowsRuntimeMeta } from '@pikku/core/workflow/types'
|
|
6
6
|
|
|
7
7
|
const workflowsMeta: WorkflowsRuntimeMeta = {}
|
|
@@ -10,7 +10,7 @@ export declare const invoicePredict: import("#pikku").PikkuFunctionConfig<{
|
|
|
10
10
|
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
11
11
|
document?: string | undefined;
|
|
12
12
|
filename?: string | undefined;
|
|
13
|
-
}, Record<string, unknown>, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunction<{
|
|
13
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").WiredServices, unknown> | import("#pikku").PikkuFunction<{
|
|
14
14
|
document?: string | undefined;
|
|
15
15
|
filename?: string | undefined;
|
|
16
16
|
}, Record<string, unknown>, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>;
|
|
@@ -10,7 +10,7 @@ export declare const receiptPredict: import("#pikku").PikkuFunctionConfig<{
|
|
|
10
10
|
}, Record<string, unknown>, "rpc" | "session", import("#pikku").PikkuFunctionSessionless<{
|
|
11
11
|
document?: string | undefined;
|
|
12
12
|
filename?: string | undefined;
|
|
13
|
-
}, Record<string, unknown>, "rpc" | "session", import("#pikku").WiredServices> | import("#pikku").PikkuFunction<{
|
|
13
|
+
}, Record<string, unknown>, "rpc" | "session", import("#pikku").WiredServices, unknown> | import("#pikku").PikkuFunction<{
|
|
14
14
|
document?: string | undefined;
|
|
15
15
|
filename?: string | undefined;
|
|
16
16
|
}, Record<string, unknown>, "rpc" | "session", import("#pikku").WiredServices>, undefined, undefined>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
CoreConfig,
|
|
3
|
+
CoreServices,
|
|
4
|
+
CoreSingletonServices,
|
|
5
|
+
CoreUserSession,
|
|
6
|
+
} from '@pikku/core'
|
|
7
|
+
import type { MindeeService } from '../src/mindee-api.service.js'
|
|
8
|
+
|
|
9
|
+
export interface Config extends CoreConfig {}
|
|
10
|
+
|
|
11
|
+
export interface UserSession extends CoreUserSession {}
|
|
12
|
+
|
|
13
|
+
export interface SingletonServices extends CoreSingletonServices<Config> {
|
|
14
|
+
mindee: MindeeService
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface Services extends CoreServices<SingletonServices> {}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/addon-mindee",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
|
-
"#pikku": "
|
|
7
|
-
"#pikku/*": "
|
|
6
|
+
"#pikku": "./dist/.pikku/pikku-types.gen.js",
|
|
7
|
+
"#pikku/*": "./dist/.pikku/*"
|
|
8
8
|
},
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
"scripts": {
|
|
24
24
|
"prepublishOnly": "yarn build",
|
|
25
25
|
"prebuild": "pikku all",
|
|
26
|
-
"build": "tsc && cp -r .pikku dist/",
|
|
26
|
+
"build": "tsc && cp -r .pikku types dist/",
|
|
27
27
|
"pikku": "pikku all"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@pikku/core": "^0.12.
|
|
30
|
+
"@pikku/core": "^0.12.83",
|
|
31
31
|
"zod": "^4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@pikku/cli": "^0.12.
|
|
35
|
-
"@pikku/core": "^0.12.
|
|
34
|
+
"@pikku/cli": "^0.12.103",
|
|
35
|
+
"@pikku/core": "^0.12.83",
|
|
36
36
|
"typescript": "^5.7.2",
|
|
37
37
|
"zod": "^4"
|
|
38
38
|
}
|