@pikku/addon-admin 0.12.13 → 0.12.14

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.
Files changed (132) hide show
  1. package/dist/.pikku/addon/agent/index.d.ts +1 -1
  2. package/dist/.pikku/addon/agent/index.js +1 -1
  3. package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
  4. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +3 -1
  5. package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -1
  6. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +2 -0
  7. package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -1
  8. package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
  9. package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
  10. package/dist/.pikku/addon/analytics/index.d.ts +1 -1
  11. package/dist/.pikku/addon/analytics/index.js +1 -1
  12. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +1 -1
  13. package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +1 -1
  14. package/dist/.pikku/addon/auth/index.d.ts +1 -1
  15. package/dist/.pikku/addon/auth/index.js +1 -1
  16. package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
  17. package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
  18. package/dist/.pikku/addon/channel/index.d.ts +1 -1
  19. package/dist/.pikku/addon/channel/index.js +1 -1
  20. package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
  21. package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
  22. package/dist/.pikku/addon/cli/index.d.ts +1 -1
  23. package/dist/.pikku/addon/cli/index.js +1 -1
  24. package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +1 -1
  25. package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +1 -1
  26. package/dist/.pikku/addon/error/index.d.ts +1 -1
  27. package/dist/.pikku/addon/error/index.js +1 -1
  28. package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
  29. package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
  30. package/dist/.pikku/addon/function/index.d.ts +1 -1
  31. package/dist/.pikku/addon/function/index.js +1 -1
  32. package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +1 -1
  33. package/dist/.pikku/addon/function/pikku-function-types.gen.js +1 -1
  34. package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +20 -20
  35. package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
  36. package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +20 -20
  37. package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
  38. package/dist/.pikku/addon/http/index.d.ts +1 -1
  39. package/dist/.pikku/addon/http/index.js +1 -1
  40. package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
  41. package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
  42. package/dist/.pikku/addon/mcp/index.d.ts +1 -1
  43. package/dist/.pikku/addon/mcp/index.js +1 -1
  44. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
  45. package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
  46. package/dist/.pikku/addon/middleware/index.d.ts +1 -1
  47. package/dist/.pikku/addon/middleware/index.js +1 -1
  48. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
  49. package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
  50. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  51. package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
  52. package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
  53. package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
  54. package/dist/.pikku/addon/pikku-local-services.gen.js +5 -2
  55. package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -1
  56. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  57. package/dist/.pikku/addon/pikku-services.gen.d.ts +1 -1
  58. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +77 -140
  59. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +77 -140
  60. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +77 -140
  61. package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  62. package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
  63. package/dist/.pikku/addon/scenarios/index.js +1 -1
  64. package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  65. package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  66. package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
  67. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  68. package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  69. package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +1 -1
  70. package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
  71. package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
  72. package/dist/.pikku/addon/schemas/register.gen.js +1 -1
  73. package/dist/.pikku/addon/schemas/schemas/GetAuditsOutput.schema.json +1 -1
  74. package/dist/.pikku/addon/schemas/schemas/GetQueueHistoryOutput.schema.json +1 -1
  75. package/dist/.pikku/addon/schemas/schemas/IncomingWebhookReceiptRecord.schema.json +1 -1
  76. package/dist/.pikku/addon/schemas/schemas/ListIncomingWebhookReceiptsOutput.schema.json +1 -1
  77. package/dist/.pikku/addon/schemas/schemas/ScopeListRolesOutput.schema.json +1 -1
  78. package/dist/.pikku/addon/schemas/schemas/TriggerSourceDisableOutput.schema.json +1 -1
  79. package/dist/.pikku/addon/schemas/schemas/TriggerSourceEnableOutput.schema.json +1 -1
  80. package/dist/.pikku/addon/schemas/schemas/TriggerSourceListOutput.schema.json +1 -1
  81. package/dist/.pikku/addon/schemas/schemas/TriggerSourceReconcileOutput.schema.json +1 -1
  82. package/dist/.pikku/addon/schemas/schemas/TriggerSourceTeardownOutput.schema.json +1 -1
  83. package/dist/.pikku/addon/scopes/index.d.ts +1 -1
  84. package/dist/.pikku/addon/scopes/index.js +1 -1
  85. package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +1 -1
  86. package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +1 -1
  87. package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
  88. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
  89. package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
  90. package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
  91. package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +1 -1
  92. package/dist/.pikku/addon/secrets/index.d.ts +1 -1
  93. package/dist/.pikku/addon/secrets/index.js +1 -1
  94. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
  95. package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
  96. package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
  97. package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
  98. package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
  99. package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
  100. package/dist/.pikku/addon/setup/index.d.ts +1 -1
  101. package/dist/.pikku/addon/setup/index.js +1 -1
  102. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
  103. package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
  104. package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
  105. package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
  106. package/dist/.pikku/addon/trigger/index.d.ts +1 -1
  107. package/dist/.pikku/addon/trigger/index.js +1 -1
  108. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +5 -2
  109. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
  110. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +3 -1
  111. package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -1
  112. package/dist/.pikku/addon/utils/index.d.ts +1 -1
  113. package/dist/.pikku/addon/utils/index.js +1 -1
  114. package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +1 -1
  115. package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +1 -1
  116. package/dist/.pikku/addon/variables/index.d.ts +1 -1
  117. package/dist/.pikku/addon/variables/index.js +1 -1
  118. package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
  119. package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
  120. package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
  121. package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
  122. package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +1 -1
  123. package/dist/.pikku/addon/workflow/index.d.ts +1 -1
  124. package/dist/.pikku/addon/workflow/index.js +1 -1
  125. package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  126. package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
  127. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +1 -1
  128. package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
  129. package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  130. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  131. package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
  132. package/package.json +12 -9
@@ -1,150 +1,87 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
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
-
22
- export type CreateUserInput = {
23
- email: string;
24
- password?: string | undefined;
25
- name?: string | undefined;
26
- }
27
- export type CreateUserOutput = {
28
- userId: string;
29
- }
30
- export type CredentialDeleteInput = { name: string; userId?: string | undefined; }
31
- export type CredentialDeleteOutput = { success: boolean; }
32
- export type CredentialGetInput = { name: string; userId?: string | undefined; }
33
- export type CredentialGetOutput = { value: unknown; }
34
- export type CredentialListUsersOutput = { users: CredentialUserEntry[]; }
35
- export type CredentialSetInput = { name: string; value: unknown; userId?: string | undefined; }
36
- export type CredentialSetOutput = { success: boolean; }
37
- export type CredentialStatusInput = { names: string[]; userId?: string | undefined; }
38
- export type CredentialStatusOutput = { statuses: Record<string, boolean>; }
39
- export type CredentialUsersInput = { name: string; }
40
- export type CredentialUsersOutput = { userIds: string[]; }
41
- export type FlagClearOverrideInput = { name: string; subject: FlagSubject; }
42
- export type FlagClearOverrideOutput = { success: boolean; }
43
- export type FlagListOutput = { flags: FlagListRow[]; writable: boolean; }
44
- export type FlagOverridesInput = { name: string; }
45
- export type FlagOverridesOutput = { overrides: FlagOverrideRow[]; supported: boolean; }
46
- export type FlagPruneOutput = { pruned: string[]; }
47
- export type FlagSetEnabledInput = { name: string; enabled: boolean; note?: string | undefined; }
48
- export type FlagSetEnabledOutput = { success: boolean; }
49
- export type FlagSetOverrideInput = { name: string; subject: FlagSubject; enabled: boolean; }
50
- export type FlagSetOverrideOutput = { success: boolean; }
51
- export type FlagSetRolloutInput = { name: string; percent: number | null; }
52
- export type FlagSetRolloutOutput = { success: boolean; }
53
- export type FlagSyncOutput = { synced: number; }
54
- export type GetIncomingWebhookReceiptInput = { receiptId: string; }
55
- export type GetQueueHistoryInput = { queueNames?: string[] | undefined; limit?: number | undefined; }
56
- export type GetQueueHistoryOutput = Record<string, QueueInspection>
57
- export type GetSchedulerHistoryOutput = Record<string, ScheduledTaskRuns>
58
- export type ListIncomingWebhookReceiptsInput = { source?: string | undefined; limit?: number | undefined; }
59
- export type ListIncomingWebhookReceiptsOutput = IncomingWebhookReceiptRecord[]
60
- export type ListUsersInput = {
61
- search?: string | undefined;
62
- limit?: number | undefined;
63
- offset?: number | undefined;
64
- includeRoles?: boolean | undefined;
65
- }
66
- export type ListUsersOutput = {
67
- users: {
68
- id: string;
69
- email: string;
70
- name?: string | undefined;
71
- image?: string | undefined;
72
- createdAt?: string | undefined;
73
- banned?: boolean | undefined;
74
- banReason?: string | undefined;
75
- banExpires?: string | undefined;
76
- roles?: string[] | undefined;
77
- fields?: {
78
- [key: string]: unknown;
79
- } | undefined;
80
- }[];
81
- total: number;
82
- }
83
- export type PingOutput = { pong: true; }
84
- export type RemoveUserInput = {
85
- userId: string;
86
- }
87
- export type RemoveUserOutput = {
88
- success: boolean;
89
- }
90
- export type RevokeUserSessionsInput = {
91
- userId: string;
92
- }
93
- export type RevokeUserSessionsOutput = {
94
- success: boolean;
95
- }
96
- export type ScopeAddScopeToUserInput = { userId: string; scope: string; }
97
- export type ScopeAddScopeToUserOutput = { success: boolean; }
98
- export type ScopeAddUserToRoleInput = { userId: string; role: string; }
99
- export type ScopeAddUserToRoleOutput = { success: boolean; }
100
- export type ScopeCreateRoleInput = { name: string; description?: string | undefined; scopes: string[]; }
101
- export type ScopeCreateRoleOutput = { success: boolean; }
102
- export type ScopeDeleteRoleInput = { name: string; }
103
- export type ScopeDeleteRoleOutput = { success: boolean; }
104
- export type ScopeListDeclaredOutput = { scopes: DeclaredScopeEntry[]; }
105
- export type ScopeListRolesOutput = { roles: Role[]; }
106
- export type ScopeListUserRolesInput = { userId: string; }
107
- export type ScopeListUserRolesOutput = { roles: string[]; scopes: string[]; directScopes: string[]; }
108
- export type ScopeRemoveScopeFromUserInput = { userId: string; scope: string; }
109
- export type ScopeRemoveScopeFromUserOutput = { success: boolean; }
110
- export type ScopeRemoveUserFromRoleInput = { userId: string; role: string; }
111
- export type ScopeRemoveUserFromRoleOutput = { success: boolean; }
112
- export type ScopeSetRoleScopesInput = { name: string; scopes: string[]; }
113
- export type ScopeSetRoleScopesOutput = { success: boolean; }
114
- export type SendSignInLinkInput = {
115
- email: string;
116
- callbackURL?: string | undefined;
117
- }
118
- export type SendSignInLinkOutput = {
119
- success: boolean;
120
- }
121
- export type SetUserBannedInput = {
122
- userId: string;
123
- banned: boolean;
124
- reason?: string | undefined;
125
- expiresInSeconds?: number | undefined;
126
- }
127
- export type SetUserBannedOutput = {
128
- success: boolean;
129
- }
130
- export type SetUserPasswordInput = {
131
- userId: string;
132
- newPassword: string;
133
- }
134
- export type SetUserPasswordOutput = {
135
- success: boolean;
136
- }
137
- export type TriggerSourceDisableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
138
- export type TriggerSourceDisableOutput = { outcome: WebhookSourceOutcome; }
139
- export type TriggerSourceEnableInput = { name: string; baseUrl?: string | undefined; labelPrefix?: string | undefined; }
140
- export type TriggerSourceEnableOutput = { outcome: WebhookSourceOutcome; }
141
- export type TriggerSourceForgetInput = { name: string; }
142
- export type TriggerSourceForgetOutput = { success: boolean; }
143
- export type TriggerSourceListOutput = { sources: TriggerSourceRow[]; }
144
- export type TriggerSourceReconcileInput = { baseUrl: string; labelPrefix: string; }
145
- export type TriggerSourceReconcileOutput = { outcomes: WebhookSourceOutcome[]; }
146
- export type TriggerSourceTeardownInput = { names: string[]; baseUrl: string; labelPrefix: string; }
147
- export type TriggerSourceTeardownOutput = { outcomes: WebhookSourceOutcome[]; }
9
+
10
+ import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
11
+ export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
12
+ export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
13
+ export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
14
+ export type CredentialDeleteOutput = __PikkuCustomTypes.CredentialDeleteOutput
15
+ export type CredentialGetInput = __PikkuCustomTypes.CredentialGetInput
16
+ export type CredentialGetOutput = __PikkuCustomTypes.CredentialGetOutput
17
+ export type CredentialListUsersOutput = __PikkuCustomTypes.CredentialListUsersOutput
18
+ export type CredentialSetInput = __PikkuCustomTypes.CredentialSetInput
19
+ export type CredentialSetOutput = __PikkuCustomTypes.CredentialSetOutput
20
+ export type CredentialStatusInput = __PikkuCustomTypes.CredentialStatusInput
21
+ export type CredentialStatusOutput = __PikkuCustomTypes.CredentialStatusOutput
22
+ export type CredentialUsersInput = __PikkuCustomTypes.CredentialUsersInput
23
+ export type CredentialUsersOutput = __PikkuCustomTypes.CredentialUsersOutput
24
+ export type FlagClearOverrideInput = __PikkuCustomTypes.FlagClearOverrideInput
25
+ export type FlagClearOverrideOutput = __PikkuCustomTypes.FlagClearOverrideOutput
26
+ export type FlagListOutput = __PikkuCustomTypes.FlagListOutput
27
+ export type FlagOverridesInput = __PikkuCustomTypes.FlagOverridesInput
28
+ export type FlagOverridesOutput = __PikkuCustomTypes.FlagOverridesOutput
29
+ export type FlagPruneOutput = __PikkuCustomTypes.FlagPruneOutput
30
+ export type FlagSetEnabledInput = __PikkuCustomTypes.FlagSetEnabledInput
31
+ export type FlagSetEnabledOutput = __PikkuCustomTypes.FlagSetEnabledOutput
32
+ export type FlagSetOverrideInput = __PikkuCustomTypes.FlagSetOverrideInput
33
+ export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
34
+ export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
35
+ export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
36
+ export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
37
+ export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
38
+ export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
39
+ export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
40
+ export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
41
+ export type ListIncomingWebhookReceiptsInput = __PikkuCustomTypes.ListIncomingWebhookReceiptsInput
42
+ export type ListIncomingWebhookReceiptsOutput = __PikkuCustomTypes.ListIncomingWebhookReceiptsOutput
43
+ export type ListUsersInput = __PikkuCustomTypes.ListUsersInput
44
+ export type ListUsersOutput = __PikkuCustomTypes.ListUsersOutput
45
+ export type PingOutput = __PikkuCustomTypes.PingOutput
46
+ export type RemoveUserInput = __PikkuCustomTypes.RemoveUserInput
47
+ export type RemoveUserOutput = __PikkuCustomTypes.RemoveUserOutput
48
+ export type RevokeUserSessionsInput = __PikkuCustomTypes.RevokeUserSessionsInput
49
+ export type RevokeUserSessionsOutput = __PikkuCustomTypes.RevokeUserSessionsOutput
50
+ export type ScopeAddScopeToUserInput = __PikkuCustomTypes.ScopeAddScopeToUserInput
51
+ export type ScopeAddScopeToUserOutput = __PikkuCustomTypes.ScopeAddScopeToUserOutput
52
+ export type ScopeAddUserToRoleInput = __PikkuCustomTypes.ScopeAddUserToRoleInput
53
+ export type ScopeAddUserToRoleOutput = __PikkuCustomTypes.ScopeAddUserToRoleOutput
54
+ export type ScopeCreateRoleInput = __PikkuCustomTypes.ScopeCreateRoleInput
55
+ export type ScopeCreateRoleOutput = __PikkuCustomTypes.ScopeCreateRoleOutput
56
+ export type ScopeDeleteRoleInput = __PikkuCustomTypes.ScopeDeleteRoleInput
57
+ export type ScopeDeleteRoleOutput = __PikkuCustomTypes.ScopeDeleteRoleOutput
58
+ export type ScopeListDeclaredOutput = __PikkuCustomTypes.ScopeListDeclaredOutput
59
+ export type ScopeListRolesOutput = __PikkuCustomTypes.ScopeListRolesOutput
60
+ export type ScopeListUserRolesInput = __PikkuCustomTypes.ScopeListUserRolesInput
61
+ export type ScopeListUserRolesOutput = __PikkuCustomTypes.ScopeListUserRolesOutput
62
+ export type ScopeRemoveScopeFromUserInput = __PikkuCustomTypes.ScopeRemoveScopeFromUserInput
63
+ export type ScopeRemoveScopeFromUserOutput = __PikkuCustomTypes.ScopeRemoveScopeFromUserOutput
64
+ export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFromRoleInput
65
+ export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
66
+ export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
67
+ export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
68
+ export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
69
+ export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
70
+ export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
71
+ export type SetUserBannedOutput = __PikkuCustomTypes.SetUserBannedOutput
72
+ export type SetUserPasswordInput = __PikkuCustomTypes.SetUserPasswordInput
73
+ export type SetUserPasswordOutput = __PikkuCustomTypes.SetUserPasswordOutput
74
+ export type TriggerSourceDisableInput = __PikkuCustomTypes.TriggerSourceDisableInput
75
+ export type TriggerSourceDisableOutput = __PikkuCustomTypes.TriggerSourceDisableOutput
76
+ export type TriggerSourceEnableInput = __PikkuCustomTypes.TriggerSourceEnableInput
77
+ export type TriggerSourceEnableOutput = __PikkuCustomTypes.TriggerSourceEnableOutput
78
+ export type TriggerSourceForgetInput = __PikkuCustomTypes.TriggerSourceForgetInput
79
+ export type TriggerSourceForgetOutput = __PikkuCustomTypes.TriggerSourceForgetOutput
80
+ export type TriggerSourceListOutput = __PikkuCustomTypes.TriggerSourceListOutput
81
+ export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconcileInput
82
+ export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
83
+ export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
84
+ export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
148
85
 
149
86
  interface RPCHandler<I, O> {
150
87
  input: I;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scenarios` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scenarios` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import '../function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-functions.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import type { PikkuScenarioWire, ScenarioStepOptions } from '@pikku/core/scenario';
5
5
  import type { PikkuWorkflowWire } from '@pikku/core/workflow';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/state';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /** Virtual users declared with defineVirtualUsers() */
5
5
  import { createHttpVirtualUsers } from '@pikku/core/virtual-user';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export declare const empty: null;
5
5
  //# sourceMappingURL=register.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export const empty = null;
5
5
  //# sourceMappingURL=register.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as CreateUserInput from './schemas/CreateUserInput.schema.json' with { type: 'json' };
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "events": { "type": "array", "items": { "$ref": "#/definitions/AuditEvent" } }, "users": { "$ref": "#/definitions/AuditUserDirectory", "description": "Who the user ids on this page belong to. Empty when no auth is wired, and missing an id whose account has since been deleted — the reader falls back to the id, which is what the trail actually recorded." }, "nextCursor": { "type": ["number", "null"], "description": "Offset of the next page, or `null` at the end." }, "readable": { "type": "boolean", "description": "False when the configured sink cannot be read back — a queue producer, or no sink at all. The console says so rather than showing an empty trail, because \"nothing happened\" and \"you cannot see what happened\" are very different answers to give someone auditing a system." } }, "required": ["events", "users", "nextCursor", "readable"], "additionalProperties": false, "definitions": { "AuditEvent": { "type": "object", "properties": { "eventId": { "type": "string" }, "type": { "type": "string" }, "source": { "$ref": "#/definitions/AuditSource" }, "outcome": { "$ref": "#/definitions/AuditOutcome" }, "occurredAt": { "type": "string" }, "functionId": { "type": "string" }, "wireType": { "$ref": "#/definitions/PikkuWiringTypes" }, "wireId": { "type": "string" }, "traceId": { "type": "string" }, "transactionId": { "type": ["string", "null"] }, "queryId": { "type": ["string", "null"] }, "userIdentity": { "$ref": "#/definitions/AuditUserIdentity" }, "input": {}, "metadata": { "type": "object", "additionalProperties": {} } }, "required": ["type", "source", "occurredAt"], "additionalProperties": false }, "AuditSource": { "type": "string", "enum": ["auto", "explicit"] }, "AuditOutcome": { "type": "string", "enum": ["success", "failed", "denied"] }, "PikkuWiringTypes": { "type": "string", "enum": ["http", "scheduler", "trigger", "channel", "rpc", "queue", "mcp", "cli", "workflow", "agent", "gateway"] }, "AuditUserIdentity": { "type": "object", "properties": { "userId": { "type": "string" }, "orgId": { "type": "string" }, "pikkuUserId": { "type": "string" } }, "additionalProperties": false, "description": "Who an event happened under.\n\nA user, not an \"virtualUser\": in pikku a virtual user is a synthetic person a scenario drives, flagged `virtualUser` on the user row, and the overwhelming majority of audited events are caused by ordinary customers. Naming this `virtualUser` made the synthetic case unsayable — `virtualUser.virtualUser === true` — and implied every recorded action was a test.\n\n`pikkuUserId` is the identity pikku resolves for every wire, so it is the one field a signed-out caller still leaves behind." }, "AuditUserDirectory": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AuditUserProfile" }, "description": "Who each user id on a page belongs to, keyed by that id." }, "AuditUserProfile": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "virtualUser": { "type": "boolean", "description": "True for a scenario virtual user — better-auth's `virtualUser` column, which the virtual user plugin sets and `CoreUserSession.virtualUser` mirrors. Absent in an app that does not run scenarios, so absence means \"an ordinary user\", not \"unknown\"." } }, "additionalProperties": false, "description": "Who a user id belongs to." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "events": { "type": "array", "items": { "$ref": "#/definitions/AuditEvent" } }, "users": { "$ref": "#/definitions/AuditUserDirectory", "description": "Who the user ids on this page belong to. Empty when no auth is wired, and missing an id whose account has since been deleted — the reader falls back to the id, which is what the trail actually recorded." }, "nextCursor": { "type": ["number", "null"], "description": "Offset of the next page, or `null` at the end." }, "readable": { "type": "boolean", "description": "False when the configured sink cannot be read back — a queue producer, or no sink at all. The console says so rather than showing an empty trail, because \"nothing happened\" and \"you cannot see what happened\" are very different answers to give someone auditing a system." } }, "required": ["events", "users", "nextCursor", "readable"], "additionalProperties": false, "definitions": { "AuditEvent": { "type": "object", "properties": { "eventId": { "type": "string" }, "type": { "type": "string" }, "source": { "$ref": "#/definitions/AuditSource" }, "outcome": { "$ref": "#/definitions/AuditOutcome" }, "occurredAt": { "type": "string" }, "functionId": { "type": "string" }, "wireType": { "$ref": "#/definitions/PikkuWiringTypes" }, "wireId": { "type": "string" }, "traceId": { "type": "string" }, "transactionId": { "type": ["string", "null"] }, "queryId": { "type": ["string", "null"] }, "userIdentity": { "$ref": "#/definitions/AuditUserIdentity" }, "input": {}, "metadata": { "type": "object", "additionalProperties": {} } }, "required": ["type", "source", "occurredAt"], "additionalProperties": false, "description": "One entry in the audit trail. The invocation fields (`functionId`, `wireType`, `traceId`, `userIdentity`) are filled in from the wire when an event is written through an {@link AuditLog } ." }, "AuditSource": { "type": "string", "enum": ["auto", "explicit"] }, "AuditOutcome": { "type": "string", "enum": ["success", "failed", "denied"] }, "PikkuWiringTypes": { "type": "string", "enum": ["http", "scheduler", "trigger", "channel", "rpc", "queue", "mcp", "cli", "workflow", "agent", "gateway"], "description": "Every transport a function can be wired to; read off `wire.wireType` to see how the current invocation arrived." }, "AuditUserIdentity": { "type": "object", "properties": { "userId": { "type": "string" }, "orgId": { "type": "string" }, "pikkuUserId": { "type": "string" } }, "additionalProperties": false, "description": "Who an event happened under.\n\nA user, not an \"virtualUser\": in pikku a virtual user is a synthetic person a scenario drives, flagged `virtualUser` on the user row, and the overwhelming majority of audited events are caused by ordinary customers. Naming this `virtualUser` made the synthetic case unsayable — `virtualUser.virtualUser === true` — and implied every recorded action was a test.\n\n`pikkuUserId` is the identity pikku resolves for every wire, so it is the one field a signed-out caller still leaves behind." }, "AuditUserDirectory": { "type": "object", "additionalProperties": { "$ref": "#/definitions/AuditUserProfile" }, "description": "Who each user id on a page belongs to, keyed by that id." }, "AuditUserProfile": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" }, "virtualUser": { "type": "boolean", "description": "True for a scenario virtual user — better-auth's `virtualUser` column, which the virtual user plugin sets and `CoreUserSession.virtualUser` mirrors. Absent in an app that does not run scenarios, so absence means \"an ordinary user\", not \"unknown\"." } }, "additionalProperties": false, "description": "Who a user id belongs to." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": { "$ref": "#/definitions/QueueInspection" }, "definitions": { "QueueInspection": { "type": "object", "properties": { "counts": { "$ref": "#/definitions/QueueJobCounts" }, "recent": { "type": "array", "items": { "$ref": "#/definitions/QueueJobRecord" }, "description": "Newest first." } }, "required": ["counts", "recent"], "additionalProperties": false }, "QueueJobCounts": { "type": "object", "properties": { "waiting": { "type": "number" }, "active": { "type": "number" }, "completed": { "type": "number" }, "failed": { "type": "number" }, "delayed": { "type": "number" } }, "required": ["waiting", "active", "completed", "failed", "delayed"], "additionalProperties": false }, "QueueJobRecord": { "type": "object", "properties": { "jobId": { "type": "string" }, "status": { "$ref": "#/definitions/QueueJobStatus" }, "attemptsMade": { "type": "number" }, "maxAttempts": { "type": "number" }, "createdAt": { "type": "string", "format": "date-time" }, "processedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "finishedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "durationMs": { "type": ["number", "null"] }, "error": { "type": ["string", "null"] } }, "required": ["jobId", "status", "attemptsMade", "maxAttempts", "createdAt", "processedAt", "finishedAt", "durationMs", "error"], "additionalProperties": false }, "QueueJobStatus": { "type": "string", "enum": ["waiting", "active", "completed", "failed", "delayed"] } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": { "$ref": "#/definitions/QueueInspection" }, "definitions": { "QueueInspection": { "type": "object", "properties": { "counts": { "$ref": "#/definitions/QueueJobCounts" }, "recent": { "type": "array", "items": { "$ref": "#/definitions/QueueJobRecord" }, "description": "Newest first." } }, "required": ["counts", "recent"], "additionalProperties": false }, "QueueJobCounts": { "type": "object", "properties": { "waiting": { "type": "number" }, "active": { "type": "number" }, "completed": { "type": "number" }, "failed": { "type": "number" }, "delayed": { "type": "number" } }, "required": ["waiting", "active", "completed", "failed", "delayed"], "additionalProperties": false }, "QueueJobRecord": { "type": "object", "properties": { "jobId": { "type": "string" }, "status": { "$ref": "#/definitions/QueueJobStatus" }, "attemptsMade": { "type": "number" }, "maxAttempts": { "type": "number" }, "createdAt": { "type": "string", "format": "date-time" }, "processedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "finishedAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] }, "durationMs": { "type": ["number", "null"] }, "error": { "type": ["string", "null"] } }, "required": ["jobId", "status", "attemptsMade", "maxAttempts", "createdAt", "processedAt", "finishedAt", "durationMs", "error"], "additionalProperties": false }, "QueueJobStatus": { "type": "string", "enum": ["waiting", "active", "completed", "failed", "delayed"], "description": "The lifecycle state of a queue job." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false, "definitions": {} }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false, "description": "A received webhook event as a store-backed {@link IncomingWebhookService } records it.", "definitions": {} }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/IncomingWebhookReceiptRecord" }, "definitions": { "IncomingWebhookReceiptRecord": { "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { "$ref": "#/definitions/IncomingWebhookReceiptRecord" }, "definitions": { "IncomingWebhookReceiptRecord": { "type": "object", "properties": { "receiptId": { "type": "string" }, "source": { "type": "string" }, "providerEventId": { "type": ["string", "null"] }, "event": { "type": "string" }, "status": { "type": "string", "enum": ["pending", "delivered", "failed"] }, "attempts": { "type": "number" }, "lastError": { "type": ["string", "null"] }, "createdAt": { "type": "string", "format": "date-time" }, "deliveredAt": { "anyOf": [{ "type": "string", "format": "date-time" }, { "type": "null" }] } }, "required": ["receiptId", "source", "providerEventId", "event", "status", "attempts", "lastError", "createdAt", "deliveredAt"], "additionalProperties": false, "description": "A received webhook event as a store-backed {@link IncomingWebhookService } records it." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "roles": { "type": "array", "items": { "$ref": "#/definitions/Role" } } }, "required": ["roles"], "additionalProperties": false, "definitions": { "Role": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "scopes": { "type": "array", "items": { "type": "string" } }, "system": { "type": "boolean", "description": "True when the role was declared in code with `defineSystemRole` rather than composed by an admin. System roles may be granted, but not renamed, re-scoped or deleted — see {@link ScopeService.syncSystemRoles } ." }, "declared": { "type": "boolean", "description": "False when a system role's declaration has been removed from code but its row survives: still held by whoever holds it, no longer offered for new grants, awaiting `pikku roles prune`." } }, "required": ["name", "scopes"], "additionalProperties": false } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "roles": { "type": "array", "items": { "$ref": "#/definitions/Role" } } }, "required": ["roles"], "additionalProperties": false, "definitions": { "Role": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "scopes": { "type": "array", "items": { "type": "string" } }, "system": { "type": "boolean", "description": "True when the role was declared in code with `defineSystemRole` rather than composed by an admin. System roles may be granted, but not renamed, re-scoped or deleted — see {@link ScopeService.syncSystemRoles } ." }, "declared": { "type": "boolean", "description": "False when a system role's declaration has been removed from code but its row survives: still held by whoever holds it, no longer offered for new grants, awaiting `pikku roles prune`." } }, "required": ["name", "scopes"], "additionalProperties": false, "description": "A named set of scopes that can be granted to a user." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcome": { "$ref": "#/definitions/WebhookSourceOutcome" } }, "required": ["outcome"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "sources": { "type": "array", "items": { "$ref": "#/definitions/TriggerSourceRow" } } }, "required": ["sources"], "additionalProperties": false, "definitions": { "TriggerSourceRow": { "type": "object", "additionalProperties": false, "properties": { "baseUrl": { "type": ["string", "null"] }, "labelPrefix": { "type": ["string", "null"] }, "declared": { "type": "boolean", "description": "False once the declaration has gone from code without a teardown: an orphan." }, "enabled": { "type": "boolean", "description": "Only an enabled source is registered with its provider or receives events. Off until someone turns it on." }, "status": { "type": ["string", "null"] }, "state": { "anyOf": [{ "$ref": "#/definitions/WebhookSourceState" }, { "type": "null" }] }, "detail": { "type": ["string", "null"], "description": "The last step's instructions or error." }, "updatedAt": { "type": ["string", "null"] }, "name": { "type": "string" }, "kind": { "$ref": "#/definitions/TriggerSourceKind" } }, "required": ["baseUrl", "declared", "detail", "enabled", "kind", "labelPrefix", "name", "state", "status", "updatedAt"], "description": "What was registered with the provider for one declared trigger source. `state` is what the last `setup` returned — provider identifiers only; any secret it issued lives in the credential service." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." }, "TriggerSourceKind": { "type": "string", "const": "webhook" } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "sources": { "type": "array", "items": { "$ref": "#/definitions/TriggerSourceRow" } } }, "required": ["sources"], "additionalProperties": false, "definitions": { "TriggerSourceRow": { "type": "object", "additionalProperties": false, "properties": { "baseUrl": { "type": ["string", "null"] }, "labelPrefix": { "type": ["string", "null"] }, "declared": { "type": "boolean", "description": "False once the declaration has gone from code without a teardown: an orphan." }, "enabled": { "type": "boolean", "description": "Only an enabled source is registered with its provider or receives events. Off until someone turns it on." }, "status": { "type": ["string", "null"] }, "state": { "anyOf": [{ "$ref": "#/definitions/WebhookSourceState" }, { "type": "null" }] }, "detail": { "type": ["string", "null"], "description": "The last step's instructions or error." }, "updatedAt": { "type": ["string", "null"] }, "name": { "type": "string" }, "kind": { "$ref": "#/definitions/TriggerSourceKind" } }, "required": ["baseUrl", "declared", "detail", "enabled", "kind", "labelPrefix", "name", "state", "status", "updatedAt"], "description": "What was registered with the provider for one declared trigger source. `state` is what the last `setup` returned — provider identifiers only; any secret it issued lives in the credential service." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." }, "TriggerSourceKind": { "type": "string", "const": "webhook", "description": "The kinds of trigger source a provider can be registered for." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
@@ -1 +1 @@
1
- { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
1
+ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "outcomes": { "type": "array", "items": { "$ref": "#/definitions/WebhookSourceOutcome" } } }, "required": ["outcomes"], "additionalProperties": false, "definitions": { "WebhookSourceOutcome": { "type": "object", "properties": { "source": { "type": "string" }, "url": { "type": "string" }, "status": { "type": "string", "enum": ["ok", "missing", "drifted", "created", "updated", "unchanged", "manual", "deleted", "absent", "skipped", "failed"] }, "reason": { "type": "string" }, "state": { "$ref": "#/definitions/WebhookSourceState" }, "instructions": { "type": "string" }, "error": { "type": "string" } }, "required": ["source", "url", "status"], "additionalProperties": false, "description": "What one lifecycle pass (`check`, `setup` or `teardown`) did for one webhook source." }, "WebhookSourceState": { "type": "object", "additionalProperties": {}, "description": "Whatever `setup` wants back on the next deploy, for providers whose endpoints cannot be found by label." } } }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/scopes` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export { defineScope } from '@pikku/core/scope';
5
5
  export { defineSystemRole } from '@pikku/core/role';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/secrets` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  /**
5
5
  * Subpath entry — `#pikku/secrets` resolves here.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
5
5
  //# sourceMappingURL=pikku-secret-types.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  export { defineSecret } from '@pikku/core/secret';
5
5
  //# sourceMappingURL=pikku-secret-types.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.191
2
+ * This file was generated by @pikku/cli@0.12.192
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {