@pikku/addon-admin 0.12.13 → 0.12.15
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 +2 -1
- package/dist/.pikku/addon/agent/index.d.ts +1 -1
- package/dist/.pikku/addon/agent/index.js +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +3 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +2 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.js +1 -1
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +1 -1
- package/dist/.pikku/addon/auth/index.d.ts +1 -1
- package/dist/.pikku/addon/auth/index.js +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/addon/channel/index.d.ts +1 -1
- package/dist/.pikku/addon/channel/index.js +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/addon/cli/index.d.ts +1 -1
- package/dist/.pikku/addon/cli/index.js +1 -1
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/addon/error/index.d.ts +1 -1
- package/dist/.pikku/addon/error/index.js +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/addon/function/index.d.ts +1 -1
- package/dist/.pikku/addon/function/index.js +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +20 -20
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +20 -20
- package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/addon/http/index.d.ts +1 -1
- package/dist/.pikku/addon/http/index.js +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/addon/mcp/index.d.ts +1 -1
- package/dist/.pikku/addon/mcp/index.js +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/addon/middleware/index.d.ts +1 -1
- package/dist/.pikku/addon/middleware/index.js +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/addon/pikku-local-services.gen.js +5 -2
- package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +79 -142
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +79 -142
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +79 -142
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/index.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/schemas/GetAuditsOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/GetQueueHistoryOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/IncomingWebhookReceiptRecord.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/ListIncomingWebhookReceiptsOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/ScopeListRolesOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceDisableOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceEnableOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceListOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceReconcileOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/TriggerSourceTeardownOutput.schema.json +1 -1
- package/dist/.pikku/addon/scopes/index.d.ts +1 -1
- package/dist/.pikku/addon/scopes/index.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +1 -1
- package/dist/.pikku/addon/secrets/index.d.ts +1 -1
- package/dist/.pikku/addon/secrets/index.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/addon/setup/index.d.ts +1 -1
- package/dist/.pikku/addon/setup/index.js +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/trigger/index.d.ts +1 -1
- package/dist/.pikku/addon/trigger/index.js +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +5 -2
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +3 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -1
- package/dist/.pikku/addon/utils/index.d.ts +1 -1
- package/dist/.pikku/addon/utils/index.js +1 -1
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/index.d.ts +1 -1
- package/dist/.pikku/addon/variables/index.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/package.json +12 -9
|
@@ -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.196
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* The services a locally run process of this app boots on top of its own
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* What gates them is baked in from the last codegen, for a caller that has no
|
|
11
11
|
* inspector to ask. Regenerate rather than edit.
|
|
12
12
|
*/
|
|
13
|
-
import { IncomingWebhookService, InMemoryAgentRunStateService,
|
|
13
|
+
import { IncomingWebhookService, InMemoryAgentRunStateService, InMemoryTriggerSourceStore, LocalEmailService, QueueWebhookService, } from '@pikku/core/services';
|
|
14
|
+
import { InMemoryQueueService } from '@pikku/core/services/in-memory-queue';
|
|
15
|
+
import { InMemoryTriggerService } from '@pikku/core/services/in-memory-trigger';
|
|
16
|
+
import { InMemoryWorkflowService } from '@pikku/core/services/in-memory-workflow';
|
|
14
17
|
const stderr = { warn: (message) => console.error(message) };
|
|
15
18
|
export const createLocalServices = async (_config, extras = {}, options = {}) => {
|
|
16
19
|
const { kysely, ...hostServices } = extras;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-local-services.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-local-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;GAQG;AACH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,
|
|
1
|
+
{"version":3,"file":"pikku-local-services.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-local-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;GAQG;AACH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AAOjF,MAAM,MAAM,GAAe,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAA;AAuBxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACtC,OAAuB,EACvB,MAAM,GAAwB,EAAE,EAChC,OAAO,GAAyB,EAAE,EACJ,EAAE;IAChC,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,EAAE,GAAG,MAAM,CAAA;IAC1C,IAAI,MAAM,EAAE,CAAC;QACX,yEAAyE;QACzE,qEAAqE;QACrE,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,IAAI,MAAM,CAAA;QAC3C,UAAU,CAAC,IAAI,CACb,2MAA2M,CAC5M,CAAA;IACH,CAAC;IACD,MAAM,YAAY,GAAG,IAAI,oBAAoB,EAAE,CAAA;IAC/C,MAAM,eAAe,GAAG,IAAI,uBAAuB,EAAE,CAAA;IACrD,MAAM,kBAAkB,GAAG,IAAI,0BAA0B,EAAE,CAAA;IAE3D,OAAO;QACL,YAAY,EAAE,IAAI,iBAAiB,EAAE;QACrC,YAAY;QACZ,cAAc,EAAE,IAAI,mBAAmB,CAAC,YAAY,CAAC;QACrD,sBAAsB,EAAE,IAAI,sBAAsB,CAAC,YAAY,CAAC;QAChE,eAAe;QACf,kBAAkB,EAAE,eAAe;QACnC,cAAc,EAAE,IAAI,sBAAsB,EAAE;QAC5C,kBAAkB;QAClB,YAAY,EAAE,SAAS;QACvB,aAAa,EAAE,IAAI,4BAA4B,EAAE;QACjD,eAAe,EAAE,SAAS;QAC1B,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7B,GAAG,YAAY;KAChB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,152 +1,89 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.196
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
import type { CredentialUserEntry } from '../../../src/functions/credential-list-users.function.js'
|
|
10
|
-
import type { FlagSubject, DeclaredFlag } from '@pikku/core/flag'
|
|
11
|
-
import type { FlagListRow } from '../../../src/lib/flag-rows.js'
|
|
12
|
-
import type { FlagOverrideRow } from '@pikku/core/services'
|
|
13
|
-
import type { QueueInspection, QueueJobCounts, QueueJobRecord, QueueJobStatus } from '@pikku/core/queue'
|
|
14
|
-
import type { ScheduledTaskRuns } from '@pikku/core/scheduler'
|
|
15
|
-
import type { IncomingWebhookReceiptRecord } from '@pikku/core/services'
|
|
16
|
-
import type { DeclaredScopeEntry } from '../../../src/functions/scope-list-declared.function.js'
|
|
17
|
-
import type { Role } from '@pikku/core/services'
|
|
18
|
-
import type { WebhookSourceOutcome } from '@pikku/core/trigger'
|
|
19
|
-
import type { WebhookSourceState } from '@pikku/core/trigger'
|
|
20
|
-
import type { TriggerSourceRow, DeclaredTriggerSource } from '@pikku/core/services'
|
|
21
9
|
import type { GetAuditFiltersOutput } from '../../../src/functions/get-audit-filters.function.js'
|
|
22
10
|
import type { GetAuditsInput, GetAuditsOutput } from '../../../src/functions/get-audits.function.js'
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export type
|
|
33
|
-
export type
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
38
|
-
export type
|
|
39
|
-
export type
|
|
40
|
-
export type
|
|
41
|
-
export type
|
|
42
|
-
export type
|
|
43
|
-
export type
|
|
44
|
-
export type
|
|
45
|
-
export type
|
|
46
|
-
export type
|
|
47
|
-
export type
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
52
|
-
export type
|
|
53
|
-
export type
|
|
54
|
-
export type
|
|
55
|
-
export type
|
|
56
|
-
export type
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
59
|
-
export type
|
|
60
|
-
export type
|
|
61
|
-
export type
|
|
62
|
-
export type
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export type
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export type
|
|
86
|
-
export type
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
export type
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export type
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export type
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export type
|
|
99
|
-
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
100
|
-
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
101
|
-
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
102
|
-
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
103
|
-
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
104
|
-
export type ScopeDeleteRoleInput = { name: string; }
|
|
105
|
-
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
106
|
-
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
107
|
-
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
108
|
-
export type ScopeListUserRolesInput = { userId: string; }
|
|
109
|
-
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
110
|
-
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
111
|
-
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
112
|
-
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
113
|
-
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
114
|
-
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
115
|
-
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
116
|
-
export type SendSignInLinkInput = {
|
|
117
|
-
email: string;
|
|
118
|
-
callbackURL?: string | undefined;
|
|
119
|
-
}
|
|
120
|
-
export type SendSignInLinkOutput = {
|
|
121
|
-
success: boolean;
|
|
122
|
-
}
|
|
123
|
-
export type SetUserBannedInput = {
|
|
124
|
-
userId: string;
|
|
125
|
-
banned: boolean;
|
|
126
|
-
reason?: string | undefined;
|
|
127
|
-
expiresInSeconds?: number | undefined;
|
|
128
|
-
}
|
|
129
|
-
export type SetUserBannedOutput = {
|
|
130
|
-
success: boolean;
|
|
131
|
-
}
|
|
132
|
-
export type SetUserPasswordInput = {
|
|
133
|
-
userId: string;
|
|
134
|
-
newPassword: string;
|
|
135
|
-
}
|
|
136
|
-
export type SetUserPasswordOutput = {
|
|
137
|
-
success: boolean;
|
|
138
|
-
}
|
|
139
|
-
export type TriggerSourceDisableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
|
|
140
|
-
export type TriggerSourceDisableOutput = { outcome: WebhookSourceOutcome; }
|
|
141
|
-
export type TriggerSourceEnableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
|
|
142
|
-
export type TriggerSourceEnableOutput = { outcome: WebhookSourceOutcome; }
|
|
143
|
-
export type TriggerSourceForgetInput = { name: string; }
|
|
144
|
-
export type TriggerSourceForgetOutput = { success: boolean; }
|
|
145
|
-
export type TriggerSourceListOutput = { sources: TriggerSourceRow[]; }
|
|
146
|
-
export type TriggerSourceReconcileInput = { baseUrl: string; labelPrefix: string; }
|
|
147
|
-
export type TriggerSourceReconcileOutput = { outcomes: WebhookSourceOutcome[]; }
|
|
148
|
-
export type TriggerSourceTeardownInput = { names: string[]; baseUrl: string; labelPrefix: string; }
|
|
149
|
-
export type TriggerSourceTeardownOutput = { outcomes: WebhookSourceOutcome[]; }
|
|
11
|
+
import type { IncomingWebhookReceiptRecord } from '@pikku/core/services'
|
|
12
|
+
import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
|
|
13
|
+
export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
|
|
14
|
+
export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
|
|
15
|
+
export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
|
|
16
|
+
export type CredentialDeleteOutput = __PikkuCustomTypes.CredentialDeleteOutput
|
|
17
|
+
export type CredentialGetInput = __PikkuCustomTypes.CredentialGetInput
|
|
18
|
+
export type CredentialGetOutput = __PikkuCustomTypes.CredentialGetOutput
|
|
19
|
+
export type CredentialListUsersOutput = __PikkuCustomTypes.CredentialListUsersOutput
|
|
20
|
+
export type CredentialSetInput = __PikkuCustomTypes.CredentialSetInput
|
|
21
|
+
export type CredentialSetOutput = __PikkuCustomTypes.CredentialSetOutput
|
|
22
|
+
export type CredentialStatusInput = __PikkuCustomTypes.CredentialStatusInput
|
|
23
|
+
export type CredentialStatusOutput = __PikkuCustomTypes.CredentialStatusOutput
|
|
24
|
+
export type CredentialUsersInput = __PikkuCustomTypes.CredentialUsersInput
|
|
25
|
+
export type CredentialUsersOutput = __PikkuCustomTypes.CredentialUsersOutput
|
|
26
|
+
export type FlagClearOverrideInput = __PikkuCustomTypes.FlagClearOverrideInput
|
|
27
|
+
export type FlagClearOverrideOutput = __PikkuCustomTypes.FlagClearOverrideOutput
|
|
28
|
+
export type FlagListOutput = __PikkuCustomTypes.FlagListOutput
|
|
29
|
+
export type FlagOverridesInput = __PikkuCustomTypes.FlagOverridesInput
|
|
30
|
+
export type FlagOverridesOutput = __PikkuCustomTypes.FlagOverridesOutput
|
|
31
|
+
export type FlagPruneOutput = __PikkuCustomTypes.FlagPruneOutput
|
|
32
|
+
export type FlagSetEnabledInput = __PikkuCustomTypes.FlagSetEnabledInput
|
|
33
|
+
export type FlagSetEnabledOutput = __PikkuCustomTypes.FlagSetEnabledOutput
|
|
34
|
+
export type FlagSetOverrideInput = __PikkuCustomTypes.FlagSetOverrideInput
|
|
35
|
+
export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
|
|
36
|
+
export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
|
|
37
|
+
export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
|
|
38
|
+
export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
|
|
39
|
+
export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
|
|
40
|
+
export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
|
|
41
|
+
export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
|
|
42
|
+
export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
|
|
43
|
+
export type ListIncomingWebhookReceiptsInput = __PikkuCustomTypes.ListIncomingWebhookReceiptsInput
|
|
44
|
+
export type ListIncomingWebhookReceiptsOutput = __PikkuCustomTypes.ListIncomingWebhookReceiptsOutput
|
|
45
|
+
export type ListUsersInput = __PikkuCustomTypes.ListUsersInput
|
|
46
|
+
export type ListUsersOutput = __PikkuCustomTypes.ListUsersOutput
|
|
47
|
+
export type PingOutput = __PikkuCustomTypes.PingOutput
|
|
48
|
+
export type RemoveUserInput = __PikkuCustomTypes.RemoveUserInput
|
|
49
|
+
export type RemoveUserOutput = __PikkuCustomTypes.RemoveUserOutput
|
|
50
|
+
export type RevokeUserSessionsInput = __PikkuCustomTypes.RevokeUserSessionsInput
|
|
51
|
+
export type RevokeUserSessionsOutput = __PikkuCustomTypes.RevokeUserSessionsOutput
|
|
52
|
+
export type ScopeAddScopeToUserInput = __PikkuCustomTypes.ScopeAddScopeToUserInput
|
|
53
|
+
export type ScopeAddScopeToUserOutput = __PikkuCustomTypes.ScopeAddScopeToUserOutput
|
|
54
|
+
export type ScopeAddUserToRoleInput = __PikkuCustomTypes.ScopeAddUserToRoleInput
|
|
55
|
+
export type ScopeAddUserToRoleOutput = __PikkuCustomTypes.ScopeAddUserToRoleOutput
|
|
56
|
+
export type ScopeCreateRoleInput = __PikkuCustomTypes.ScopeCreateRoleInput
|
|
57
|
+
export type ScopeCreateRoleOutput = __PikkuCustomTypes.ScopeCreateRoleOutput
|
|
58
|
+
export type ScopeDeleteRoleInput = __PikkuCustomTypes.ScopeDeleteRoleInput
|
|
59
|
+
export type ScopeDeleteRoleOutput = __PikkuCustomTypes.ScopeDeleteRoleOutput
|
|
60
|
+
export type ScopeListDeclaredOutput = __PikkuCustomTypes.ScopeListDeclaredOutput
|
|
61
|
+
export type ScopeListRolesOutput = __PikkuCustomTypes.ScopeListRolesOutput
|
|
62
|
+
export type ScopeListUserRolesInput = __PikkuCustomTypes.ScopeListUserRolesInput
|
|
63
|
+
export type ScopeListUserRolesOutput = __PikkuCustomTypes.ScopeListUserRolesOutput
|
|
64
|
+
export type ScopeRemoveScopeFromUserInput = __PikkuCustomTypes.ScopeRemoveScopeFromUserInput
|
|
65
|
+
export type ScopeRemoveScopeFromUserOutput = __PikkuCustomTypes.ScopeRemoveScopeFromUserOutput
|
|
66
|
+
export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFromRoleInput
|
|
67
|
+
export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
|
|
68
|
+
export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
|
|
69
|
+
export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
|
|
70
|
+
export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
|
|
71
|
+
export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
|
|
72
|
+
export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
|
|
73
|
+
export type SetUserBannedOutput = __PikkuCustomTypes.SetUserBannedOutput
|
|
74
|
+
export type SetUserPasswordInput = __PikkuCustomTypes.SetUserPasswordInput
|
|
75
|
+
export type SetUserPasswordOutput = __PikkuCustomTypes.SetUserPasswordOutput
|
|
76
|
+
export type TriggerSourceDisableInput = __PikkuCustomTypes.TriggerSourceDisableInput
|
|
77
|
+
export type TriggerSourceDisableOutput = __PikkuCustomTypes.TriggerSourceDisableOutput
|
|
78
|
+
export type TriggerSourceEnableInput = __PikkuCustomTypes.TriggerSourceEnableInput
|
|
79
|
+
export type TriggerSourceEnableOutput = __PikkuCustomTypes.TriggerSourceEnableOutput
|
|
80
|
+
export type TriggerSourceForgetInput = __PikkuCustomTypes.TriggerSourceForgetInput
|
|
81
|
+
export type TriggerSourceForgetOutput = __PikkuCustomTypes.TriggerSourceForgetOutput
|
|
82
|
+
export type TriggerSourceListOutput = __PikkuCustomTypes.TriggerSourceListOutput
|
|
83
|
+
export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconcileInput
|
|
84
|
+
export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
|
|
85
|
+
export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
|
|
86
|
+
export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
|
|
150
87
|
|
|
151
88
|
interface RPCHandler<I, O> {
|
|
152
89
|
input: I;
|
|
@@ -219,7 +156,7 @@ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
|
219
156
|
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
220
157
|
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
221
158
|
|
|
222
|
-
export type
|
|
159
|
+
export type RPCMesh = <Name extends keyof FlattenedRPCMap>(
|
|
223
160
|
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
224
161
|
? [name: Name]
|
|
225
162
|
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
@@ -267,5 +204,5 @@ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
|
267
204
|
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
268
205
|
) => Promise<void>
|
|
269
206
|
|
|
270
|
-
export type TypedPikkuRPC = PikkuRPC<RPCInvoke,
|
|
207
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCMesh, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
271
208
|
|
|
@@ -1,152 +1,89 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.196
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
import type { CredentialUserEntry } from '../../../src/functions/credential-list-users.function.js'
|
|
10
|
-
import type { FlagSubject, DeclaredFlag } from '@pikku/core/flag'
|
|
11
|
-
import type { FlagListRow } from '../../../src/lib/flag-rows.js'
|
|
12
|
-
import type { FlagOverrideRow } from '@pikku/core/services'
|
|
13
|
-
import type { QueueInspection, QueueJobCounts, QueueJobRecord, QueueJobStatus } from '@pikku/core/queue'
|
|
14
|
-
import type { ScheduledTaskRuns } from '@pikku/core/scheduler'
|
|
15
|
-
import type { IncomingWebhookReceiptRecord } from '@pikku/core/services'
|
|
16
|
-
import type { DeclaredScopeEntry } from '../../../src/functions/scope-list-declared.function.js'
|
|
17
|
-
import type { Role } from '@pikku/core/services'
|
|
18
|
-
import type { WebhookSourceOutcome } from '@pikku/core/trigger'
|
|
19
|
-
import type { WebhookSourceState } from '@pikku/core/trigger'
|
|
20
|
-
import type { TriggerSourceRow, DeclaredTriggerSource } from '@pikku/core/services'
|
|
21
9
|
import type { GetAuditFiltersOutput } from '../../../src/functions/get-audit-filters.function.js'
|
|
22
10
|
import type { GetAuditsInput, GetAuditsOutput } from '../../../src/functions/get-audits.function.js'
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export type
|
|
33
|
-
export type
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
38
|
-
export type
|
|
39
|
-
export type
|
|
40
|
-
export type
|
|
41
|
-
export type
|
|
42
|
-
export type
|
|
43
|
-
export type
|
|
44
|
-
export type
|
|
45
|
-
export type
|
|
46
|
-
export type
|
|
47
|
-
export type
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
52
|
-
export type
|
|
53
|
-
export type
|
|
54
|
-
export type
|
|
55
|
-
export type
|
|
56
|
-
export type
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
59
|
-
export type
|
|
60
|
-
export type
|
|
61
|
-
export type
|
|
62
|
-
export type
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export type
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
export type
|
|
86
|
-
export type
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
export type
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
export type
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export type
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export type
|
|
99
|
-
export type ScopeAddScopeToUserOutput = { success: boolean; }
|
|
100
|
-
export type ScopeAddUserToRoleInput = { userId: string; role: string; }
|
|
101
|
-
export type ScopeAddUserToRoleOutput = { success: boolean; }
|
|
102
|
-
export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
|
|
103
|
-
export type ScopeCreateRoleOutput = { success: boolean; }
|
|
104
|
-
export type ScopeDeleteRoleInput = { name: string; }
|
|
105
|
-
export type ScopeDeleteRoleOutput = { success: boolean; }
|
|
106
|
-
export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
|
|
107
|
-
export type ScopeListRolesOutput = { roles: Role[]; }
|
|
108
|
-
export type ScopeListUserRolesInput = { userId: string; }
|
|
109
|
-
export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
|
|
110
|
-
export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
|
|
111
|
-
export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
|
|
112
|
-
export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
|
|
113
|
-
export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
|
|
114
|
-
export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
|
|
115
|
-
export type ScopeSetRoleScopesOutput = { success: boolean; }
|
|
116
|
-
export type SendSignInLinkInput = {
|
|
117
|
-
email: string;
|
|
118
|
-
callbackURL?: string | undefined;
|
|
119
|
-
}
|
|
120
|
-
export type SendSignInLinkOutput = {
|
|
121
|
-
success: boolean;
|
|
122
|
-
}
|
|
123
|
-
export type SetUserBannedInput = {
|
|
124
|
-
userId: string;
|
|
125
|
-
banned: boolean;
|
|
126
|
-
reason?: string | undefined;
|
|
127
|
-
expiresInSeconds?: number | undefined;
|
|
128
|
-
}
|
|
129
|
-
export type SetUserBannedOutput = {
|
|
130
|
-
success: boolean;
|
|
131
|
-
}
|
|
132
|
-
export type SetUserPasswordInput = {
|
|
133
|
-
userId: string;
|
|
134
|
-
newPassword: string;
|
|
135
|
-
}
|
|
136
|
-
export type SetUserPasswordOutput = {
|
|
137
|
-
success: boolean;
|
|
138
|
-
}
|
|
139
|
-
export type TriggerSourceDisableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
|
|
140
|
-
export type TriggerSourceDisableOutput = { outcome: WebhookSourceOutcome; }
|
|
141
|
-
export type TriggerSourceEnableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
|
|
142
|
-
export type TriggerSourceEnableOutput = { outcome: WebhookSourceOutcome; }
|
|
143
|
-
export type TriggerSourceForgetInput = { name: string; }
|
|
144
|
-
export type TriggerSourceForgetOutput = { success: boolean; }
|
|
145
|
-
export type TriggerSourceListOutput = { sources: TriggerSourceRow[]; }
|
|
146
|
-
export type TriggerSourceReconcileInput = { baseUrl: string; labelPrefix: string; }
|
|
147
|
-
export type TriggerSourceReconcileOutput = { outcomes: WebhookSourceOutcome[]; }
|
|
148
|
-
export type TriggerSourceTeardownInput = { names: string[]; baseUrl: string; labelPrefix: string; }
|
|
149
|
-
export type TriggerSourceTeardownOutput = { outcomes: WebhookSourceOutcome[]; }
|
|
11
|
+
import type { IncomingWebhookReceiptRecord } from '@pikku/core/services'
|
|
12
|
+
import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
|
|
13
|
+
export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
|
|
14
|
+
export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
|
|
15
|
+
export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
|
|
16
|
+
export type CredentialDeleteOutput = __PikkuCustomTypes.CredentialDeleteOutput
|
|
17
|
+
export type CredentialGetInput = __PikkuCustomTypes.CredentialGetInput
|
|
18
|
+
export type CredentialGetOutput = __PikkuCustomTypes.CredentialGetOutput
|
|
19
|
+
export type CredentialListUsersOutput = __PikkuCustomTypes.CredentialListUsersOutput
|
|
20
|
+
export type CredentialSetInput = __PikkuCustomTypes.CredentialSetInput
|
|
21
|
+
export type CredentialSetOutput = __PikkuCustomTypes.CredentialSetOutput
|
|
22
|
+
export type CredentialStatusInput = __PikkuCustomTypes.CredentialStatusInput
|
|
23
|
+
export type CredentialStatusOutput = __PikkuCustomTypes.CredentialStatusOutput
|
|
24
|
+
export type CredentialUsersInput = __PikkuCustomTypes.CredentialUsersInput
|
|
25
|
+
export type CredentialUsersOutput = __PikkuCustomTypes.CredentialUsersOutput
|
|
26
|
+
export type FlagClearOverrideInput = __PikkuCustomTypes.FlagClearOverrideInput
|
|
27
|
+
export type FlagClearOverrideOutput = __PikkuCustomTypes.FlagClearOverrideOutput
|
|
28
|
+
export type FlagListOutput = __PikkuCustomTypes.FlagListOutput
|
|
29
|
+
export type FlagOverridesInput = __PikkuCustomTypes.FlagOverridesInput
|
|
30
|
+
export type FlagOverridesOutput = __PikkuCustomTypes.FlagOverridesOutput
|
|
31
|
+
export type FlagPruneOutput = __PikkuCustomTypes.FlagPruneOutput
|
|
32
|
+
export type FlagSetEnabledInput = __PikkuCustomTypes.FlagSetEnabledInput
|
|
33
|
+
export type FlagSetEnabledOutput = __PikkuCustomTypes.FlagSetEnabledOutput
|
|
34
|
+
export type FlagSetOverrideInput = __PikkuCustomTypes.FlagSetOverrideInput
|
|
35
|
+
export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
|
|
36
|
+
export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
|
|
37
|
+
export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
|
|
38
|
+
export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
|
|
39
|
+
export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
|
|
40
|
+
export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
|
|
41
|
+
export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
|
|
42
|
+
export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
|
|
43
|
+
export type ListIncomingWebhookReceiptsInput = __PikkuCustomTypes.ListIncomingWebhookReceiptsInput
|
|
44
|
+
export type ListIncomingWebhookReceiptsOutput = __PikkuCustomTypes.ListIncomingWebhookReceiptsOutput
|
|
45
|
+
export type ListUsersInput = __PikkuCustomTypes.ListUsersInput
|
|
46
|
+
export type ListUsersOutput = __PikkuCustomTypes.ListUsersOutput
|
|
47
|
+
export type PingOutput = __PikkuCustomTypes.PingOutput
|
|
48
|
+
export type RemoveUserInput = __PikkuCustomTypes.RemoveUserInput
|
|
49
|
+
export type RemoveUserOutput = __PikkuCustomTypes.RemoveUserOutput
|
|
50
|
+
export type RevokeUserSessionsInput = __PikkuCustomTypes.RevokeUserSessionsInput
|
|
51
|
+
export type RevokeUserSessionsOutput = __PikkuCustomTypes.RevokeUserSessionsOutput
|
|
52
|
+
export type ScopeAddScopeToUserInput = __PikkuCustomTypes.ScopeAddScopeToUserInput
|
|
53
|
+
export type ScopeAddScopeToUserOutput = __PikkuCustomTypes.ScopeAddScopeToUserOutput
|
|
54
|
+
export type ScopeAddUserToRoleInput = __PikkuCustomTypes.ScopeAddUserToRoleInput
|
|
55
|
+
export type ScopeAddUserToRoleOutput = __PikkuCustomTypes.ScopeAddUserToRoleOutput
|
|
56
|
+
export type ScopeCreateRoleInput = __PikkuCustomTypes.ScopeCreateRoleInput
|
|
57
|
+
export type ScopeCreateRoleOutput = __PikkuCustomTypes.ScopeCreateRoleOutput
|
|
58
|
+
export type ScopeDeleteRoleInput = __PikkuCustomTypes.ScopeDeleteRoleInput
|
|
59
|
+
export type ScopeDeleteRoleOutput = __PikkuCustomTypes.ScopeDeleteRoleOutput
|
|
60
|
+
export type ScopeListDeclaredOutput = __PikkuCustomTypes.ScopeListDeclaredOutput
|
|
61
|
+
export type ScopeListRolesOutput = __PikkuCustomTypes.ScopeListRolesOutput
|
|
62
|
+
export type ScopeListUserRolesInput = __PikkuCustomTypes.ScopeListUserRolesInput
|
|
63
|
+
export type ScopeListUserRolesOutput = __PikkuCustomTypes.ScopeListUserRolesOutput
|
|
64
|
+
export type ScopeRemoveScopeFromUserInput = __PikkuCustomTypes.ScopeRemoveScopeFromUserInput
|
|
65
|
+
export type ScopeRemoveScopeFromUserOutput = __PikkuCustomTypes.ScopeRemoveScopeFromUserOutput
|
|
66
|
+
export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFromRoleInput
|
|
67
|
+
export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
|
|
68
|
+
export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
|
|
69
|
+
export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
|
|
70
|
+
export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
|
|
71
|
+
export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
|
|
72
|
+
export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
|
|
73
|
+
export type SetUserBannedOutput = __PikkuCustomTypes.SetUserBannedOutput
|
|
74
|
+
export type SetUserPasswordInput = __PikkuCustomTypes.SetUserPasswordInput
|
|
75
|
+
export type SetUserPasswordOutput = __PikkuCustomTypes.SetUserPasswordOutput
|
|
76
|
+
export type TriggerSourceDisableInput = __PikkuCustomTypes.TriggerSourceDisableInput
|
|
77
|
+
export type TriggerSourceDisableOutput = __PikkuCustomTypes.TriggerSourceDisableOutput
|
|
78
|
+
export type TriggerSourceEnableInput = __PikkuCustomTypes.TriggerSourceEnableInput
|
|
79
|
+
export type TriggerSourceEnableOutput = __PikkuCustomTypes.TriggerSourceEnableOutput
|
|
80
|
+
export type TriggerSourceForgetInput = __PikkuCustomTypes.TriggerSourceForgetInput
|
|
81
|
+
export type TriggerSourceForgetOutput = __PikkuCustomTypes.TriggerSourceForgetOutput
|
|
82
|
+
export type TriggerSourceListOutput = __PikkuCustomTypes.TriggerSourceListOutput
|
|
83
|
+
export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconcileInput
|
|
84
|
+
export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
|
|
85
|
+
export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
|
|
86
|
+
export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
|
|
150
87
|
|
|
151
88
|
interface RPCHandler<I, O> {
|
|
152
89
|
input: I;
|
|
@@ -219,7 +156,7 @@ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
|
219
156
|
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
220
157
|
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
221
158
|
|
|
222
|
-
export type
|
|
159
|
+
export type RPCMesh = <Name extends keyof FlattenedRPCMap>(
|
|
223
160
|
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
224
161
|
? [name: Name]
|
|
225
162
|
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
@@ -267,5 +204,5 @@ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
|
267
204
|
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
268
205
|
) => Promise<void>
|
|
269
206
|
|
|
270
|
-
export type TypedPikkuRPC = PikkuRPC<RPCInvoke,
|
|
207
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCMesh, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
271
208
|
|