processfocus 0.1.0-next.2 → 0.1.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{auth-FmXptohB.mjs → auth-DWWupwJA.mjs} +57 -24
  2. package/dist/auth-config/src/lib/authentication-config.d.ts +13 -8
  3. package/dist/auth-config/src/lib/aws-role-binding.d.ts +21 -0
  4. package/dist/auth-config/src/lib/provider-types.d.ts +87 -76
  5. package/dist/auth-config/src/lib/workload-trust.d.ts +41 -0
  6. package/dist/auth.mjs +1 -2
  7. package/dist/business-calendar/src/lib/calendar-config.d.ts +73 -76
  8. package/dist/business-calendar/src/lib/calendar-period.d.ts +30 -30
  9. package/dist/business-calendar/src/lib/calendar-service.d.ts +10 -10
  10. package/dist/business-calendar/src/lib/datetime-utils.d.ts +1 -1
  11. package/dist/business-calendar/src/lib/holidays.d.ts +40 -40
  12. package/dist/business-calendar/src/lib/types.d.ts +29 -29
  13. package/dist/calendar.mjs +73 -63
  14. package/dist/form-schema/src/index.d.ts +4 -1
  15. package/dist/form-schema/src/lib/annotation-helpers.d.ts +2 -2
  16. package/dist/form-schema/src/lib/email.d.ts +2 -2
  17. package/dist/form-schema/src/lib/field-count.d.ts +2 -2
  18. package/dist/form-schema/src/lib/form-annotations.d.ts +6 -0
  19. package/dist/form-schema/src/lib/form-presentation.d.ts +30 -0
  20. package/dist/form-schema/src/lib/form-schema.d.ts +64 -34
  21. package/dist/form-schema/src/lib/number-from-string.d.ts +3 -0
  22. package/dist/form-schema/src/lib/phone.d.ts +2 -2
  23. package/dist/form-schema/src/lib/public-completion-correction.d.ts +5 -0
  24. package/dist/form-schema/src/lib/search-lookup-items.d.ts +3 -0
  25. package/dist/form-submission-schema/src/index.d.ts +3 -0
  26. package/dist/form-submission-schema/src/lib/executable-rules.d.ts +43 -0
  27. package/dist/form-submission-schema/src/lib/form-submission-schema.d.ts +33 -10
  28. package/dist/form-submission-schema/src/lib/json-schema.d.ts +3 -0
  29. package/dist/form-submission-schema/src/lib/submission-utils.d.ts +19 -0
  30. package/dist/forms.mjs +26 -2
  31. package/dist/frontend-manifest/src/lib/browser-plugin-artifact.d.ts +9 -0
  32. package/dist/frontend-manifest/src/lib/frontend-manifest.d.ts +8 -6
  33. package/dist/frontend-plugin-host/src/lib/frontend-plugin-host.d.ts +11 -1
  34. package/dist/index.d.ts +1 -1
  35. package/dist/index.mjs +466 -972
  36. package/dist/manifest.mjs +1 -2
  37. package/dist/plugin.mjs +1 -2
  38. package/dist/process/src/lib/form-authoring.d.ts +1 -1
  39. package/dist/process/src/lib/form-decoration.d.ts +3 -3
  40. package/dist/process/src/lib/form.d.ts +61 -97
  41. package/dist/process/src/lib/list.d.ts +36 -23
  42. package/dist/process/src/lib/lookup-accessor.d.ts +4 -1
  43. package/dist/process/src/lib/organisation.d.ts +14 -0
  44. package/dist/process/src/lib/process.d.ts +24 -2
  45. package/dist/process/src/lib/schedule.d.ts +1 -1
  46. package/dist/process/src/lib/step.d.ts +13 -3
  47. package/dist/process/src/lib/system-step-executor.d.ts +4 -4
  48. package/dist/process/src/lib/system-step.d.ts +11 -1
  49. package/dist/sdk/src/index.d.ts +1 -1
  50. package/dist/sdk/src/testing.d.ts +0 -1
  51. package/dist/{src-C-909PVQ.mjs → src-BQ55-khF.mjs} +118 -66
  52. package/dist/testing.d.ts +0 -1
  53. package/dist/testing.mjs +2 -4
  54. package/package.json +4 -4
  55. package/dist/form-client-representation/src/index.d.ts +0 -6
  56. package/dist/form-client-representation/src/lib/as-client-representation.d.ts +0 -31
  57. package/dist/form-client-representation/src/lib/client-form-definition.d.ts +0 -17
  58. package/dist/form-client-representation/src/lib/extract-annotations.d.ts +0 -20
  59. package/dist/form-client-representation/src/lib/plugin-registry.d.ts +0 -6
  60. package/dist/form-client-representation/src/lib/types.d.ts +0 -239
  61. package/dist/form-client-representation/src/lib/walker.d.ts +0 -68
  62. package/dist/form-rule/src/index.d.ts +0 -3
  63. package/dist/form-rule/src/lib/evaluator.d.ts +0 -2
  64. package/dist/form-rule/src/lib/paths.d.ts +0 -9
  65. package/dist/form-rule/src/lib/types.d.ts +0 -89
  66. package/dist/form-schema/src/lib/property-signature.d.ts +0 -3
  67. package/dist/paths-BkzLn-rG.mjs +0 -282
@@ -1,239 +0,0 @@
1
- import type { Schema } from "effect";
2
- import type { CalendarSlotCalendarMetadata, LinkButtonColor, MetricBreakdownBucket, MetricBreakdownControl, MetricBreakdownField, RadioFieldMarker, RadioFieldOption } from "../../../form-schema/src/index.js";
3
- export type { CalendarSlotCalendarMetadata, CalendarSlotItem, CalendarSlotWeekday, FieldPermissionMetadata, LinkButtonColor, MetricBreakdownBucket, MetricBreakdownColor, MetricBreakdownControl, MetricBreakdownField, MetricBreakdownSelectorControl, MetricBreakdownSelectorOption, RadioFieldOption, } from "../../../form-schema/src/index.js";
4
- export interface ClientFieldPermissionMetadata {
5
- readonly modify: string;
6
- }
7
- /**
8
- * Enum of supported form component types
9
- */
10
- export declare enum FormComponentType {
11
- Text = "text",
12
- TextArea = "textarea",
13
- Number = "number",
14
- Date = "date",
15
- Email = "email",
16
- Phone = "phone",
17
- ProviderUser = "provider-user",
18
- Boolean = "boolean",
19
- Radio = "radio",
20
- Select = "select",
21
- File = "file",
22
- FieldSet = "fieldset",
23
- List = "list",
24
- Table = "table",
25
- Lookup = "lookup",
26
- CalendarSlot = "calendar-slot",
27
- MetricBreakdown = "metric-breakdown",
28
- Plugin = "plugin",
29
- Static = "static",
30
- Link = "link"
31
- }
32
- /**
33
- * Base metadata which all form components share
34
- */
35
- export interface BaseFormComponent {
36
- readonly _tag: FormComponentType;
37
- readonly label: string;
38
- readonly description?: string;
39
- readonly readonly?: boolean;
40
- readonly disabled?: boolean;
41
- readonly hidden?: boolean;
42
- readonly required?: boolean;
43
- readonly permission?: ClientFieldPermissionMetadata;
44
- }
45
- /**
46
- * Form components that represents an actual input field
47
- */
48
- export interface FormField extends BaseFormComponent {
49
- readonly field: string;
50
- readonly autoComplete?: string;
51
- }
52
- /**
53
- * Text input field
54
- */
55
- export interface TextField extends FormField {
56
- readonly _tag: FormComponentType.Text;
57
- }
58
- export interface SelectField extends FormField {
59
- readonly _tag: FormComponentType.Select;
60
- readonly options: readonly string[];
61
- /** Encoded value to restore when clearing an optional/nullable choice. */
62
- readonly emptyValue?: "null" | "undefined";
63
- }
64
- export interface TextAreaField extends FormField {
65
- readonly _tag: FormComponentType.TextArea;
66
- }
67
- /**
68
- * Number input field
69
- */
70
- export interface NumberField extends FormField {
71
- readonly _tag: FormComponentType.Number;
72
- }
73
- export interface DateField extends FormField {
74
- readonly _tag: FormComponentType.Date;
75
- }
76
- /**
77
- * Email input field
78
- */
79
- export interface EmailField extends FormField {
80
- readonly _tag: FormComponentType.Email;
81
- }
82
- /**
83
- * Phone input field
84
- */
85
- export interface PhoneField extends FormField {
86
- readonly _tag: FormComponentType.Phone;
87
- }
88
- export interface ProviderUserField extends FormField {
89
- readonly _tag: FormComponentType.ProviderUser;
90
- }
91
- /**
92
- * Boolean/checkbox field
93
- */
94
- export interface BooleanField extends FormField {
95
- readonly _tag: FormComponentType.Boolean;
96
- }
97
- export interface RadioField extends FormField {
98
- readonly _tag: FormComponentType.Radio;
99
- readonly options: readonly [RadioFieldOption, ...RadioFieldOption[]];
100
- }
101
- /**
102
- * File upload field.
103
- * The stored value is a fileId string; the UI handles upload via FileUploadContext.
104
- */
105
- export interface FileField extends FormField {
106
- readonly _tag: FormComponentType.File;
107
- readonly documentStore: string;
108
- readonly accept?: string;
109
- readonly maxSize?: number;
110
- }
111
- /**
112
- * Recursive type for form component children
113
- */
114
- export type FormComponentChildren = Record<string, FormComponent>;
115
- /**
116
- * Regular FieldSet that contributes to path hierarchy
117
- * Children paths include this FieldSet's name
118
- */
119
- export interface FieldSet<T extends FormComponentChildren = FormComponentChildren> extends BaseFormComponent {
120
- readonly _tag: FormComponentType.FieldSet;
121
- readonly children: T;
122
- }
123
- /**
124
- * Searchable lookup/select field.
125
- * The frontend uses stepPath + fieldName to call the GraphQL query for suggestions.
126
- *
127
- * For dependent lookups, `dependencies` lists the field names this lookup
128
- * depends on and `queryName` is the generated GraphQL query to call.
129
- */
130
- export interface LookupField extends FormField {
131
- readonly _tag: FormComponentType.Lookup;
132
- readonly dependencies?: ReadonlyArray<string>;
133
- readonly queryName?: string;
134
- readonly allowFreeText?: boolean;
135
- }
136
- export interface CalendarSlotField extends FormField {
137
- readonly _tag: FormComponentType.CalendarSlot;
138
- readonly timeZone: string;
139
- readonly locale: string;
140
- readonly calendar?: CalendarSlotCalendarMetadata;
141
- readonly emptyMessageHtml?: string;
142
- readonly loadErrorMessageHtml?: string;
143
- }
144
- /**
145
- * Plugin-provided field carried through the generic PluginField variant.
146
- * Keeps the discriminated union closed while supporting unlimited plugin types via pluginType.
147
- */
148
- export interface PluginField extends FormField {
149
- readonly _tag: FormComponentType.Plugin;
150
- readonly pluginType: string;
151
- readonly pluginData?: unknown;
152
- readonly scripts?: import("./plugin-registry.js").PluginScript[];
153
- }
154
- /**
155
- * List/array field whose items are structs.
156
- * Each item is rendered as a group of child form components.
157
- */
158
- export interface ListField extends BaseFormComponent {
159
- readonly _tag: FormComponentType.List;
160
- readonly field: string;
161
- readonly addButtonLabel?: string;
162
- readonly itemChildren: Record<string, FormComponent>;
163
- }
164
- /**
165
- * Read-only tabular display field whose rows are structs.
166
- */
167
- export interface TableField extends BaseFormComponent {
168
- readonly _tag: FormComponentType.Table;
169
- readonly field: string;
170
- readonly itemChildren: Record<string, FormComponent>;
171
- }
172
- /**
173
- * Static text display (no input field).
174
- * Renders as read-only text content without any form input.
175
- */
176
- export interface StaticText extends BaseFormComponent {
177
- readonly _tag: FormComponentType.Static;
178
- readonly field: string;
179
- readonly content?: string;
180
- }
181
- export interface StaticLink extends Omit<BaseFormComponent, "label"> {
182
- readonly _tag: FormComponentType.Link;
183
- readonly field: string;
184
- readonly label?: string;
185
- readonly url: string;
186
- readonly text: string;
187
- readonly display?: "button";
188
- readonly color?: LinkButtonColor;
189
- }
190
- export interface MetricBreakdown extends BaseFormComponent {
191
- readonly _tag: FormComponentType.MetricBreakdown;
192
- readonly field: string;
193
- readonly title: string;
194
- readonly buckets: readonly MetricBreakdownBucket[];
195
- readonly badge?: string;
196
- readonly currency?: string;
197
- readonly fields?: readonly MetricBreakdownField[];
198
- readonly controls?: readonly MetricBreakdownControl[];
199
- readonly contextFields?: readonly string[];
200
- readonly dataSource?: "item";
201
- readonly rendererPluginType?: string;
202
- readonly rendererPluginData?: Record<string, unknown>;
203
- }
204
- /**
205
- * Union of all form component types
206
- */
207
- export type FormComponent = TextField | TextAreaField | NumberField | DateField | EmailField | PhoneField | ProviderUserField | BooleanField | RadioField | SelectField | FileField | LookupField | CalendarSlotField | FieldSet | ListField | TableField | PluginField | StaticText | StaticLink | MetricBreakdown;
208
- /**
209
- * Helper type that forces TypeScript to evaluate and display the full type
210
- * instead of showing the mapped type structure
211
- */
212
- type Prettify<T> = {
213
- [K in keyof T]: T[K];
214
- } & {};
215
- /**
216
- * Type-level mapping from Effect Schema.Struct to client form representation
217
- *
218
- * Maps each field in the schema to its corresponding form component,
219
- * preserving exact property names and structure.
220
- *
221
- * Only accepts Schema.Struct types.
222
- */
223
- export type ClientRepresentation<S> = S extends Schema.Struct<infer Fields> ? Prettify<MapFieldsToComponents<Fields>> : never;
224
- /**
225
- * Maps Schema.Struct.Fields to form components
226
- *
227
- * Iterates over each field and maps the schema type to the appropriate component
228
- */
229
- type MapFieldsToComponents<Fields extends Schema.Struct.Fields> = {
230
- [K in keyof Fields]: MapSchemaToComponent<Fields[K]>;
231
- };
232
- /**
233
- * Maps a single Schema to its form component type
234
- *
235
- * Determines the component type based on the schema's decoded (Type) type.
236
- * All nested structs are treated as regular FieldSets (flattening is
237
- * only relevant for submission schema).
238
- */
239
- type MapSchemaToComponent<S> = S extends RadioFieldMarker ? RadioField : S extends Schema.Literal<infer Values> ? Values[number] extends string ? SelectField : FormComponent : S extends Schema.Struct<infer NestedFields> ? FieldSet<Prettify<MapFieldsToComponents<NestedFields>>> : S extends Schema.Schema<infer A, infer I> ? I extends string | null | undefined ? TextField | SelectField : I extends number | null | undefined ? NumberField : I extends boolean | null | undefined ? BooleanField : A extends ReadonlyArray<unknown> ? ListField | TableField : A extends object ? FieldSet : FormComponent : FormComponent;
@@ -1,68 +0,0 @@
1
- import { Effect } from "effect";
2
- import * as AST from "effect/SchemaAST";
3
- import type { FormComponent } from "./types.js";
4
- declare const UnknownSchemaFieldTypeError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
5
- readonly _tag: "UnknownSchemaFieldTypeError";
6
- } & Readonly<A>;
7
- /**
8
- * Error types for walker failures
9
- */
10
- export declare class UnknownSchemaFieldTypeError extends UnknownSchemaFieldTypeError_base<{
11
- readonly fieldName: string;
12
- readonly schemaType: string;
13
- }> {
14
- get message(): string;
15
- }
16
- declare const IndexSignaturesNotSupportedError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
17
- readonly _tag: "IndexSignaturesNotSupportedError";
18
- } & Readonly<A>;
19
- export declare class IndexSignaturesNotSupportedError extends IndexSignaturesNotSupportedError_base<{}> {
20
- get message(): string;
21
- }
22
- declare const UnrecognizedASTNodeError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
23
- readonly _tag: "UnrecognizedASTNodeError";
24
- } & Readonly<A>;
25
- export declare class UnrecognizedASTNodeError extends UnrecognizedASTNodeError_base<{
26
- readonly nodeTag: string;
27
- }> {
28
- get message(): string;
29
- }
30
- declare const InvalidPropertyKeyError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
31
- readonly _tag: "InvalidPropertyKeyError";
32
- } & Readonly<A>;
33
- export declare class InvalidPropertyKeyError extends InvalidPropertyKeyError_base<{
34
- readonly propertyKey: PropertyKey;
35
- }> {
36
- get message(): string;
37
- }
38
- declare const InvalidFieldPermissionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
39
- readonly _tag: "InvalidFieldPermissionError";
40
- } & Readonly<A>;
41
- export declare class InvalidFieldPermissionError extends InvalidFieldPermissionError_base<{
42
- readonly fieldName: string;
43
- readonly reason: string;
44
- }> {
45
- get message(): string;
46
- }
47
- declare const InvalidStaticLinkError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
48
- readonly _tag: "InvalidStaticLinkError";
49
- } & Readonly<A>;
50
- export declare class InvalidStaticLinkError extends InvalidStaticLinkError_base<{
51
- readonly fieldName: string;
52
- readonly url: unknown;
53
- readonly text: unknown;
54
- }> {
55
- get message(): string;
56
- }
57
- /**
58
- * Union of all walker error types
59
- */
60
- export type WalkError = UnknownSchemaFieldTypeError | IndexSignaturesNotSupportedError | UnrecognizedASTNodeError | InvalidPropertyKeyError | InvalidFieldPermissionError | InvalidStaticLinkError;
61
- /**
62
- * Main walker function that processes Effect Schema AST and emits form structure
63
- *
64
- * @param ast - The Effect Schema AST to walk
65
- * @param parentPath - Current path prefix for building field paths
66
- */
67
- export declare const walkAST: (ast: AST.AST, parentPath?: string, nestingDepth?: number) => Effect.Effect<Record<string, FormComponent>, WalkError>;
68
- export {};
@@ -1,3 +0,0 @@
1
- export { evaluateFormRules } from "./lib/evaluator.js";
2
- export { formRuleConditionPaths, formRuleReferencesFieldNames, } from "./lib/paths.js";
3
- export type { FormRule, FormRuleEffect, FormRuleEvaluationInput, FormRuleEvaluationResult, FormRuleExpression, FormRuleLiteral, FormRulePath, FormRulePathSegment, FormRuleTargetState, FormRuleTargetStateEntry, FormRuleValueSource, FormRuleValues, OrderingOperator, RuleValue, } from "./lib/types.js";
@@ -1,2 +0,0 @@
1
- import type { FormRuleEvaluationInput, FormRuleEvaluationResult } from "./types.js";
2
- export declare function evaluateFormRules(input: FormRuleEvaluationInput): FormRuleEvaluationResult;
@@ -1,9 +0,0 @@
1
- import type { FormRule, FormRuleExpression, FormRulePath } from "./types.js";
2
- export declare const formRuleConditionPaths: ({ expression, }: {
3
- readonly expression: FormRuleExpression;
4
- }) => readonly FormRulePath[];
5
- /** Whether any condition, effect, or otherwise path references a field name. */
6
- export declare const formRuleReferencesFieldNames: ({ rule, fieldNames, }: {
7
- readonly rule: FormRule;
8
- readonly fieldNames: ReadonlySet<string>;
9
- }) => boolean;
@@ -1,89 +0,0 @@
1
- export type FormRuleLiteral = string | number | boolean | null | readonly FormRuleLiteral[];
2
- export type FormRuleValues = Readonly<Record<string, unknown>>;
3
- export type FormRuleValueSource = "current" | "base";
4
- export type FormRulePathSegment = string | number;
5
- export type FormRulePath = readonly FormRulePathSegment[];
6
- export type RuleValue = {
7
- readonly _tag: "literal";
8
- readonly value: FormRuleLiteral;
9
- } | {
10
- readonly _tag: "field";
11
- readonly path: FormRulePath;
12
- readonly source?: FormRuleValueSource;
13
- };
14
- export type OrderingOperator = "lt" | "lte" | "gt" | "gte";
15
- export type FormRuleExpression = {
16
- readonly _tag: "equals";
17
- readonly left: RuleValue;
18
- readonly right: RuleValue;
19
- } | {
20
- readonly _tag: "notEquals";
21
- readonly left: RuleValue;
22
- readonly right: RuleValue;
23
- } | {
24
- readonly _tag: "in";
25
- readonly value: RuleValue;
26
- readonly candidates: RuleValue;
27
- } | {
28
- readonly _tag: "notIn";
29
- readonly value: RuleValue;
30
- readonly candidates: RuleValue;
31
- } | {
32
- readonly _tag: "blank";
33
- readonly value: RuleValue;
34
- } | {
35
- readonly _tag: "present";
36
- readonly value: RuleValue;
37
- } | {
38
- readonly _tag: "and";
39
- readonly expressions: readonly FormRuleExpression[];
40
- } | {
41
- readonly _tag: "or";
42
- readonly expressions: readonly FormRuleExpression[];
43
- } | {
44
- readonly _tag: "not";
45
- readonly expression: FormRuleExpression;
46
- } | {
47
- readonly _tag: "numberOrder";
48
- readonly operator: OrderingOperator;
49
- readonly left: RuleValue;
50
- readonly right: RuleValue;
51
- } | {
52
- readonly _tag: "stringOrder";
53
- readonly operator: OrderingOperator;
54
- readonly left: RuleValue;
55
- readonly right: RuleValue;
56
- } | {
57
- readonly _tag: "dateOrder";
58
- readonly operator: OrderingOperator;
59
- readonly left: RuleValue;
60
- readonly right: RuleValue;
61
- };
62
- export interface FormRuleTargetState {
63
- readonly hidden?: boolean;
64
- readonly disabled?: boolean;
65
- readonly required?: boolean;
66
- readonly label?: string;
67
- }
68
- export interface FormRuleEffect {
69
- readonly target: FormRulePath;
70
- readonly state: FormRuleTargetState;
71
- }
72
- export interface FormRuleTargetStateEntry {
73
- readonly path: FormRulePath;
74
- readonly state: FormRuleTargetState;
75
- }
76
- export interface FormRule {
77
- readonly condition: FormRuleExpression;
78
- readonly effects: readonly FormRuleEffect[];
79
- readonly otherwise?: readonly FormRuleEffect[];
80
- }
81
- export interface FormRuleEvaluationInput {
82
- readonly rules: readonly FormRule[];
83
- readonly values: FormRuleValues;
84
- readonly baseValues?: FormRuleValues;
85
- readonly baseState?: readonly FormRuleTargetStateEntry[];
86
- }
87
- export interface FormRuleEvaluationResult {
88
- readonly targets: readonly FormRuleTargetStateEntry[];
89
- }
@@ -1,3 +0,0 @@
1
- import { Schema, type SchemaAST } from "effect";
2
- /** Map field schemas while retaining Effect's property-level decoding contract. */
3
- export declare const mapFormPropertySignature: (field: Schema.PropertySignature.All, map: (ast: SchemaAST.AST, side: "input" | "output") => SchemaAST.AST, mapAnnotations?: (annotations: SchemaAST.Annotations, input: SchemaAST.AST, side: "input" | "output") => SchemaAST.Annotations) => Schema.PropertySignature.All;