@shwfed/config 2.9.3 → 2.9.5

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 (172) hide show
  1. package/dist/mcp.mjs +566 -102
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +1 -0
  4. package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BZCeJsQD.js +1 -0
  5. package/dist/preview/assets/badge-muf_N5bh.js +1 -0
  6. package/dist/preview/assets/config-BDWlpbYr.js +1 -0
  7. package/dist/preview/assets/config-BbrX8RJn.js +1 -0
  8. package/dist/preview/assets/config-BeW9pIO6.js +1 -0
  9. package/dist/preview/assets/config-BmmWdZ8T.js +1 -0
  10. package/dist/preview/assets/config-CX1fFOhS.js +1 -0
  11. package/dist/preview/assets/config-CZHJLTaX.js +1 -0
  12. package/dist/preview/assets/config-CoEYHQXh.js +1 -0
  13. package/dist/preview/assets/config-DkiDpKM2.js +1 -0
  14. package/dist/preview/assets/config-DygE8cbP.js +1 -0
  15. package/dist/preview/assets/config-qlTY-CeE.js +1 -0
  16. package/dist/preview/assets/config-r9XM4u1X.js +1 -0
  17. package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-BFjgX5YL.js +1 -0
  18. package/dist/preview/assets/{index-CNgUJDgV.js → index-CHKIlDe0.js} +1 -1
  19. package/dist/preview/assets/{index-DZS4TKGX.js → index-CJHF5AcW.js} +217 -186
  20. package/dist/preview/assets/index-OJPhCe6w.js +1 -0
  21. package/dist/preview/assets/index-vPcvbp7e.css +1 -0
  22. package/dist/preview/assets/item-9Thi-zcK.js +1 -0
  23. package/dist/preview/assets/runtime-B2Q3DRbZ.js +1 -0
  24. package/dist/preview/assets/{runtime-Caf4c7Qr.js → runtime-BnExhm-v.js} +1 -1
  25. package/dist/preview/assets/runtime-BrCQ7TVd.js +1 -0
  26. package/dist/preview/assets/runtime-BstyXj1z.js +1 -0
  27. package/dist/preview/assets/runtime-ByhubOtA.js +1 -0
  28. package/dist/preview/assets/runtime-CE6eAbTE.js +1 -0
  29. package/dist/preview/assets/runtime-CdDJ6rEl.js +1 -0
  30. package/dist/preview/assets/runtime-DEHzrByN.js +1 -0
  31. package/dist/preview/assets/runtime-DM9caqw1.js +1 -0
  32. package/dist/preview/assets/{runtime-DNRZcUw_.js → runtime-DkLPBvxW.js} +1 -1
  33. package/dist/preview/index.html +2 -2
  34. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +20 -0
  35. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +20 -0
  36. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +22 -0
  37. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +33 -1
  38. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +20 -0
  39. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +20 -0
  40. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +10 -0
  41. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.d.vue.ts +4 -0
  42. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.vue.d.ts +4 -0
  43. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +2 -0
  44. package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/config.d.vue.ts +16 -0
  45. package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/config.vue.d.ts +16 -0
  46. package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +8 -0
  47. package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/config.d.vue.ts +4 -0
  48. package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/config.vue.d.ts +4 -0
  49. package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/schema.d.ts +2 -0
  50. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.d.vue.ts +51 -0
  51. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.vue +201 -0
  52. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.vue.d.ts +51 -0
  53. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/runtime.d.vue.ts +8 -0
  54. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/runtime.vue +37 -0
  55. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/runtime.vue.d.ts +8 -0
  56. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +30 -0
  57. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.js +87 -0
  58. package/dist/runtime/components/actions/components/triggers-field.d.vue.ts +4 -0
  59. package/dist/runtime/components/actions/components/triggers-field.vue +65 -7
  60. package/dist/runtime/components/actions/components/triggers-field.vue.d.ts +4 -0
  61. package/dist/runtime/components/actions/config.vue +68 -1
  62. package/dist/runtime/components/actions/utils/resolve.d.ts +85 -2
  63. package/dist/runtime/components/actions/utils/resolve.js +122 -21
  64. package/dist/runtime/components/app.vue +59 -4
  65. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +2 -2
  66. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +2 -2
  67. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +2 -2
  68. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +2 -2
  69. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +1 -1
  70. package/dist/runtime/components/config/index.vue +9 -2
  71. package/dist/runtime/components/config/schema.d.ts +6 -10
  72. package/dist/runtime/components/config/schema.js +12 -2
  73. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
  74. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
  75. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
  76. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
  77. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  78. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  79. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +2 -2
  80. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +2 -2
  81. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +2 -2
  82. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +2 -2
  83. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -2
  84. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -2
  85. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +1 -1
  86. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
  87. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
  88. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.d.vue.ts +31 -0
  89. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.vue +89 -0
  90. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.vue.d.ts +31 -0
  91. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/runtime.d.ts +2 -0
  92. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/runtime.js +14 -0
  93. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +21 -0
  94. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.js +36 -0
  95. package/dist/runtime/components/operations/utils/resolve.d.ts +48 -0
  96. package/dist/runtime/components/operations/utils/resolve.js +73 -0
  97. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +2 -0
  98. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +2 -0
  99. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -0
  100. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -0
  101. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +2 -0
  102. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -0
  103. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -0
  104. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +2 -0
  105. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -0
  106. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -0
  107. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +2 -0
  108. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -0
  109. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -0
  110. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +2 -0
  111. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +4 -0
  112. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +4 -0
  113. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +2 -0
  114. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +4 -0
  115. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +4 -0
  116. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +2 -0
  117. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -0
  118. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -0
  119. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +4 -0
  120. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -0
  121. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -0
  122. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +4 -0
  123. package/dist/runtime/components/table/schema.d.ts +2 -2
  124. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  125. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  126. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  127. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  128. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  129. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  130. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  131. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  132. package/dist/runtime/components/ui/progress/Progress.d.vue.ts +11 -0
  133. package/dist/runtime/components/ui/progress/Progress.vue +32 -0
  134. package/dist/runtime/components/ui/progress/Progress.vue.d.ts +11 -0
  135. package/dist/runtime/components/ui/progress/index.d.ts +1 -0
  136. package/dist/runtime/components/ui/progress/index.js +1 -0
  137. package/dist/runtime/composables/useOverlay.d.ts +35 -0
  138. package/dist/runtime/composables/useOverlay.js +52 -0
  139. package/dist/runtime/share/event-bus.d.ts +24 -2
  140. package/dist/runtime/share/event-bus.js +21 -3
  141. package/dist/runtime/share/interpolate.d.ts +12 -0
  142. package/dist/runtime/share/interpolate.js +18 -0
  143. package/dist/runtime/share/page-target.d.ts +16 -0
  144. package/dist/runtime/share/page-target.js +1 -0
  145. package/dist/runtime/share/schema-meta.d.ts +5 -0
  146. package/dist/runtime/share/schema-meta.js +48 -0
  147. package/dist/runtime/style.css +1 -1
  148. package/dist/runtime/vendor/cel-js/CLAUDE.md +2 -0
  149. package/dist/runtime/vendor/cel-js/PROMPT.md +9 -0
  150. package/dist/runtime/vendor/cel-js/lib/functions.js +8 -0
  151. package/package.json +1 -1
  152. package/dist/preview/assets/badge-CY7N4tzE.js +0 -1
  153. package/dist/preview/assets/config-B6xtqPys.js +0 -1
  154. package/dist/preview/assets/config-BI9O-CMH.js +0 -1
  155. package/dist/preview/assets/config-C9LThFFM.js +0 -1
  156. package/dist/preview/assets/config-CdTo0RnO.js +0 -1
  157. package/dist/preview/assets/config-Ch-uzD4K.js +0 -1
  158. package/dist/preview/assets/config-Cou30eMf.js +0 -1
  159. package/dist/preview/assets/config-CqhZtEzh.js +0 -1
  160. package/dist/preview/assets/config-D0e-dO3Y.js +0 -1
  161. package/dist/preview/assets/config-D2iQ1cHu.js +0 -1
  162. package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js +0 -1
  163. package/dist/preview/assets/index-BTleLwMz.js +0 -1
  164. package/dist/preview/assets/index-COSjWreD.css +0 -1
  165. package/dist/preview/assets/item-Cjwnz068.js +0 -1
  166. package/dist/preview/assets/runtime-BHXxRkau.js +0 -1
  167. package/dist/preview/assets/runtime-BhLcYJQW.js +0 -1
  168. package/dist/preview/assets/runtime-Bi-TAMSI.js +0 -1
  169. package/dist/preview/assets/runtime-Bxhg8fck.js +0 -1
  170. package/dist/preview/assets/runtime-CiHPMpFW.js +0 -1
  171. package/dist/preview/assets/runtime-DLY_TObR.js +0 -1
  172. package/dist/preview/assets/runtime-ncpmo94E.js +0 -1
@@ -0,0 +1,31 @@
1
+ import { type Value } from './schema.js';
2
+ type __VLS_ModelProps = {
3
+ modelValue: Value;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: {
7
+ readonly icon?: string | undefined;
8
+ readonly color?: string | undefined;
9
+ readonly message: readonly [{
10
+ readonly locale: "zh";
11
+ readonly message: string;
12
+ }, ...{
13
+ readonly locale: "en" | "ja" | "ko";
14
+ readonly message: string;
15
+ }[]];
16
+ }) => any;
17
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: {
19
+ readonly icon?: string | undefined;
20
+ readonly color?: string | undefined;
21
+ readonly message: readonly [{
22
+ readonly locale: "zh";
23
+ readonly message: string;
24
+ }, ...{
25
+ readonly locale: "en" | "ja" | "ko";
26
+ readonly message: string;
27
+ }[]];
28
+ }) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { OperationHandler } from '../../utils/resolve.js';
2
+ export declare const handler: OperationHandler;
@@ -0,0 +1,14 @@
1
+ import { Effect } from "effect";
2
+ import { getLocalizedText } from "../../../../share/locale.js";
3
+ import { interpolateMarkdown } from "../../../../share/interpolate.js";
4
+ import { reject } from "../../../../composables/useOverlay.js";
5
+ class AlertCancelled {
6
+ _tag = "AlertCancelled";
7
+ }
8
+ export const handler = (params, ctx) => Effect.gen(function* () {
9
+ const { message, icon, color } = params ?? {};
10
+ const raw = getLocalizedText(message, ctx.locale()) ?? "";
11
+ const content = interpolateMarkdown(raw, ctx.cel);
12
+ const cancelled = yield* reject({ content, icon, color });
13
+ if (cancelled) return yield* Effect.die(new AlertCancelled());
14
+ });
@@ -0,0 +1,21 @@
1
+ import { Schema } from 'effect';
2
+ import type { Environment } from '../../../../vendor/cel-js/lib/index.js';
3
+ export declare const type: "com.shwfed.operation.alert";
4
+ export declare const compatibilityDate: "2026-06-09";
5
+ export declare const metadata: {
6
+ readonly name: "确认弹窗";
7
+ readonly icon: "fluent:chat-warning-20-regular";
8
+ };
9
+ export declare function schema(_configure: (env: Environment) => void): Schema.Struct<{
10
+ message: Schema.TupleType<readonly [Schema.Struct<{
11
+ locale: Schema.Literal<["zh"]>;
12
+ message: Schema.SchemaClass<string, string, never>;
13
+ }>], [Schema.Struct<{
14
+ locale: Schema.Literal<["ja", "en", "ko"]>;
15
+ message: Schema.SchemaClass<string, string, never>;
16
+ }>]>;
17
+ icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
18
+ color: Schema.optional<Schema.SchemaClass<string, string, never>>;
19
+ }>;
20
+ export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
21
+ export declare function defaults(): Partial<Value>;
@@ -0,0 +1,36 @@
1
+ import { Schema } from "effect";
2
+ import { Locale } from "../../../../share/locale.js";
3
+ import { md } from "../../../../share/markdown.js";
4
+ export const type = "com.shwfed.operation.alert";
5
+ export const compatibilityDate = "2026-06-09";
6
+ export const metadata = {
7
+ name: "\u786E\u8BA4\u5F39\u7A97",
8
+ icon: "fluent:chat-warning-20-regular"
9
+ };
10
+ export function schema(_configure) {
11
+ return Schema.Struct({
12
+ message: Locale.annotations({
13
+ title: "\u786E\u8BA4\u4FE1\u606F",
14
+ description: "\u5F39\u7A97\u786E\u8BA4\u4FE1\u606F\uFF0C\u652F\u6301 `{{ expression }}` \u63D2\u503C"
15
+ }),
16
+ icon: Schema.optional(Schema.String.annotations({
17
+ title: "\u56FE\u6807",
18
+ description: "\u5F39\u7A97\u5185\u7684\u56FE\u6807"
19
+ })),
20
+ color: Schema.optional(Schema.String.annotations({
21
+ title: "\u56FE\u6807\u989C\u8272",
22
+ description: "\u5F39\u7A97\u5185\u56FE\u6807\u7684\u989C\u8272\uFF08\u4EFB\u610F CSS \u989C\u8272\u503C\uFF09"
23
+ }))
24
+ }).annotations({
25
+ title: "AlertOperation",
26
+ description: md`
27
+ 弹出确认弹窗。用户确认则继续执行后续操作;取消则中止本次触发链
28
+ (与表单「校验」未通过同样的中止语义)。
29
+ `
30
+ });
31
+ }
32
+ export function defaults() {
33
+ return {
34
+ message: [{ locale: "zh", message: "" }]
35
+ };
36
+ }
@@ -0,0 +1,48 @@
1
+ import type { Component } from 'vue';
2
+ import type { Effect, Schema } from 'effect';
3
+ import type { Environment } from '../../../vendor/cel-js/lib/index.js';
4
+ import type { CelEvaluator } from '../../../share/interpolate.js';
5
+ import type { OperationHandlers } from '../../../share/event-bus.js';
6
+ type AnySchema = Schema.Schema<any, any, never>;
7
+ type SchemaFactory = (configure: (env: Environment) => void) => AnySchema;
8
+ /** Context a host supplies when wiring operation handlers into its channel. */
9
+ export type OperationContext = Readonly<{
10
+ /** Evaluator for any CEL in an operation's params (host's bindings). */
11
+ cel: CelEvaluator;
12
+ /** Current UI locale, read live (handlers may run long after wiring). */
13
+ locale: () => string;
14
+ }>;
15
+ /**
16
+ * The generic behaviour of a parameterized operation. Infallible on the error
17
+ * channel like every `OperationHandlers` entry; a handler MAY halt the trigger
18
+ * chain via `Effect.die` (the guard shape — e.g. an alert whose user cancels).
19
+ */
20
+ export type OperationHandler = (params: unknown, ctx: OperationContext) => Effect.Effect<void>;
21
+ export type OperationMetadata = Readonly<{
22
+ name: string;
23
+ icon: string;
24
+ }>;
25
+ export type OperationEntry = Readonly<{
26
+ type: string;
27
+ compatibilityDate: string;
28
+ metadata: OperationMetadata;
29
+ schema: SchemaFactory;
30
+ defaults?: () => Record<string, unknown>;
31
+ config: Component;
32
+ handler: OperationHandler;
33
+ }>;
34
+ export declare const OPERATIONS: ReadonlyArray<OperationEntry>;
35
+ export declare function findOperation(type: string, compatibilityDate: string): OperationEntry | undefined;
36
+ /**
37
+ * Build the `OperationHandlers` for a host's `provideEventTarget`, one per
38
+ * parameterized operation the host declares it exposes. Each handler keys on
39
+ * the operation `type` (what the trigger stores as `operation`) and forwards
40
+ * the request's `params` to the registered `handler` with `ctx`. Unknown
41
+ * refs are skipped. Hosts merge the result with any bespoke param-less
42
+ * handlers (e.g. the page's `close`).
43
+ */
44
+ export declare function operationHandlers(exposed: ReadonlyArray<{
45
+ type: string;
46
+ compatibilityDate: string;
47
+ }>, ctx: OperationContext): OperationHandlers;
48
+ export {};
@@ -0,0 +1,73 @@
1
+ import { defineAsyncComponent } from "vue";
2
+ const schemaModules = import.meta.glob(
3
+ "../*/*/schema.{ts,js}",
4
+ { eager: true, exhaustive: true }
5
+ );
6
+ const runtimeModules = import.meta.glob(
7
+ "../*/*/runtime.{ts,js}",
8
+ { eager: true, exhaustive: true }
9
+ );
10
+ const configModuleLoaders = import.meta.glob(
11
+ "../*/*/config.vue",
12
+ { exhaustive: true }
13
+ );
14
+ const configModules = Object.fromEntries(
15
+ Object.entries(configModuleLoaders).map(([path, loader]) => [
16
+ path,
17
+ defineAsyncComponent(loader)
18
+ ])
19
+ );
20
+ const PATH_RE = /\/([^/]+)\/([^/]+)\/schema\.(?:ts|js)$/;
21
+ function findSibling(map, date, type, file) {
22
+ const suffix = `/${date}/${type}/${file}`;
23
+ for (const [key, value] of Object.entries(map)) {
24
+ if (key.endsWith(suffix)) return value;
25
+ }
26
+ throw new Error(`[shwfed-operations] missing ${file} for ${type}@${date}`);
27
+ }
28
+ let cached = null;
29
+ function compute() {
30
+ if (cached) return cached;
31
+ const entries = [];
32
+ for (const [path, mod] of Object.entries(schemaModules)) {
33
+ const match = PATH_RE.exec(path);
34
+ if (!match) throw new Error(`[shwfed-operations] unrecognized schema path: ${path}`);
35
+ const date = match[1];
36
+ const type = match[2];
37
+ if (mod.type !== type) {
38
+ throw new Error(`[shwfed-operations] type "${mod.type}" does not match folder "${type}"`);
39
+ }
40
+ if (mod.compatibilityDate !== date) {
41
+ throw new Error(`[shwfed-operations] compatibilityDate "${mod.compatibilityDate}" does not match folder "${date}"`);
42
+ }
43
+ const runtime = findSibling(runtimeModules, date, type, "runtime.ts");
44
+ entries.push({
45
+ type: mod.type,
46
+ compatibilityDate: mod.compatibilityDate,
47
+ metadata: mod.metadata,
48
+ schema: mod.schema,
49
+ defaults: mod.defaults,
50
+ config: findSibling(configModules, date, type, "config.vue"),
51
+ handler: runtime.handler
52
+ });
53
+ }
54
+ cached = entries;
55
+ return cached;
56
+ }
57
+ export const OPERATIONS = new Proxy([], {
58
+ get(_t, prop, recv) {
59
+ return Reflect.get(compute(), prop, recv);
60
+ }
61
+ });
62
+ export function findOperation(type, compatibilityDate) {
63
+ return compute().find((o) => o.type === type && o.compatibilityDate === compatibilityDate);
64
+ }
65
+ export function operationHandlers(exposed, ctx) {
66
+ const handlers = {};
67
+ for (const { type, compatibilityDate } of exposed) {
68
+ const entry = findOperation(type, compatibilityDate);
69
+ if (!entry) continue;
70
+ handlers[type] = (params) => entry.handler(params, ctx);
71
+ }
72
+ return handlers;
73
+ }
@@ -18,6 +18,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
18
18
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
19
19
  target: Schema.refine<string, typeof Schema.String>;
20
20
  operation: Schema.SchemaClass<string, string, never>;
21
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
22
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
21
23
  }>>>;
22
24
  title: Schema.TupleType<readonly [Schema.Struct<{
23
25
  locale: Schema.Literal<["zh"]>;
@@ -18,6 +18,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
18
18
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
19
19
  target: Schema.refine<string, typeof Schema.String>;
20
20
  operation: Schema.SchemaClass<string, string, never>;
21
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
22
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
21
23
  }>>>;
22
24
  title: Schema.TupleType<readonly [Schema.Struct<{
23
25
  locale: Schema.Literal<["zh"]>;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-24";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -78,6 +80,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
78
80
  }[]] | undefined;
79
81
  readonly compatibilityDate: "2026-05-24";
80
82
  readonly triggers?: readonly {
83
+ readonly params?: unknown;
84
+ readonly compatibilityDate?: string | undefined;
81
85
  readonly target: string;
82
86
  readonly operation: string;
83
87
  }[] | undefined;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-24";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -78,6 +80,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
78
80
  }[]] | undefined;
79
81
  readonly compatibilityDate: "2026-05-24";
80
82
  readonly triggers?: readonly {
83
+ readonly params?: unknown;
84
+ readonly compatibilityDate?: string | undefined;
81
85
  readonly target: string;
82
86
  readonly operation: string;
83
87
  }[] | undefined;
@@ -57,6 +57,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
57
57
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
58
58
  target: Schema.refine<string, typeof Schema.String>;
59
59
  operation: Schema.SchemaClass<string, string, never>;
60
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
61
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
60
62
  }>>>;
61
63
  title: Schema.TupleType<readonly [Schema.Struct<{
62
64
  locale: Schema.Literal<["zh"]>;
@@ -50,6 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  };
51
51
  }[];
52
52
  readonly triggers?: readonly {
53
+ readonly params?: unknown;
54
+ readonly compatibilityDate?: string | undefined;
53
55
  readonly target: string;
54
56
  readonly operation: string;
55
57
  }[] | undefined;
@@ -116,6 +118,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
118
  };
117
119
  }[];
118
120
  readonly triggers?: readonly {
121
+ readonly params?: unknown;
122
+ readonly compatibilityDate?: string | undefined;
119
123
  readonly target: string;
120
124
  readonly operation: string;
121
125
  }[] | undefined;
@@ -50,6 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  };
51
51
  }[];
52
52
  readonly triggers?: readonly {
53
+ readonly params?: unknown;
54
+ readonly compatibilityDate?: string | undefined;
53
55
  readonly target: string;
54
56
  readonly operation: string;
55
57
  }[] | undefined;
@@ -116,6 +118,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
118
  };
117
119
  }[];
118
120
  readonly triggers?: readonly {
121
+ readonly params?: unknown;
122
+ readonly compatibilityDate?: string | undefined;
119
123
  readonly target: string;
120
124
  readonly operation: string;
121
125
  }[] | undefined;
@@ -98,6 +98,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
98
98
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
99
99
  target: Schema.refine<string, typeof Schema.String>;
100
100
  operation: Schema.SchemaClass<string, string, never>;
101
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
102
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
101
103
  }>>>;
102
104
  title: Schema.TupleType<readonly [Schema.Struct<{
103
105
  locale: Schema.Literal<["zh"]>;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-25";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -78,6 +80,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
78
80
  }[]] | undefined;
79
81
  readonly compatibilityDate: "2026-05-25";
80
82
  readonly triggers?: readonly {
83
+ readonly params?: unknown;
84
+ readonly compatibilityDate?: string | undefined;
81
85
  readonly target: string;
82
86
  readonly operation: string;
83
87
  }[] | undefined;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-25";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -78,6 +80,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
78
80
  }[]] | undefined;
79
81
  readonly compatibilityDate: "2026-05-25";
80
82
  readonly triggers?: readonly {
83
+ readonly params?: unknown;
84
+ readonly compatibilityDate?: string | undefined;
81
85
  readonly target: string;
82
86
  readonly operation: string;
83
87
  }[] | undefined;
@@ -57,6 +57,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
57
57
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
58
58
  target: Schema.refine<string, typeof Schema.String>;
59
59
  operation: Schema.SchemaClass<string, string, never>;
60
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
61
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
60
62
  }>>>;
61
63
  title: Schema.TupleType<readonly [Schema.Struct<{
62
64
  locale: Schema.Literal<["zh"]>;
@@ -50,6 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  };
51
51
  }[];
52
52
  readonly triggers?: readonly {
53
+ readonly params?: unknown;
54
+ readonly compatibilityDate?: string | undefined;
53
55
  readonly target: string;
54
56
  readonly operation: string;
55
57
  }[] | undefined;
@@ -116,6 +118,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
118
  };
117
119
  }[];
118
120
  readonly triggers?: readonly {
121
+ readonly params?: unknown;
122
+ readonly compatibilityDate?: string | undefined;
119
123
  readonly target: string;
120
124
  readonly operation: string;
121
125
  }[] | undefined;
@@ -50,6 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  };
51
51
  }[];
52
52
  readonly triggers?: readonly {
53
+ readonly params?: unknown;
54
+ readonly compatibilityDate?: string | undefined;
53
55
  readonly target: string;
54
56
  readonly operation: string;
55
57
  }[] | undefined;
@@ -116,6 +118,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
118
  };
117
119
  }[];
118
120
  readonly triggers?: readonly {
121
+ readonly params?: unknown;
122
+ readonly compatibilityDate?: string | undefined;
119
123
  readonly target: string;
120
124
  readonly operation: string;
121
125
  }[] | undefined;
@@ -98,6 +98,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
98
98
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
99
99
  target: Schema.refine<string, typeof Schema.String>;
100
100
  operation: Schema.SchemaClass<string, string, never>;
101
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
102
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
101
103
  }>>>;
102
104
  title: Schema.TupleType<readonly [Schema.Struct<{
103
105
  locale: Schema.Literal<["zh"]>;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-26";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -107,6 +109,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
109
  }[]] | undefined;
108
110
  readonly compatibilityDate: "2026-05-26";
109
111
  readonly triggers?: readonly {
112
+ readonly params?: unknown;
113
+ readonly compatibilityDate?: string | undefined;
110
114
  readonly target: string;
111
115
  readonly operation: string;
112
116
  }[] | undefined;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-26";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -107,6 +109,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
109
  }[]] | undefined;
108
110
  readonly compatibilityDate: "2026-05-26";
109
111
  readonly triggers?: readonly {
112
+ readonly params?: unknown;
113
+ readonly compatibilityDate?: string | undefined;
110
114
  readonly target: string;
111
115
  readonly operation: string;
112
116
  }[] | undefined;
@@ -223,6 +223,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
223
223
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
224
224
  target: Schema.refine<string, typeof Schema.String>;
225
225
  operation: Schema.SchemaClass<string, string, never>;
226
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
227
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
226
228
  }>>>;
227
229
  title: Schema.TupleType<readonly [Schema.Struct<{
228
230
  locale: Schema.Literal<["zh"]>;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-26";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -107,6 +109,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
109
  }[]] | undefined;
108
110
  readonly compatibilityDate: "2026-05-26";
109
111
  readonly triggers?: readonly {
112
+ readonly params?: unknown;
113
+ readonly compatibilityDate?: string | undefined;
110
114
  readonly target: string;
111
115
  readonly operation: string;
112
116
  }[] | undefined;
@@ -26,6 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-26";
28
28
  readonly triggers?: readonly {
29
+ readonly params?: unknown;
30
+ readonly compatibilityDate?: string | undefined;
29
31
  readonly target: string;
30
32
  readonly operation: string;
31
33
  }[] | undefined;
@@ -107,6 +109,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
109
  }[]] | undefined;
108
110
  readonly compatibilityDate: "2026-05-26";
109
111
  readonly triggers?: readonly {
112
+ readonly params?: unknown;
113
+ readonly compatibilityDate?: string | undefined;
110
114
  readonly target: string;
111
115
  readonly operation: string;
112
116
  }[] | undefined;
@@ -223,6 +223,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
223
223
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
224
224
  target: Schema.refine<string, typeof Schema.String>;
225
225
  operation: Schema.SchemaClass<string, string, never>;
226
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
227
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
226
228
  }>>>;
227
229
  title: Schema.TupleType<readonly [Schema.Struct<{
228
230
  locale: Schema.Literal<["zh"]>;
@@ -84,6 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly onChange?: string | undefined;
85
85
  readonly kind: "remote";
86
86
  readonly triggers?: readonly {
87
+ readonly params?: unknown;
88
+ readonly compatibilityDate?: string | undefined;
87
89
  readonly target: string;
88
90
  readonly operation: string;
89
91
  }[] | undefined;
@@ -173,6 +175,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
173
175
  readonly onChange?: string | undefined;
174
176
  readonly kind: "remote";
175
177
  readonly triggers?: readonly {
178
+ readonly params?: unknown;
179
+ readonly compatibilityDate?: string | undefined;
176
180
  readonly target: string;
177
181
  readonly operation: string;
178
182
  }[] | undefined;
@@ -84,6 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly onChange?: string | undefined;
85
85
  readonly kind: "remote";
86
86
  readonly triggers?: readonly {
87
+ readonly params?: unknown;
88
+ readonly compatibilityDate?: string | undefined;
87
89
  readonly target: string;
88
90
  readonly operation: string;
89
91
  }[] | undefined;
@@ -173,6 +175,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
173
175
  readonly onChange?: string | undefined;
174
176
  readonly kind: "remote";
175
177
  readonly triggers?: readonly {
178
+ readonly params?: unknown;
179
+ readonly compatibilityDate?: string | undefined;
176
180
  readonly target: string;
177
181
  readonly operation: string;
178
182
  }[] | undefined;
@@ -152,6 +152,8 @@ export declare function writeSchema(configure: (env: Environment) => void): Sche
152
152
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
153
153
  target: Schema.refine<string, typeof Schema.String>;
154
154
  operation: Schema.SchemaClass<string, string, never>;
155
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
156
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
155
157
  }>>>;
156
158
  }>]>;
157
159
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
@@ -267,6 +269,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
267
269
  triggers: Schema.optional<Schema.Array$<Schema.Struct<{
268
270
  target: Schema.refine<string, typeof Schema.String>;
269
271
  operation: Schema.SchemaClass<string, string, never>;
272
+ compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
273
+ params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
270
274
  }>>>;
271
275
  }>]>, {
272
276
  default: () => {
@@ -84,6 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly onChange?: string | undefined;
85
85
  readonly kind: "remote";
86
86
  readonly triggers?: readonly {
87
+ readonly params?: unknown;
88
+ readonly compatibilityDate?: string | undefined;
87
89
  readonly target: string;
88
90
  readonly operation: string;
89
91
  }[] | undefined;
@@ -173,6 +175,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
173
175
  readonly onChange?: string | undefined;
174
176
  readonly kind: "remote";
175
177
  readonly triggers?: readonly {
178
+ readonly params?: unknown;
179
+ readonly compatibilityDate?: string | undefined;
176
180
  readonly target: string;
177
181
  readonly operation: string;
178
182
  }[] | undefined;
@@ -84,6 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly onChange?: string | undefined;
85
85
  readonly kind: "remote";
86
86
  readonly triggers?: readonly {
87
+ readonly params?: unknown;
88
+ readonly compatibilityDate?: string | undefined;
87
89
  readonly target: string;
88
90
  readonly operation: string;
89
91
  }[] | undefined;
@@ -173,6 +175,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
173
175
  readonly onChange?: string | undefined;
174
176
  readonly kind: "remote";
175
177
  readonly triggers?: readonly {
178
+ readonly params?: unknown;
179
+ readonly compatibilityDate?: string | undefined;
176
180
  readonly target: string;
177
181
  readonly operation: string;
178
182
  }[] | undefined;