@pikku/addon-filemaker 0.0.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/README.md +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +234 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +154 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +22 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +22 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +175 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +183 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +10 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +41 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +75 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_filemaker.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordDuplicateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordDuplicateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordEditInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordEditOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordFindInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordFindOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordListInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordListOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordPerformScriptInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/RecordPerformScriptOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_FILEMAKER_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/filemaker-api.service.d.ts +10 -0
- package/dist/src/filemaker-api.service.d.ts.map +1 -0
- package/dist/src/filemaker-api.service.js +149 -0
- package/dist/src/filemaker-api.service.js.map +1 -0
- package/dist/src/filemaker.credential.d.ts +5 -0
- package/dist/src/filemaker.credential.d.ts.map +1 -0
- package/dist/src/filemaker.credential.js +13 -0
- package/dist/src/filemaker.credential.js.map +1 -0
- package/dist/src/filemaker.types.d.ts +7 -0
- package/dist/src/filemaker.types.d.ts.map +1 -0
- package/dist/src/filemaker.types.js +8 -0
- package/dist/src/filemaker.types.js.map +1 -0
- package/dist/src/filemaker.variable.d.ts +5 -0
- package/dist/src/filemaker.variable.d.ts.map +1 -0
- package/dist/src/filemaker.variable.js +11 -0
- package/dist/src/filemaker.variable.js.map +1 -0
- package/dist/src/functions/recordCreate.function.d.ts +21 -0
- package/dist/src/functions/recordCreate.function.d.ts.map +1 -0
- package/dist/src/functions/recordCreate.function.js +17 -0
- package/dist/src/functions/recordCreate.function.js.map +1 -0
- package/dist/src/functions/recordDelete.function.d.ts +21 -0
- package/dist/src/functions/recordDelete.function.d.ts.map +1 -0
- package/dist/src/functions/recordDelete.function.js +17 -0
- package/dist/src/functions/recordDelete.function.js.map +1 -0
- package/dist/src/functions/recordDuplicate.function.d.ts +21 -0
- package/dist/src/functions/recordDuplicate.function.d.ts.map +1 -0
- package/dist/src/functions/recordDuplicate.function.js +17 -0
- package/dist/src/functions/recordDuplicate.function.js.map +1 -0
- package/dist/src/functions/recordEdit.function.d.ts +29 -0
- package/dist/src/functions/recordEdit.function.d.ts.map +1 -0
- package/dist/src/functions/recordEdit.function.js +19 -0
- package/dist/src/functions/recordEdit.function.js.map +1 -0
- package/dist/src/functions/recordFind.function.d.ts +29 -0
- package/dist/src/functions/recordFind.function.d.ts.map +1 -0
- package/dist/src/functions/recordFind.function.js +19 -0
- package/dist/src/functions/recordFind.function.js.map +1 -0
- package/dist/src/functions/recordGet.function.d.ts +21 -0
- package/dist/src/functions/recordGet.function.d.ts.map +1 -0
- package/dist/src/functions/recordGet.function.js +17 -0
- package/dist/src/functions/recordGet.function.js.map +1 -0
- package/dist/src/functions/recordList.function.d.ts +25 -0
- package/dist/src/functions/recordList.function.d.ts.map +1 -0
- package/dist/src/functions/recordList.function.js +18 -0
- package/dist/src/functions/recordList.function.js.map +1 -0
- package/dist/src/functions/recordPerformScript.function.d.ts +25 -0
- package/dist/src/functions/recordPerformScript.function.d.ts.map +1 -0
- package/dist/src/functions/recordPerformScript.function.js +18 -0
- package/dist/src/functions/recordPerformScript.function.js.map +1 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +9 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { LocalMetaService } from '@pikku/core/services/local-meta'
|
|
5
|
+
|
|
6
|
+
export class PikkuMetaService extends LocalMetaService {
|
|
7
|
+
constructor() {
|
|
8
|
+
super('/home/runner/work/addons/addons/packages/database/filemaker/.pikku')
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
|
+
import type { Services } from '../types/application-types.d.js';
|
|
6
|
+
export declare const requiredSingletonServices: {
|
|
7
|
+
readonly agentRunService: false;
|
|
8
|
+
readonly aiAgentRunner: false;
|
|
9
|
+
readonly aiRunState: false;
|
|
10
|
+
readonly aiStorage: false;
|
|
11
|
+
readonly audit: false;
|
|
12
|
+
readonly auditLog: false;
|
|
13
|
+
readonly config: true;
|
|
14
|
+
readonly content: false;
|
|
15
|
+
readonly credentialService: false;
|
|
16
|
+
readonly deploymentService: false;
|
|
17
|
+
readonly emailService: false;
|
|
18
|
+
readonly eventHub: false;
|
|
19
|
+
readonly filemaker: false;
|
|
20
|
+
readonly jwt: false;
|
|
21
|
+
readonly logger: true;
|
|
22
|
+
readonly metaService: false;
|
|
23
|
+
readonly queueService: false;
|
|
24
|
+
readonly schedulerService: false;
|
|
25
|
+
readonly schema: true;
|
|
26
|
+
readonly secrets: true;
|
|
27
|
+
readonly sessionStore: false;
|
|
28
|
+
readonly variables: true;
|
|
29
|
+
readonly workflowRunService: false;
|
|
30
|
+
readonly workflowService: false;
|
|
31
|
+
};
|
|
32
|
+
export declare const requiredWireServices: {};
|
|
33
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
|
|
34
|
+
export type RequiredWireServices = Partial<Services>;
|
|
35
|
+
//# sourceMappingURL=pikku-services.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;CAyB5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Singleton services map: true if required, false if available but unused
|
|
2
|
+
export const requiredSingletonServices = {
|
|
3
|
+
'agentRunService': false,
|
|
4
|
+
'aiAgentRunner': false,
|
|
5
|
+
'aiRunState': false,
|
|
6
|
+
'aiStorage': false,
|
|
7
|
+
'audit': false,
|
|
8
|
+
'auditLog': false,
|
|
9
|
+
'config': true,
|
|
10
|
+
'content': false,
|
|
11
|
+
'credentialService': false,
|
|
12
|
+
'deploymentService': false,
|
|
13
|
+
'emailService': false,
|
|
14
|
+
'eventHub': false,
|
|
15
|
+
'filemaker': false,
|
|
16
|
+
'jwt': false,
|
|
17
|
+
'logger': true,
|
|
18
|
+
'metaService': false,
|
|
19
|
+
'queueService': false,
|
|
20
|
+
'schedulerService': false,
|
|
21
|
+
'schema': true,
|
|
22
|
+
'secrets': true,
|
|
23
|
+
'sessionStore': false,
|
|
24
|
+
'variables': true,
|
|
25
|
+
'workflowRunService': false,
|
|
26
|
+
'workflowService': false,
|
|
27
|
+
};
|
|
28
|
+
// Wire services map: true if required, false if available but unused
|
|
29
|
+
export const requiredWireServices = {};
|
|
30
|
+
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,WAAW,EAAE,KAAK;IAClB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import type { SingletonServices } from '../types/application-types.d.js'
|
|
5
|
+
import type { Services } from '../types/application-types.d.js'
|
|
6
|
+
|
|
7
|
+
// Singleton services map: true if required, false if available but unused
|
|
8
|
+
export const requiredSingletonServices = {
|
|
9
|
+
'agentRunService': false,
|
|
10
|
+
'aiAgentRunner': false,
|
|
11
|
+
'aiRunState': false,
|
|
12
|
+
'aiStorage': false,
|
|
13
|
+
'audit': false,
|
|
14
|
+
'auditLog': false,
|
|
15
|
+
'config': true,
|
|
16
|
+
'content': false,
|
|
17
|
+
'credentialService': false,
|
|
18
|
+
'deploymentService': false,
|
|
19
|
+
'emailService': false,
|
|
20
|
+
'eventHub': false,
|
|
21
|
+
'filemaker': false,
|
|
22
|
+
'jwt': false,
|
|
23
|
+
'logger': true,
|
|
24
|
+
'metaService': false,
|
|
25
|
+
'queueService': false,
|
|
26
|
+
'schedulerService': false,
|
|
27
|
+
'schema': true,
|
|
28
|
+
'secrets': true,
|
|
29
|
+
'sessionStore': false,
|
|
30
|
+
'variables': true,
|
|
31
|
+
'workflowRunService': false,
|
|
32
|
+
'workflowService': false,
|
|
33
|
+
} as const
|
|
34
|
+
|
|
35
|
+
// Wire services map: true if required, false if available but unused
|
|
36
|
+
export const requiredWireServices = {
|
|
37
|
+
} as const
|
|
38
|
+
|
|
39
|
+
// Type exports
|
|
40
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>
|
|
41
|
+
|
|
42
|
+
export type RequiredWireServices = Partial<Services>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
export * from './function/pikku-function-types.gen.js';
|
|
8
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
9
|
+
export * from './console/pikku-node-types.gen.js';
|
|
10
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
11
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
12
|
+
//# sourceMappingURL=pikku-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAGH,cAAc,wCAAwC,CAAA;AAGtD,cAAc,sCAAsC,CAAA;AAGpD,cAAc,mCAAmC,CAAA;AAGjD,cAAc,qCAAqC,CAAA;AAGnD,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
// Core function, middleware, and permission types
|
|
8
|
+
export * from './function/pikku-function-types.gen.js';
|
|
9
|
+
// Trigger wiring types
|
|
10
|
+
export * from './trigger/pikku-trigger-types.gen.js';
|
|
11
|
+
// Node wiring types
|
|
12
|
+
export * from './console/pikku-node-types.gen.js';
|
|
13
|
+
// Secret definition types
|
|
14
|
+
export * from './secrets/pikku-secret-types.gen.js';
|
|
15
|
+
// Addon types
|
|
16
|
+
export * from './addon/pikku-addon-types.gen.js';
|
|
17
|
+
//# sourceMappingURL=pikku-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-types.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,kDAAkD;AAClD,cAAc,wCAAwC,CAAA;AAEtD,uBAAuB;AACvB,cAAc,sCAAsC,CAAA;AAEpD,oBAAoB;AACpB,cAAc,mCAAmC,CAAA;AAEjD,0BAA0B;AAC1B,cAAc,qCAAqC,CAAA;AAEnD,cAAc;AACd,cAAc,kCAAkC,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Main type export hub - re-exports all wiring-specific types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Core function, middleware, and permission types
|
|
9
|
+
export * from './function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
// Trigger wiring types
|
|
12
|
+
export * from './trigger/pikku-trigger-types.gen.js'
|
|
13
|
+
|
|
14
|
+
// Node wiring types
|
|
15
|
+
export * from './console/pikku-node-types.gen.js'
|
|
16
|
+
|
|
17
|
+
// Secret definition types
|
|
18
|
+
export * from './secrets/pikku-secret-types.gen.js'
|
|
19
|
+
|
|
20
|
+
// Addon types
|
|
21
|
+
export * from './addon/pikku-addon-types.gen.js'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreQueueWorker } from '@pikku/core/queue';
|
|
8
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for queue workers that process background jobs.
|
|
11
|
+
*
|
|
12
|
+
* @template In - Input type for the queue job
|
|
13
|
+
* @template Out - Output type for the queue job
|
|
14
|
+
*/
|
|
15
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>;
|
|
16
|
+
/**
|
|
17
|
+
* Registers a queue worker with the Pikku framework.
|
|
18
|
+
* Workers process background jobs from queues.
|
|
19
|
+
*
|
|
20
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
21
|
+
*/
|
|
22
|
+
export declare const wireQueueWorker: (queueWorker: QueueWiring<any, any>) => void;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=pikku-queue-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,eAAe,EAA0C,MAAM,mBAAmB,CAAA;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAElF;;;;;GAKG;AACH,KAAK,WAAW,CAAC,EAAE,EAAE,GAAG,IAAI,eAAe,CAAC,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,SAAS,GAAG,KAAK,CAAC,CAAC,CAAA;AAE5F;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,aAAa,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,SAEjE,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
|
|
9
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for queue workers that process background jobs.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the queue job
|
|
15
|
+
* @template Out - Output type for the queue job
|
|
16
|
+
*/
|
|
17
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers a queue worker with the Pikku framework.
|
|
21
|
+
* Workers process background jobs from queues.
|
|
22
|
+
*
|
|
23
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
24
|
+
*/
|
|
25
|
+
export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
|
|
26
|
+
wireQueueWorkerCore(queueWorker as any)
|
|
27
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type CredentialSchema_filemaker = {
|
|
13
|
+
/** FileMaker API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type RecordCreateInput = {
|
|
17
|
+
database: string;
|
|
18
|
+
layout: string;
|
|
19
|
+
fieldData?: {
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
} | undefined;
|
|
22
|
+
}
|
|
23
|
+
export type RecordCreateOutput = {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
export type RecordDeleteInput = {
|
|
27
|
+
database: string;
|
|
28
|
+
layout: string;
|
|
29
|
+
recordId: string;
|
|
30
|
+
}
|
|
31
|
+
export type RecordDeleteOutput = {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}
|
|
34
|
+
export type RecordDuplicateInput = {
|
|
35
|
+
database: string;
|
|
36
|
+
layout: string;
|
|
37
|
+
recordId: string;
|
|
38
|
+
}
|
|
39
|
+
export type RecordDuplicateOutput = {
|
|
40
|
+
[key: string]: unknown;
|
|
41
|
+
}
|
|
42
|
+
export type RecordEditInput = {
|
|
43
|
+
database: string;
|
|
44
|
+
layout: string;
|
|
45
|
+
recordId: string;
|
|
46
|
+
fieldData?: {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
} | undefined;
|
|
49
|
+
modId?: number | undefined;
|
|
50
|
+
}
|
|
51
|
+
export type RecordEditOutput = {
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
export type RecordFindInput = {
|
|
55
|
+
database: string;
|
|
56
|
+
layout: string;
|
|
57
|
+
query?: {
|
|
58
|
+
[key: string]: unknown;
|
|
59
|
+
}[] | undefined;
|
|
60
|
+
offset?: number | undefined;
|
|
61
|
+
limit?: number | undefined;
|
|
62
|
+
}
|
|
63
|
+
export type RecordFindOutput = {
|
|
64
|
+
[key: string]: unknown;
|
|
65
|
+
}
|
|
66
|
+
export type RecordGetInput = {
|
|
67
|
+
database: string;
|
|
68
|
+
layout: string;
|
|
69
|
+
recordId: string;
|
|
70
|
+
}
|
|
71
|
+
export type RecordGetOutput = {
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
}
|
|
74
|
+
export type RecordListInput = {
|
|
75
|
+
database: string;
|
|
76
|
+
layout: string;
|
|
77
|
+
_offset?: number | undefined;
|
|
78
|
+
_limit?: number | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type RecordListOutput = {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type RecordPerformScriptInput = {
|
|
84
|
+
database: string;
|
|
85
|
+
layout: string;
|
|
86
|
+
scriptName: string;
|
|
87
|
+
"script.param"?: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
export type RecordPerformScriptOutput = {
|
|
90
|
+
[key: string]: unknown;
|
|
91
|
+
}
|
|
92
|
+
export type VariableSchema_FILEMAKER_BASE_URL = "https://filemaker.example.com/fmi/data/v1"
|
|
93
|
+
|
|
94
|
+
interface RPCHandler<I, O> {
|
|
95
|
+
input: I;
|
|
96
|
+
output: O;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type RPCMap = {
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
// No addon packages, use RPCMap directly
|
|
105
|
+
export type FlattenedRPCMap = RPCMap
|
|
106
|
+
|
|
107
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
108
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
109
|
+
? false
|
|
110
|
+
: [T] extends [void | null | undefined]
|
|
111
|
+
? true
|
|
112
|
+
: false
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
116
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
117
|
+
? [name: Name]
|
|
118
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
119
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
120
|
+
|
|
121
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
122
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
123
|
+
? [name: Name]
|
|
124
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
125
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
126
|
+
|
|
127
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
128
|
+
|
|
129
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
type FlattenedAgentMap = AgentMap
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
136
|
+
|
|
137
|
+
interface AIAgentInput {
|
|
138
|
+
message: string
|
|
139
|
+
threadId: string
|
|
140
|
+
resourceId: string
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
144
|
+
name: Name,
|
|
145
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
146
|
+
options?: { startNode?: string }
|
|
147
|
+
) => Promise<{ runId: string }>
|
|
148
|
+
|
|
149
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
150
|
+
name: Name,
|
|
151
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
152
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
153
|
+
|
|
154
|
+
export type TypedWorkflowStatus = (
|
|
155
|
+
workflowName: string,
|
|
156
|
+
runId: string
|
|
157
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
158
|
+
|
|
159
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
160
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
161
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
162
|
+
name: Name,
|
|
163
|
+
input: AIAgentInput
|
|
164
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
165
|
+
|
|
166
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
167
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
168
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
169
|
+
name: Name,
|
|
170
|
+
input: AIAgentInput,
|
|
171
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
172
|
+
) => Promise<void>
|
|
173
|
+
|
|
174
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
175
|
+
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type CredentialSchema_filemaker = {
|
|
13
|
+
/** FileMaker API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type RecordCreateInput = {
|
|
17
|
+
database: string;
|
|
18
|
+
layout: string;
|
|
19
|
+
fieldData?: {
|
|
20
|
+
[key: string]: unknown;
|
|
21
|
+
} | undefined;
|
|
22
|
+
}
|
|
23
|
+
export type RecordCreateOutput = {
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
export type RecordDeleteInput = {
|
|
27
|
+
database: string;
|
|
28
|
+
layout: string;
|
|
29
|
+
recordId: string;
|
|
30
|
+
}
|
|
31
|
+
export type RecordDeleteOutput = {
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
}
|
|
34
|
+
export type RecordDuplicateInput = {
|
|
35
|
+
database: string;
|
|
36
|
+
layout: string;
|
|
37
|
+
recordId: string;
|
|
38
|
+
}
|
|
39
|
+
export type RecordDuplicateOutput = {
|
|
40
|
+
[key: string]: unknown;
|
|
41
|
+
}
|
|
42
|
+
export type RecordEditInput = {
|
|
43
|
+
database: string;
|
|
44
|
+
layout: string;
|
|
45
|
+
recordId: string;
|
|
46
|
+
fieldData?: {
|
|
47
|
+
[key: string]: unknown;
|
|
48
|
+
} | undefined;
|
|
49
|
+
modId?: number | undefined;
|
|
50
|
+
}
|
|
51
|
+
export type RecordEditOutput = {
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
}
|
|
54
|
+
export type RecordFindInput = {
|
|
55
|
+
database: string;
|
|
56
|
+
layout: string;
|
|
57
|
+
query?: {
|
|
58
|
+
[key: string]: unknown;
|
|
59
|
+
}[] | undefined;
|
|
60
|
+
offset?: number | undefined;
|
|
61
|
+
limit?: number | undefined;
|
|
62
|
+
}
|
|
63
|
+
export type RecordFindOutput = {
|
|
64
|
+
[key: string]: unknown;
|
|
65
|
+
}
|
|
66
|
+
export type RecordGetInput = {
|
|
67
|
+
database: string;
|
|
68
|
+
layout: string;
|
|
69
|
+
recordId: string;
|
|
70
|
+
}
|
|
71
|
+
export type RecordGetOutput = {
|
|
72
|
+
[key: string]: unknown;
|
|
73
|
+
}
|
|
74
|
+
export type RecordListInput = {
|
|
75
|
+
database: string;
|
|
76
|
+
layout: string;
|
|
77
|
+
_offset?: number | undefined;
|
|
78
|
+
_limit?: number | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type RecordListOutput = {
|
|
81
|
+
[key: string]: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type RecordPerformScriptInput = {
|
|
84
|
+
database: string;
|
|
85
|
+
layout: string;
|
|
86
|
+
scriptName: string;
|
|
87
|
+
"script.param"?: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
export type RecordPerformScriptOutput = {
|
|
90
|
+
[key: string]: unknown;
|
|
91
|
+
}
|
|
92
|
+
export type VariableSchema_FILEMAKER_BASE_URL = "https://filemaker.example.com/fmi/data/v1"
|
|
93
|
+
|
|
94
|
+
interface RPCHandler<I, O> {
|
|
95
|
+
input: I;
|
|
96
|
+
output: O;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type RPCMap = {
|
|
100
|
+
readonly 'recordList': RPCHandler<RecordListInput, RecordListOutput>,
|
|
101
|
+
readonly 'recordCreate': RPCHandler<RecordCreateInput, RecordCreateOutput>,
|
|
102
|
+
readonly 'recordGet': RPCHandler<RecordGetInput, RecordGetOutput>,
|
|
103
|
+
readonly 'recordDuplicate': RPCHandler<RecordDuplicateInput, RecordDuplicateOutput>,
|
|
104
|
+
readonly 'recordEdit': RPCHandler<RecordEditInput, RecordEditOutput>,
|
|
105
|
+
readonly 'recordDelete': RPCHandler<RecordDeleteInput, RecordDeleteOutput>,
|
|
106
|
+
readonly 'recordFind': RPCHandler<RecordFindInput, RecordFindOutput>,
|
|
107
|
+
readonly 'recordPerformScript': RPCHandler<RecordPerformScriptInput, RecordPerformScriptOutput>,
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
// No addon packages, use RPCMap directly
|
|
113
|
+
export type FlattenedRPCMap = RPCMap
|
|
114
|
+
|
|
115
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
116
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
117
|
+
? false
|
|
118
|
+
: [T] extends [void | null | undefined]
|
|
119
|
+
? true
|
|
120
|
+
: false
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
124
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
125
|
+
? [name: Name]
|
|
126
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
127
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
128
|
+
|
|
129
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
130
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
131
|
+
? [name: Name]
|
|
132
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
133
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
134
|
+
|
|
135
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
136
|
+
|
|
137
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
type FlattenedAgentMap = AgentMap
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
144
|
+
|
|
145
|
+
interface AIAgentInput {
|
|
146
|
+
message: string
|
|
147
|
+
threadId: string
|
|
148
|
+
resourceId: string
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
152
|
+
name: Name,
|
|
153
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
154
|
+
options?: { startNode?: string }
|
|
155
|
+
) => Promise<{ runId: string }>
|
|
156
|
+
|
|
157
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
158
|
+
name: Name,
|
|
159
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
160
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
161
|
+
|
|
162
|
+
export type TypedWorkflowStatus = (
|
|
163
|
+
workflowName: string,
|
|
164
|
+
runId: string
|
|
165
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
166
|
+
|
|
167
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
168
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
169
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
170
|
+
name: Name,
|
|
171
|
+
input: AIAgentInput
|
|
172
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
173
|
+
|
|
174
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
175
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
176
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
177
|
+
name: Name,
|
|
178
|
+
input: AIAgentInput,
|
|
179
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
180
|
+
) => Promise<void>
|
|
181
|
+
|
|
182
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
183
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal';
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
|
|
6
|
+
pikkuState('@pikku/addon-filemaker', 'rpc', 'meta', metaData);
|
|
7
|
+
//# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,wBAAwB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"recordList": "recordList",
|
|
3
|
+
"recordCreate": "recordCreate",
|
|
4
|
+
"recordGet": "recordGet",
|
|
5
|
+
"recordDuplicate": "recordDuplicate",
|
|
6
|
+
"recordEdit": "recordEdit",
|
|
7
|
+
"recordDelete": "recordDelete",
|
|
8
|
+
"recordFind": "recordFind",
|
|
9
|
+
"recordPerformScript": "recordPerformScript"
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
|
|
6
|
+
pikkuState('@pikku/addon-filemaker', 'rpc', 'meta', metaData as Record<string, string>)
|