@elaraai/e3-ui 1.0.94 → 1.0.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/allocation/adapters.d.ts +159 -0
- package/dist/src/allocation/adapters.d.ts.map +1 -0
- package/dist/src/allocation/adapters.js +241 -0
- package/dist/src/allocation/adapters.js.map +1 -0
- package/dist/src/allocation/functions.d.ts +664 -0
- package/dist/src/allocation/functions.d.ts.map +1 -0
- package/dist/src/allocation/functions.js +782 -0
- package/dist/src/allocation/functions.js.map +1 -0
- package/dist/src/allocation/index.d.ts +2985 -0
- package/dist/src/allocation/index.d.ts.map +1 -0
- package/dist/src/allocation/index.js +499 -0
- package/dist/src/allocation/index.js.map +1 -0
- package/dist/src/allocation/types.d.ts +832 -0
- package/dist/src/allocation/types.d.ts.map +1 -0
- package/dist/src/allocation/types.js +360 -0
- package/dist/src/allocation/types.js.map +1 -0
- package/dist/src/bind/func.d.ts +14 -0
- package/dist/src/bind/func.d.ts.map +1 -1
- package/dist/src/bind/func.js +22 -1
- package/dist/src/bind/func.js.map +1 -1
- package/dist/src/calendar/index.d.ts +510 -1639
- package/dist/src/calendar/index.d.ts.map +1 -1
- package/dist/src/calendar/index.js +56 -29
- package/dist/src/calendar/index.js.map +1 -1
- package/dist/src/flowchart/canvas.d.ts +9 -21
- package/dist/src/flowchart/canvas.d.ts.map +1 -1
- package/dist/src/flowchart/canvas.js +10 -22
- package/dist/src/flowchart/canvas.js.map +1 -1
- package/dist/src/flowchart/flowchart.d.ts +19 -13
- package/dist/src/flowchart/flowchart.d.ts.map +1 -1
- package/dist/src/flowchart/flowchart.js.map +1 -1
- package/dist/src/flowchart/index.d.ts +44 -21
- package/dist/src/flowchart/index.d.ts.map +1 -1
- package/dist/src/flowchart/index.js +43 -20
- package/dist/src/flowchart/index.js.map +1 -1
- package/dist/src/flowchart/library.d.ts +166 -81
- package/dist/src/flowchart/library.d.ts.map +1 -1
- package/dist/src/flowchart/library.js +232 -105
- package/dist/src/flowchart/library.js.map +1 -1
- package/dist/src/flowchart/over.d.ts +9 -16
- package/dist/src/flowchart/over.d.ts.map +1 -1
- package/dist/src/flowchart/over.js +9 -16
- package/dist/src/flowchart/over.js.map +1 -1
- package/dist/src/flowchart/payload.d.ts +710 -508
- package/dist/src/flowchart/payload.d.ts.map +1 -1
- package/dist/src/flowchart/payload.js +128 -74
- package/dist/src/flowchart/payload.js.map +1 -1
- package/dist/src/flowchart/window.d.ts +132 -347
- package/dist/src/flowchart/window.d.ts.map +1 -1
- package/dist/src/flowchart/window.js +48 -55
- package/dist/src/flowchart/window.js.map +1 -1
- package/dist/src/index.d.ts +11 -7
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +14 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +18 -7
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +28 -9
- package/dist/src/internal.js.map +1 -1
- package/dist/src/plan/event-rows.d.ts +26 -10
- package/dist/src/plan/event-rows.d.ts.map +1 -1
- package/dist/src/plan/event-rows.js +39 -13
- package/dist/src/plan/event-rows.js.map +1 -1
- package/dist/src/plan/ir.d.ts +244 -815
- package/dist/src/plan/ir.d.ts.map +1 -1
- package/dist/src/plan/ir.js +8 -6
- package/dist/src/plan/ir.js.map +1 -1
- package/dist/src/plan/library.d.ts +3 -0
- package/dist/src/plan/library.d.ts.map +1 -1
- package/dist/src/plan/library.js +1 -1
- package/dist/src/plan/library.js.map +1 -1
- package/dist/src/plan/ordered-source.d.ts +1 -0
- package/dist/src/plan/ordered-source.d.ts.map +1 -1
- package/dist/src/plan/plan.d.ts +559 -1667
- package/dist/src/plan/plan.d.ts.map +1 -1
- package/dist/src/plan/plan.js +123 -45
- package/dist/src/plan/plan.js.map +1 -1
- package/dist/src/plan/root.d.ts +16 -20
- package/dist/src/plan/root.d.ts.map +1 -1
- package/dist/src/plan/root.js +23 -33
- package/dist/src/plan/root.js.map +1 -1
- package/dist/src/roster/coverage.d.ts +17 -231
- package/dist/src/roster/coverage.d.ts.map +1 -1
- package/dist/src/roster/coverage.js +94 -90
- package/dist/src/roster/coverage.js.map +1 -1
- package/dist/src/roster/fit.d.ts +59 -0
- package/dist/src/roster/fit.d.ts.map +1 -0
- package/dist/src/roster/fit.js +155 -0
- package/dist/src/roster/fit.js.map +1 -0
- package/dist/src/roster/index.d.ts +2862 -3662
- package/dist/src/roster/index.d.ts.map +1 -1
- package/dist/src/roster/index.js +383 -81
- package/dist/src/roster/index.js.map +1 -1
- package/dist/src/roster/library.d.ts +37 -92
- package/dist/src/roster/library.d.ts.map +1 -1
- package/dist/src/roster/library.js +25 -64
- package/dist/src/roster/library.js.map +1 -1
- package/dist/src/roster/lists.d.ts +195 -0
- package/dist/src/roster/lists.d.ts.map +1 -0
- package/dist/src/roster/lists.js +233 -0
- package/dist/src/roster/lists.js.map +1 -0
- package/dist/src/roster/rules.d.ts +17 -260
- package/dist/src/roster/rules.d.ts.map +1 -1
- package/dist/src/roster/rules.js +135 -132
- package/dist/src/roster/rules.js.map +1 -1
- package/dist/src/roster/targets.d.ts +115 -0
- package/dist/src/roster/targets.d.ts.map +1 -0
- package/dist/src/roster/targets.js +213 -0
- package/dist/src/roster/targets.js.map +1 -0
- package/dist/src/roster/times.d.ts +251 -0
- package/dist/src/roster/times.d.ts.map +1 -0
- package/dist/src/roster/times.js +174 -0
- package/dist/src/roster/times.js.map +1 -0
- package/dist/src/roster/types.d.ts +828 -183
- package/dist/src/roster/types.d.ts.map +1 -1
- package/dist/src/roster/types.js +224 -97
- package/dist/src/roster/types.js.map +1 -1
- package/dist/src/schedule/accessor.d.ts +28 -0
- package/dist/src/schedule/accessor.d.ts.map +1 -0
- package/dist/src/schedule/accessor.js +39 -0
- package/dist/src/schedule/accessor.js.map +1 -0
- package/dist/src/schedule/events.d.ts +170 -42
- package/dist/src/schedule/events.d.ts.map +1 -1
- package/dist/src/schedule/events.js +431 -171
- package/dist/src/schedule/events.js.map +1 -1
- package/dist/src/schedule/index.d.ts +41 -4
- package/dist/src/schedule/index.d.ts.map +1 -1
- package/dist/src/schedule/index.js +35 -3
- package/dist/src/schedule/index.js.map +1 -1
- package/dist/src/schedule/library.d.ts +13 -3
- package/dist/src/schedule/library.d.ts.map +1 -1
- package/dist/src/schedule/library.js +11 -4
- package/dist/src/schedule/library.js.map +1 -1
- package/dist/src/schedule/periods.d.ts +115 -0
- package/dist/src/schedule/periods.d.ts.map +1 -0
- package/dist/src/schedule/periods.js +215 -0
- package/dist/src/schedule/periods.js.map +1 -0
- package/dist/src/schedule/record-window.d.ts +25 -3
- package/dist/src/schedule/record-window.d.ts.map +1 -1
- package/dist/src/schedule/record-window.js +31 -18
- package/dist/src/schedule/record-window.js.map +1 -1
- package/dist/src/schedule/resources.d.ts +82 -4
- package/dist/src/schedule/resources.d.ts.map +1 -1
- package/dist/src/schedule/resources.js +44 -14
- package/dist/src/schedule/resources.js.map +1 -1
- package/dist/src/schedule/session.d.ts +69 -0
- package/dist/src/schedule/session.d.ts.map +1 -0
- package/dist/src/schedule/session.js +121 -0
- package/dist/src/schedule/session.js.map +1 -0
- package/dist/src/schedule/templates.d.ts +14 -2
- package/dist/src/schedule/templates.d.ts.map +1 -1
- package/dist/src/schedule/templates.js +5 -3
- package/dist/src/schedule/templates.js.map +1 -1
- package/dist/src/schedule/types.d.ts +1671 -37
- package/dist/src/schedule/types.d.ts.map +1 -1
- package/dist/src/schedule/types.js +196 -5
- package/dist/src/schedule/types.js.map +1 -1
- package/dist/src/schedule/window.d.ts +14 -0
- package/dist/src/schedule/window.d.ts.map +1 -1
- package/dist/src/schedule/window.js +14 -4
- package/dist/src/schedule/window.js.map +1 -1
- package/dist/src/schedule/words.d.ts +22 -0
- package/dist/src/schedule/words.d.ts.map +1 -0
- package/dist/src/schedule/words.js +25 -0
- package/dist/src/schedule/words.js.map +1 -0
- package/dist/src/sheet/index.d.ts +61 -27
- package/dist/src/sheet/index.d.ts.map +1 -1
- package/dist/src/sheet/index.js +59 -25
- package/dist/src/sheet/index.js.map +1 -1
- package/dist/src/sheet/library.d.ts +21 -3
- package/dist/src/sheet/library.d.ts.map +1 -1
- package/dist/src/sheet/library.js +23 -6
- package/dist/src/sheet/library.js.map +1 -1
- package/dist/src/sheet/registers.d.ts +100 -85
- package/dist/src/sheet/registers.d.ts.map +1 -1
- package/dist/src/sheet/registers.js +100 -85
- package/dist/src/sheet/registers.js.map +1 -1
- package/dist/src/sheet/root.d.ts +8 -12
- package/dist/src/sheet/root.d.ts.map +1 -1
- package/dist/src/sheet/root.js +6 -40
- package/dist/src/sheet/root.js.map +1 -1
- package/dist/src/sheet/sheet.d.ts +598 -2349
- package/dist/src/sheet/sheet.d.ts.map +1 -1
- package/dist/src/sheet/sheet.js +124 -37
- package/dist/src/sheet/sheet.js.map +1 -1
- package/dist/src/sheet/sub-rows.d.ts +74 -28
- package/dist/src/sheet/sub-rows.d.ts.map +1 -1
- package/dist/src/sheet/sub-rows.js +74 -28
- package/dist/src/sheet/sub-rows.js.map +1 -1
- package/dist/src/sheet/templates.d.ts +98 -34
- package/dist/src/sheet/templates.d.ts.map +1 -1
- package/dist/src/sheet/templates.js +102 -58
- package/dist/src/sheet/templates.js.map +1 -1
- package/dist/src/sheet/types.d.ts +289 -1359
- package/dist/src/sheet/types.d.ts.map +1 -1
- package/dist/src/sheet/types.js +20 -26
- package/dist/src/sheet/types.js.map +1 -1
- package/dist/src/sheet/views.d.ts +10 -11
- package/dist/src/sheet/views.d.ts.map +1 -1
- package/dist/src/sheet/views.js +15 -20
- package/dist/src/sheet/views.js.map +1 -1
- package/dist/src/{roster/visibility.d.ts → utils/key-visibility.d.ts} +42 -7
- package/dist/src/utils/key-visibility.d.ts.map +1 -0
- package/dist/src/utils/key-visibility.js +36 -0
- package/dist/src/utils/key-visibility.js.map +1 -0
- package/dist/src/utils/ordered-source.d.ts +1 -0
- package/dist/src/utils/ordered-source.d.ts.map +1 -1
- package/dist/src/utils/ordered-source.js +8 -3
- package/dist/src/utils/ordered-source.js.map +1 -1
- package/dist/src/utils/record-sources.d.ts +107 -0
- package/dist/src/utils/record-sources.d.ts.map +1 -0
- package/dist/src/utils/record-sources.js +132 -0
- package/dist/src/utils/record-sources.js.map +1 -0
- package/dist/test/allocation/allocation.examples.d.ts +2902 -0
- package/dist/test/allocation/allocation.examples.d.ts.map +1 -0
- package/dist/test/allocation/allocation.examples.js +643 -0
- package/dist/test/allocation/allocation.examples.js.map +1 -0
- package/dist/test/allocation/fit.examples.d.ts +546 -0
- package/dist/test/allocation/fit.examples.d.ts.map +1 -0
- package/dist/test/allocation/fit.examples.js +171 -0
- package/dist/test/allocation/fit.examples.js.map +1 -0
- package/dist/test/allocation/kiln-yard.d.ts +181 -0
- package/dist/test/allocation/kiln-yard.d.ts.map +1 -0
- package/dist/test/allocation/kiln-yard.js +228 -0
- package/dist/test/allocation/kiln-yard.js.map +1 -0
- package/dist/test/bind/data/data.examples.d.ts +651 -1
- package/dist/test/bind/data/data.examples.d.ts.map +1 -1
- package/dist/test/bind/data/data.examples.js +140 -2
- package/dist/test/bind/data/data.examples.js.map +1 -1
- package/dist/test/bind/func/func.examples.d.ts +10 -1
- package/dist/test/bind/func/func.examples.d.ts.map +1 -1
- package/dist/test/bind/func/func.examples.js +8 -1
- package/dist/test/bind/func/func.examples.js.map +1 -1
- package/dist/test/bind/record/record.examples.d.ts +633 -1
- package/dist/test/bind/record/record.examples.d.ts.map +1 -1
- package/dist/test/bind/record/record.examples.js +26 -2
- package/dist/test/bind/record/record.examples.js.map +1 -1
- package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar-records.examples.js +18 -14
- package/dist/test/calendar/calendar-records.examples.js.map +1 -1
- package/dist/test/calendar/calendar.examples.d.ts +521 -16
- package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar.examples.js +182 -135
- package/dist/test/calendar/calendar.examples.js.map +1 -1
- package/dist/test/examples-package.d.ts +75 -0
- package/dist/test/examples-package.d.ts.map +1 -0
- package/dist/test/examples-package.js +263 -0
- package/dist/test/examples-package.js.map +1 -0
- package/dist/test/flowchart/flowchart.examples.d.ts +211 -19
- package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
- package/dist/test/flowchart/flowchart.examples.js +102 -75
- package/dist/test/flowchart/flowchart.examples.js.map +1 -1
- package/dist/test/plan/plan-events.examples.d.ts +1439 -209
- package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-events.examples.js +199 -59
- package/dist/test/plan/plan-events.examples.js.map +1 -1
- package/dist/test/plan/plan-records.examples.d.ts +420 -0
- package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-records.examples.js +70 -19
- package/dist/test/plan/plan-records.examples.js.map +1 -1
- package/dist/test/plan/plan-windows.examples.d.ts +636 -55
- package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-windows.examples.js +69 -33
- package/dist/test/plan/plan-windows.examples.js.map +1 -1
- package/dist/test/plan/plan.examples.d.ts +153 -31
- package/dist/test/plan/plan.examples.d.ts.map +1 -1
- package/dist/test/plan/plan.examples.js +178 -101
- package/dist/test/plan/plan.examples.js.map +1 -1
- package/dist/test/roster/domain.examples.d.ts +467 -250
- package/dist/test/roster/domain.examples.d.ts.map +1 -1
- package/dist/test/roster/domain.examples.js +92 -29
- package/dist/test/roster/domain.examples.js.map +1 -1
- package/dist/test/roster/roster-records.examples.d.ts +430 -586
- package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
- package/dist/test/roster/roster-records.examples.js +102 -43
- package/dist/test/roster/roster-records.examples.js.map +1 -1
- package/dist/test/roster/roster.examples.d.ts +2319 -606
- package/dist/test/roster/roster.examples.d.ts.map +1 -1
- package/dist/test/roster/roster.examples.js +456 -148
- package/dist/test/roster/roster.examples.js.map +1 -1
- package/dist/test/roster/warehouse.d.ts +172 -63
- package/dist/test/roster/warehouse.d.ts.map +1 -1
- package/dist/test/roster/warehouse.js +172 -39
- package/dist/test/roster/warehouse.js.map +1 -1
- package/dist/test/schedule/schedule.examples.d.ts +3499 -0
- package/dist/test/schedule/schedule.examples.d.ts.map +1 -0
- package/dist/test/schedule/schedule.examples.js +192 -0
- package/dist/test/schedule/schedule.examples.js.map +1 -0
- package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet-records.examples.js +22 -18
- package/dist/test/sheet/sheet-records.examples.js.map +1 -1
- package/dist/test/sheet/sheet.examples.d.ts +715 -26
- package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet.examples.js +204 -130
- package/dist/test/sheet/sheet.examples.js.map +1 -1
- package/package.json +17 -10
- package/dist/src/roster/people.d.ts +0 -50
- package/dist/src/roster/people.d.ts.map +0 -1
- package/dist/src/roster/people.js +0 -32
- package/dist/src/roster/people.js.map +0 -1
- package/dist/src/roster/visibility.d.ts.map +0 -1
- package/dist/src/roster/visibility.js +0 -25
- package/dist/src/roster/visibility.js.map +0 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
*/
|
|
13
|
-
import { ArrayType, BlobType, BooleanType, DateTimeType, DictType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType } from "@elaraai/east";
|
|
13
|
+
import { ArrayType, BlobType, BooleanType, DateTimeType, DictType, FloatType, FunctionType, IntegerType, NullType, OptionType, SetType, StringType, StructType, VariantType } from "@elaraai/east";
|
|
14
14
|
/**
|
|
15
15
|
* A resource: its kind's slot name, and its key's text (a String key as it
|
|
16
16
|
* is, any other key as East prints it).
|
|
@@ -89,11 +89,11 @@ export declare const ScheduleClockType: StructType<{
|
|
|
89
89
|
export type ScheduleClockType = typeof ScheduleClockType;
|
|
90
90
|
/** How long something takes: the time contract's minutes, hours, days, weeks or months, as a Float. */
|
|
91
91
|
export declare const ScheduleDurationType: VariantType<{
|
|
92
|
-
readonly minutes:
|
|
93
|
-
readonly hours:
|
|
94
|
-
readonly days:
|
|
95
|
-
readonly weeks:
|
|
96
|
-
readonly months:
|
|
92
|
+
readonly minutes: FloatType;
|
|
93
|
+
readonly hours: FloatType;
|
|
94
|
+
readonly days: FloatType;
|
|
95
|
+
readonly weeks: FloatType;
|
|
96
|
+
readonly months: FloatType;
|
|
97
97
|
}>;
|
|
98
98
|
/** Type representing {@link ScheduleDurationType}. */
|
|
99
99
|
export type ScheduleDurationType = typeof ScheduleDurationType;
|
|
@@ -122,6 +122,63 @@ export declare const ScheduleCandidateType: StructType<{
|
|
|
122
122
|
}>;
|
|
123
123
|
/** Type representing {@link ScheduleCandidateType}. */
|
|
124
124
|
export type ScheduleCandidateType = typeof ScheduleCandidateType;
|
|
125
|
+
/**
|
|
126
|
+
* Why something does not fit: the refusal a fit gives, and what a run of
|
|
127
|
+
* refusals of one group gathers into one label (`Over max · by 4–13 m³`).
|
|
128
|
+
*
|
|
129
|
+
* @property group - Its group, the run label's lead (`Over max`, `Busy`, `Gap too short`)
|
|
130
|
+
* @property reason - Its words (`over max by 4 m³`)
|
|
131
|
+
* @property measure - What the run's label gathers: nothing, an amount (`by` 4) or a day (`until` Fri 14)
|
|
132
|
+
*/
|
|
133
|
+
export declare const ScheduleRefusalType: StructType<{
|
|
134
|
+
readonly group: StringType;
|
|
135
|
+
readonly reason: StringType;
|
|
136
|
+
readonly measure: VariantType<{
|
|
137
|
+
readonly none: NullType;
|
|
138
|
+
readonly amount: StructType<{
|
|
139
|
+
readonly lead: StringType;
|
|
140
|
+
readonly value: FloatType;
|
|
141
|
+
}>;
|
|
142
|
+
readonly day: StructType<{
|
|
143
|
+
readonly lead: StringType;
|
|
144
|
+
readonly at: DateTimeType;
|
|
145
|
+
}>;
|
|
146
|
+
}>;
|
|
147
|
+
}>;
|
|
148
|
+
/** Type representing {@link ScheduleRefusalType}. */
|
|
149
|
+
export type ScheduleRefusalType = typeof ScheduleRefusalType;
|
|
150
|
+
/**
|
|
151
|
+
* One verdict of a fit: it fits, with its score, its reason and a warning,
|
|
152
|
+
* or it is refused. A builder ranks the fits by score and shows each reason
|
|
153
|
+
* as it is; it computes none of its own.
|
|
154
|
+
*
|
|
155
|
+
* @property fits - It fits: higher scores rank first; `why` its reason (`3 d spare to Wed 19 · leaves 31 m³ · takes 20–40`); `warn` a warning it still fits with (`under min`)
|
|
156
|
+
* @property refused - It does not fit, and why
|
|
157
|
+
*/
|
|
158
|
+
export declare const ScheduleFitType: VariantType<{
|
|
159
|
+
readonly fits: StructType<{
|
|
160
|
+
readonly score: FloatType;
|
|
161
|
+
readonly why: StringType;
|
|
162
|
+
readonly warn: OptionType<StringType>;
|
|
163
|
+
}>;
|
|
164
|
+
readonly refused: StructType<{
|
|
165
|
+
readonly group: StringType;
|
|
166
|
+
readonly reason: StringType;
|
|
167
|
+
readonly measure: VariantType<{
|
|
168
|
+
readonly none: NullType;
|
|
169
|
+
readonly amount: StructType<{
|
|
170
|
+
readonly lead: StringType;
|
|
171
|
+
readonly value: FloatType;
|
|
172
|
+
}>;
|
|
173
|
+
readonly day: StructType<{
|
|
174
|
+
readonly lead: StringType;
|
|
175
|
+
readonly at: DateTimeType;
|
|
176
|
+
}>;
|
|
177
|
+
}>;
|
|
178
|
+
}>;
|
|
179
|
+
}>;
|
|
180
|
+
/** Type representing {@link ScheduleFitType}. */
|
|
181
|
+
export type ScheduleFitType = typeof ScheduleFitType;
|
|
125
182
|
/**
|
|
126
183
|
* One event, as every view draws it.
|
|
127
184
|
*
|
|
@@ -265,11 +322,11 @@ export declare const ScheduleTemplateType: StructType<{
|
|
|
265
322
|
readonly minute: IntegerType;
|
|
266
323
|
}>>;
|
|
267
324
|
readonly duration: VariantType<{
|
|
268
|
-
readonly minutes:
|
|
269
|
-
readonly hours:
|
|
270
|
-
readonly days:
|
|
271
|
-
readonly weeks:
|
|
272
|
-
readonly months:
|
|
325
|
+
readonly minutes: FloatType;
|
|
326
|
+
readonly hours: FloatType;
|
|
327
|
+
readonly days: FloatType;
|
|
328
|
+
readonly weeks: FloatType;
|
|
329
|
+
readonly months: FloatType;
|
|
273
330
|
}>;
|
|
274
331
|
readonly values: BlobType;
|
|
275
332
|
}>;
|
|
@@ -374,9 +431,12 @@ export declare const ScheduleRolesType: StructType<{
|
|
|
374
431
|
* @property status - How each case of its status shows
|
|
375
432
|
* @property backlog - Whether its rows with no time are its backlog
|
|
376
433
|
* @property templates - Its templates, for the library
|
|
434
|
+
* @property templatesSource - The builder's Slice source whose shown keys filter its templates, the source its templates list names; none, every template shows (#1343)
|
|
377
435
|
* @property fields - The inspector's form over its other fields (`Fields`)
|
|
378
436
|
* @property items - Its events overlapping `[from, to)`, the drafts in place; `none` while a read is in flight
|
|
379
|
-
* @property unscheduled - Its backlog: the rows with no time, the drafts in place
|
|
437
|
+
* @property unscheduled - Its backlog: the rows with no time, the drafts in place. It takes the window `[from, to)`
|
|
438
|
+
* the canvas reads: a kind narrowed by its builder's slice holds the events its narrowing holds there and in its
|
|
439
|
+
* backlog alike, so a draft moves one between them by its times (#1343)
|
|
380
440
|
* @property write - Each gesture into its entry's new bytes; `none` for a gesture the kind refuses
|
|
381
441
|
* @property ready - The author's check over drafted entries, one result each
|
|
382
442
|
* @property editing - The shared session over the record: its entry and key types, and its patch door — its base the record's snapshot, or for a kind read a window at a time (#1199) its revision
|
|
@@ -412,14 +472,15 @@ export declare const ScheduleKindType: StructType<{
|
|
|
412
472
|
readonly minute: IntegerType;
|
|
413
473
|
}>>;
|
|
414
474
|
readonly duration: VariantType<{
|
|
415
|
-
readonly minutes:
|
|
416
|
-
readonly hours:
|
|
417
|
-
readonly days:
|
|
418
|
-
readonly weeks:
|
|
419
|
-
readonly months:
|
|
475
|
+
readonly minutes: FloatType;
|
|
476
|
+
readonly hours: FloatType;
|
|
477
|
+
readonly days: FloatType;
|
|
478
|
+
readonly weeks: FloatType;
|
|
479
|
+
readonly months: FloatType;
|
|
420
480
|
}>;
|
|
421
481
|
readonly values: BlobType;
|
|
422
482
|
}>>;
|
|
483
|
+
readonly templatesSource: OptionType<StringType>;
|
|
423
484
|
readonly fields: ArrayType<StructType<{
|
|
424
485
|
readonly path: ArrayType<StringType>;
|
|
425
486
|
readonly label: StringType;
|
|
@@ -474,9 +535,9 @@ export declare const ScheduleKindType: StructType<{
|
|
|
474
535
|
}>;
|
|
475
536
|
readonly number: StructType<{
|
|
476
537
|
readonly unit: OptionType<StringType>;
|
|
477
|
-
readonly step: OptionType<
|
|
478
|
-
readonly min: OptionType<
|
|
479
|
-
readonly max: OptionType<
|
|
538
|
+
readonly step: OptionType<FloatType>;
|
|
539
|
+
readonly min: OptionType<FloatType>;
|
|
540
|
+
readonly max: OptionType<FloatType>;
|
|
480
541
|
}>;
|
|
481
542
|
readonly checkbox: NullType;
|
|
482
543
|
readonly datetime: StructType<{
|
|
@@ -527,7 +588,7 @@ export declare const ScheduleKindType: StructType<{
|
|
|
527
588
|
readonly minutes: IntegerType;
|
|
528
589
|
readonly due: OptionType<DateTimeType>;
|
|
529
590
|
}>>>>;
|
|
530
|
-
readonly unscheduled: FunctionType<[DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
591
|
+
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
531
592
|
readonly kind: StringType;
|
|
532
593
|
readonly key: StringType;
|
|
533
594
|
readonly title: StringType;
|
|
@@ -884,7 +945,7 @@ export declare const PlanEventItemType: StructType<{
|
|
|
884
945
|
readonly rejected: NullType;
|
|
885
946
|
}>;
|
|
886
947
|
readonly quantity: OptionType<StructType<{
|
|
887
|
-
readonly value:
|
|
948
|
+
readonly value: FloatType;
|
|
888
949
|
readonly unit: OptionType<StringType>;
|
|
889
950
|
readonly format: OptionType<import("@elaraai/east-ui/internal").TickFormatType>;
|
|
890
951
|
readonly text: OptionType<StringType>;
|
|
@@ -936,7 +997,7 @@ export declare const PlanEventReadType: StructType<{
|
|
|
936
997
|
readonly rejected: NullType;
|
|
937
998
|
}>;
|
|
938
999
|
readonly quantity: OptionType<StructType<{
|
|
939
|
-
readonly value:
|
|
1000
|
+
readonly value: FloatType;
|
|
940
1001
|
readonly unit: OptionType<StringType>;
|
|
941
1002
|
readonly format: OptionType<import("@elaraai/east-ui/internal").TickFormatType>;
|
|
942
1003
|
readonly text: OptionType<StringType>;
|
|
@@ -995,7 +1056,7 @@ export type PlanEventRolesType = typeof PlanEventRolesType;
|
|
|
995
1056
|
* @property overlaps - Whether two of its events on one resource at once are a conflict
|
|
996
1057
|
* @property roles - The fields its roles read
|
|
997
1058
|
* @property planItems - Its events overlapping `[from, to)` as Plan draws them, the drafts in place; `none` while a read is in flight
|
|
998
|
-
* @property planUnscheduled - Its backlog as Plan draws it, the drafts in place
|
|
1059
|
+
* @property planUnscheduled - Its backlog as Plan draws it, the drafts in place, over the window `[from, to)` the canvas reads, as `unscheduled` takes it
|
|
999
1060
|
* @property planEvent - One event by its key's text, the drafts in place (#1197): as Plan draws it, and its row; `none` when there is no such event. A kind read a window at a time (#1199) looks for it first among the rows its windows hold over `[from, to)` — the range the canvas reads, where a gesture's event is drawn — and its backlog's, then reads it by its key, `none` while that read is in flight; a kind read whole takes no notice of the range
|
|
1000
1061
|
* @property inspector - Its own inspector for one event (PB60, #1197): the event's row and a writer of the edited row, as bytes, to what the inspector shows in place of the kind's form; `none`, the form
|
|
1001
1062
|
*/
|
|
@@ -1030,7 +1091,7 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1030
1091
|
readonly rejected: NullType;
|
|
1031
1092
|
}>;
|
|
1032
1093
|
readonly quantity: OptionType<StructType<{
|
|
1033
|
-
readonly value:
|
|
1094
|
+
readonly value: FloatType;
|
|
1034
1095
|
readonly unit: OptionType<StringType>;
|
|
1035
1096
|
readonly format: OptionType<import("@elaraai/east-ui/internal").TickFormatType>;
|
|
1036
1097
|
readonly text: OptionType<StringType>;
|
|
@@ -1059,7 +1120,7 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1059
1120
|
readonly minutes: IntegerType;
|
|
1060
1121
|
readonly due: OptionType<DateTimeType>;
|
|
1061
1122
|
}>>>>;
|
|
1062
|
-
readonly planUnscheduled: FunctionType<[DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
1123
|
+
readonly planUnscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
1063
1124
|
readonly state: VariantType<{
|
|
1064
1125
|
readonly estimated: NullType;
|
|
1065
1126
|
readonly proposed: VariantType<{
|
|
@@ -1073,7 +1134,7 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1073
1134
|
readonly rejected: NullType;
|
|
1074
1135
|
}>;
|
|
1075
1136
|
readonly quantity: OptionType<StructType<{
|
|
1076
|
-
readonly value:
|
|
1137
|
+
readonly value: FloatType;
|
|
1077
1138
|
readonly unit: OptionType<StringType>;
|
|
1078
1139
|
readonly format: OptionType<import("@elaraai/east-ui/internal").TickFormatType>;
|
|
1079
1140
|
readonly text: OptionType<StringType>;
|
|
@@ -1117,7 +1178,7 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1117
1178
|
readonly rejected: NullType;
|
|
1118
1179
|
}>;
|
|
1119
1180
|
readonly quantity: OptionType<StructType<{
|
|
1120
|
-
readonly value:
|
|
1181
|
+
readonly value: FloatType;
|
|
1121
1182
|
readonly unit: OptionType<StringType>;
|
|
1122
1183
|
readonly format: OptionType<import("@elaraai/east-ui/internal").TickFormatType>;
|
|
1123
1184
|
readonly text: OptionType<StringType>;
|
|
@@ -1177,14 +1238,15 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1177
1238
|
readonly minute: IntegerType;
|
|
1178
1239
|
}>>;
|
|
1179
1240
|
readonly duration: VariantType<{
|
|
1180
|
-
readonly minutes:
|
|
1181
|
-
readonly hours:
|
|
1182
|
-
readonly days:
|
|
1183
|
-
readonly weeks:
|
|
1184
|
-
readonly months:
|
|
1241
|
+
readonly minutes: FloatType;
|
|
1242
|
+
readonly hours: FloatType;
|
|
1243
|
+
readonly days: FloatType;
|
|
1244
|
+
readonly weeks: FloatType;
|
|
1245
|
+
readonly months: FloatType;
|
|
1185
1246
|
}>;
|
|
1186
1247
|
readonly values: BlobType;
|
|
1187
1248
|
}>>;
|
|
1249
|
+
readonly templatesSource: OptionType<StringType>;
|
|
1188
1250
|
readonly fields: ArrayType<StructType<{
|
|
1189
1251
|
readonly path: ArrayType<StringType>;
|
|
1190
1252
|
readonly label: StringType;
|
|
@@ -1239,9 +1301,9 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1239
1301
|
}>;
|
|
1240
1302
|
readonly number: StructType<{
|
|
1241
1303
|
readonly unit: OptionType<StringType>;
|
|
1242
|
-
readonly step: OptionType<
|
|
1243
|
-
readonly min: OptionType<
|
|
1244
|
-
readonly max: OptionType<
|
|
1304
|
+
readonly step: OptionType<FloatType>;
|
|
1305
|
+
readonly min: OptionType<FloatType>;
|
|
1306
|
+
readonly max: OptionType<FloatType>;
|
|
1245
1307
|
}>;
|
|
1246
1308
|
readonly checkbox: NullType;
|
|
1247
1309
|
readonly datetime: StructType<{
|
|
@@ -1292,7 +1354,7 @@ export declare const PlanEventKindType: StructType<{
|
|
|
1292
1354
|
readonly minutes: IntegerType;
|
|
1293
1355
|
readonly due: OptionType<DateTimeType>;
|
|
1294
1356
|
}>>>>;
|
|
1295
|
-
readonly unscheduled: FunctionType<[DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
1357
|
+
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
1296
1358
|
readonly kind: StringType;
|
|
1297
1359
|
readonly key: StringType;
|
|
1298
1360
|
readonly title: StringType;
|
|
@@ -1674,4 +1736,1576 @@ export declare const PlanResourcesType: StructType<{
|
|
|
1674
1736
|
}>;
|
|
1675
1737
|
/** Type representing {@link PlanResourcesType}. */
|
|
1676
1738
|
export type PlanResourcesType = typeof PlanResourcesType;
|
|
1739
|
+
/**
|
|
1740
|
+
* A duty's roles, as the Roster reads them from the app's row
|
|
1741
|
+
* (`Builder Interfaces Spec.md` §4.1, §5.2): what its kind's fields hold,
|
|
1742
|
+
* whatever the row calls them.
|
|
1743
|
+
*
|
|
1744
|
+
* @property start - When it starts
|
|
1745
|
+
* @property end - When it ends
|
|
1746
|
+
* @property resource - Who: a person, or an agency asked to send someone, by the resource kind its field's case names
|
|
1747
|
+
* @property shift - Its shift's key
|
|
1748
|
+
* @property group - The group it is rostered in
|
|
1749
|
+
* @property position - The position held; `none` for a kind with no `position` role
|
|
1750
|
+
* @property activity - Its activity; `none` when it has none, or the kind has no `activity` role
|
|
1751
|
+
* @property hours - The hours it counts: its kind's `hours` accessor's, or its length
|
|
1752
|
+
*/
|
|
1753
|
+
export declare const ScheduleRosterRolesType: StructType<{
|
|
1754
|
+
readonly start: DateTimeType;
|
|
1755
|
+
readonly end: DateTimeType;
|
|
1756
|
+
readonly resource: OptionType<StructType<{
|
|
1757
|
+
readonly kind: StringType;
|
|
1758
|
+
readonly key: StringType;
|
|
1759
|
+
}>>;
|
|
1760
|
+
readonly shift: StringType;
|
|
1761
|
+
readonly group: StringType;
|
|
1762
|
+
readonly position: OptionType<StringType>;
|
|
1763
|
+
readonly activity: OptionType<StringType>;
|
|
1764
|
+
readonly hours: FloatType;
|
|
1765
|
+
}>;
|
|
1766
|
+
/** Type representing {@link ScheduleRosterRolesType}. */
|
|
1767
|
+
export type ScheduleRosterRolesType = typeof ScheduleRosterRolesType;
|
|
1768
|
+
/**
|
|
1769
|
+
* One stored duty, as a Roster kind's `rows` gives it: its roles, read in the
|
|
1770
|
+
* same pass that reads the row, and the row as bytes at the row type — what a
|
|
1771
|
+
* write and the session take, and what a request's assignment carries.
|
|
1772
|
+
*
|
|
1773
|
+
* @property roles - Its roles
|
|
1774
|
+
* @property row - Its row, as bytes at the row type
|
|
1775
|
+
*/
|
|
1776
|
+
export declare const ScheduleRosterEntryType: StructType<{
|
|
1777
|
+
readonly roles: StructType<{
|
|
1778
|
+
readonly start: DateTimeType;
|
|
1779
|
+
readonly end: DateTimeType;
|
|
1780
|
+
readonly resource: OptionType<StructType<{
|
|
1781
|
+
readonly kind: StringType;
|
|
1782
|
+
readonly key: StringType;
|
|
1783
|
+
}>>;
|
|
1784
|
+
readonly shift: StringType;
|
|
1785
|
+
readonly group: StringType;
|
|
1786
|
+
readonly position: OptionType<StringType>;
|
|
1787
|
+
readonly activity: OptionType<StringType>;
|
|
1788
|
+
readonly hours: FloatType;
|
|
1789
|
+
}>;
|
|
1790
|
+
readonly row: BlobType;
|
|
1791
|
+
}>;
|
|
1792
|
+
/** Type representing {@link ScheduleRosterEntryType}. */
|
|
1793
|
+
export type ScheduleRosterEntryType = typeof ScheduleRosterEntryType;
|
|
1794
|
+
/**
|
|
1795
|
+
* One event kind as the Roster takes it (#1367): the Calendar's closed kind
|
|
1796
|
+
* — its session over the record, its reads, its form — with its rows, and its
|
|
1797
|
+
* roles read from a row and written into one.
|
|
1798
|
+
*
|
|
1799
|
+
* @property kind - The Calendar's closed kind: its `editing`, `entries`, `history`, `ready`, `fields` and `inspector`
|
|
1800
|
+
* @property rows - Its stored duties overlapping `[from, to)`, by key, each its roles and its row; `none` while a read is in flight
|
|
1801
|
+
* @property read - A drafted row's roles, from its bytes and its key: what `rows` gives a stored one
|
|
1802
|
+
* @property write - The row with every mapped field written from the roles and every other field as it was; `none` for a resource of a kind it does not take
|
|
1803
|
+
* @property create - A new row from the roles, every other field its type's default; `none` as `write` refuses
|
|
1804
|
+
* @property roles - Which of the optional roles the kind maps
|
|
1805
|
+
* @property rowType - The row type
|
|
1806
|
+
*/
|
|
1807
|
+
export declare const ScheduleRosterKindType: StructType<{
|
|
1808
|
+
readonly kind: StructType<{
|
|
1809
|
+
readonly key: StringType;
|
|
1810
|
+
readonly name: StringType;
|
|
1811
|
+
readonly icon: StringType;
|
|
1812
|
+
readonly takes: ArrayType<StringType>;
|
|
1813
|
+
readonly status: ArrayType<StructType<{
|
|
1814
|
+
readonly case: StringType;
|
|
1815
|
+
readonly status: StructType<{
|
|
1816
|
+
readonly label: StringType;
|
|
1817
|
+
readonly tone: VariantType<{
|
|
1818
|
+
readonly success: NullType;
|
|
1819
|
+
readonly warning: NullType;
|
|
1820
|
+
readonly danger: NullType;
|
|
1821
|
+
readonly info: NullType;
|
|
1822
|
+
readonly neutral: NullType;
|
|
1823
|
+
}>;
|
|
1824
|
+
readonly ring: BooleanType;
|
|
1825
|
+
}>;
|
|
1826
|
+
}>>;
|
|
1827
|
+
readonly backlog: BooleanType;
|
|
1828
|
+
readonly templates: ArrayType<StructType<{
|
|
1829
|
+
readonly key: StringType;
|
|
1830
|
+
readonly name: StringType;
|
|
1831
|
+
readonly group: OptionType<StringType>;
|
|
1832
|
+
readonly at: OptionType<StructType<{
|
|
1833
|
+
readonly hour: IntegerType;
|
|
1834
|
+
readonly minute: IntegerType;
|
|
1835
|
+
}>>;
|
|
1836
|
+
readonly duration: VariantType<{
|
|
1837
|
+
readonly minutes: FloatType;
|
|
1838
|
+
readonly hours: FloatType;
|
|
1839
|
+
readonly days: FloatType;
|
|
1840
|
+
readonly weeks: FloatType;
|
|
1841
|
+
readonly months: FloatType;
|
|
1842
|
+
}>;
|
|
1843
|
+
readonly values: BlobType;
|
|
1844
|
+
}>>;
|
|
1845
|
+
readonly templatesSource: OptionType<StringType>;
|
|
1846
|
+
readonly fields: ArrayType<StructType<{
|
|
1847
|
+
readonly path: ArrayType<StringType>;
|
|
1848
|
+
readonly label: StringType;
|
|
1849
|
+
readonly help: OptionType<StringType>;
|
|
1850
|
+
readonly group: OptionType<StringType>;
|
|
1851
|
+
readonly type: import("@elaraai/east").RecursiveType<VariantType<{
|
|
1852
|
+
readonly Never: NullType;
|
|
1853
|
+
readonly Null: NullType;
|
|
1854
|
+
readonly Boolean: NullType;
|
|
1855
|
+
readonly Integer: NullType;
|
|
1856
|
+
readonly Float: NullType;
|
|
1857
|
+
readonly String: NullType;
|
|
1858
|
+
readonly DateTime: NullType;
|
|
1859
|
+
readonly Blob: NullType;
|
|
1860
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1861
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1862
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1863
|
+
readonly Dict: StructType<{
|
|
1864
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1865
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1866
|
+
}>;
|
|
1867
|
+
readonly Struct: ArrayType<StructType<{
|
|
1868
|
+
readonly name: StringType;
|
|
1869
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1870
|
+
}>>;
|
|
1871
|
+
readonly Variant: ArrayType<StructType<{
|
|
1872
|
+
readonly name: StringType;
|
|
1873
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1874
|
+
}>>;
|
|
1875
|
+
readonly Recursive: VariantType<{
|
|
1876
|
+
readonly ref: IntegerType;
|
|
1877
|
+
readonly wrapper: StructType<{
|
|
1878
|
+
readonly id: IntegerType;
|
|
1879
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1880
|
+
}>;
|
|
1881
|
+
}>;
|
|
1882
|
+
readonly Function: StructType<{
|
|
1883
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1884
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1885
|
+
}>;
|
|
1886
|
+
readonly AsyncFunction: StructType<{
|
|
1887
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1888
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1889
|
+
}>;
|
|
1890
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1891
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1892
|
+
}>>;
|
|
1893
|
+
readonly optional: BooleanType;
|
|
1894
|
+
readonly editor: VariantType<{
|
|
1895
|
+
readonly text: StructType<{
|
|
1896
|
+
readonly placeholder: OptionType<StringType>;
|
|
1897
|
+
}>;
|
|
1898
|
+
readonly number: StructType<{
|
|
1899
|
+
readonly unit: OptionType<StringType>;
|
|
1900
|
+
readonly step: OptionType<FloatType>;
|
|
1901
|
+
readonly min: OptionType<FloatType>;
|
|
1902
|
+
readonly max: OptionType<FloatType>;
|
|
1903
|
+
}>;
|
|
1904
|
+
readonly checkbox: NullType;
|
|
1905
|
+
readonly datetime: StructType<{
|
|
1906
|
+
readonly precision: OptionType<VariantType<{
|
|
1907
|
+
readonly date: NullType;
|
|
1908
|
+
readonly time: NullType;
|
|
1909
|
+
readonly datetime: NullType;
|
|
1910
|
+
}>>;
|
|
1911
|
+
}>;
|
|
1912
|
+
readonly select: ArrayType<StructType<{
|
|
1913
|
+
readonly case: StringType;
|
|
1914
|
+
readonly label: StringType;
|
|
1915
|
+
}>>;
|
|
1916
|
+
readonly tags: StructType<{
|
|
1917
|
+
readonly options: ArrayType<StringType>;
|
|
1918
|
+
}>;
|
|
1919
|
+
readonly checklist: StructType<{
|
|
1920
|
+
readonly text: StringType;
|
|
1921
|
+
readonly done: StringType;
|
|
1922
|
+
}>;
|
|
1923
|
+
readonly reference: StructType<{
|
|
1924
|
+
readonly of: StringType;
|
|
1925
|
+
}>;
|
|
1926
|
+
readonly readonly: NullType;
|
|
1927
|
+
}>;
|
|
1928
|
+
}>>;
|
|
1929
|
+
readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
1930
|
+
readonly kind: StringType;
|
|
1931
|
+
readonly key: StringType;
|
|
1932
|
+
readonly title: StringType;
|
|
1933
|
+
readonly start: OptionType<DateTimeType>;
|
|
1934
|
+
readonly end: OptionType<DateTimeType>;
|
|
1935
|
+
readonly resource: OptionType<StructType<{
|
|
1936
|
+
readonly kind: StringType;
|
|
1937
|
+
readonly key: StringType;
|
|
1938
|
+
}>>;
|
|
1939
|
+
readonly status: OptionType<StructType<{
|
|
1940
|
+
readonly label: StringType;
|
|
1941
|
+
readonly tone: VariantType<{
|
|
1942
|
+
readonly success: NullType;
|
|
1943
|
+
readonly warning: NullType;
|
|
1944
|
+
readonly danger: NullType;
|
|
1945
|
+
readonly info: NullType;
|
|
1946
|
+
readonly neutral: NullType;
|
|
1947
|
+
}>;
|
|
1948
|
+
readonly ring: BooleanType;
|
|
1949
|
+
}>>;
|
|
1950
|
+
readonly minutes: IntegerType;
|
|
1951
|
+
readonly due: OptionType<DateTimeType>;
|
|
1952
|
+
}>>>>;
|
|
1953
|
+
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
1954
|
+
readonly kind: StringType;
|
|
1955
|
+
readonly key: StringType;
|
|
1956
|
+
readonly title: StringType;
|
|
1957
|
+
readonly start: OptionType<DateTimeType>;
|
|
1958
|
+
readonly end: OptionType<DateTimeType>;
|
|
1959
|
+
readonly resource: OptionType<StructType<{
|
|
1960
|
+
readonly kind: StringType;
|
|
1961
|
+
readonly key: StringType;
|
|
1962
|
+
}>>;
|
|
1963
|
+
readonly status: OptionType<StructType<{
|
|
1964
|
+
readonly label: StringType;
|
|
1965
|
+
readonly tone: VariantType<{
|
|
1966
|
+
readonly success: NullType;
|
|
1967
|
+
readonly warning: NullType;
|
|
1968
|
+
readonly danger: NullType;
|
|
1969
|
+
readonly info: NullType;
|
|
1970
|
+
readonly neutral: NullType;
|
|
1971
|
+
}>;
|
|
1972
|
+
readonly ring: BooleanType;
|
|
1973
|
+
}>>;
|
|
1974
|
+
readonly minutes: IntegerType;
|
|
1975
|
+
readonly due: OptionType<DateTimeType>;
|
|
1976
|
+
}>>>>;
|
|
1977
|
+
readonly write: FunctionType<[ArrayType<StructType<{
|
|
1978
|
+
readonly id: StringType;
|
|
1979
|
+
readonly entry: BlobType;
|
|
1980
|
+
readonly gesture: VariantType<{
|
|
1981
|
+
readonly place: StructType<{
|
|
1982
|
+
readonly start: DateTimeType;
|
|
1983
|
+
readonly end: DateTimeType;
|
|
1984
|
+
readonly resource: OptionType<StructType<{
|
|
1985
|
+
readonly kind: StringType;
|
|
1986
|
+
readonly key: StringType;
|
|
1987
|
+
}>>;
|
|
1988
|
+
}>;
|
|
1989
|
+
readonly unplace: NullType;
|
|
1990
|
+
readonly field: StructType<{
|
|
1991
|
+
readonly path: ArrayType<StringType>;
|
|
1992
|
+
readonly value: BlobType;
|
|
1993
|
+
}>;
|
|
1994
|
+
readonly create: StructType<{
|
|
1995
|
+
readonly template: StringType;
|
|
1996
|
+
readonly start: DateTimeType;
|
|
1997
|
+
readonly end: DateTimeType;
|
|
1998
|
+
readonly resource: OptionType<StructType<{
|
|
1999
|
+
readonly kind: StringType;
|
|
2000
|
+
readonly key: StringType;
|
|
2001
|
+
}>>;
|
|
2002
|
+
}>;
|
|
2003
|
+
}>;
|
|
2004
|
+
}>>], ArrayType<OptionType<BlobType>>>;
|
|
2005
|
+
readonly ready: OptionType<FunctionType<[ArrayType<StructType<{
|
|
2006
|
+
readonly id: StringType;
|
|
2007
|
+
readonly entry: BlobType;
|
|
2008
|
+
}>>], ArrayType<VariantType<{
|
|
2009
|
+
readonly ready: NullType;
|
|
2010
|
+
readonly incomplete: ArrayType<StructType<{
|
|
2011
|
+
readonly field: StringType;
|
|
2012
|
+
readonly message: StringType;
|
|
2013
|
+
}>>;
|
|
2014
|
+
readonly invalid: ArrayType<StructType<{
|
|
2015
|
+
readonly field: StringType;
|
|
2016
|
+
readonly message: StringType;
|
|
2017
|
+
}>>;
|
|
2018
|
+
}>>>>;
|
|
2019
|
+
readonly editing: StructType<{
|
|
2020
|
+
sourceId: StringType;
|
|
2021
|
+
entryType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2022
|
+
readonly Never: NullType;
|
|
2023
|
+
readonly Null: NullType;
|
|
2024
|
+
readonly Boolean: NullType;
|
|
2025
|
+
readonly Integer: NullType;
|
|
2026
|
+
readonly Float: NullType;
|
|
2027
|
+
readonly String: NullType;
|
|
2028
|
+
readonly DateTime: NullType;
|
|
2029
|
+
readonly Blob: NullType;
|
|
2030
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2031
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2032
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2033
|
+
readonly Dict: StructType<{
|
|
2034
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2035
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2036
|
+
}>;
|
|
2037
|
+
readonly Struct: ArrayType<StructType<{
|
|
2038
|
+
readonly name: StringType;
|
|
2039
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2040
|
+
}>>;
|
|
2041
|
+
readonly Variant: ArrayType<StructType<{
|
|
2042
|
+
readonly name: StringType;
|
|
2043
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2044
|
+
}>>;
|
|
2045
|
+
readonly Recursive: VariantType<{
|
|
2046
|
+
readonly ref: IntegerType;
|
|
2047
|
+
readonly wrapper: StructType<{
|
|
2048
|
+
readonly id: IntegerType;
|
|
2049
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2050
|
+
}>;
|
|
2051
|
+
}>;
|
|
2052
|
+
readonly Function: StructType<{
|
|
2053
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2054
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2055
|
+
}>;
|
|
2056
|
+
readonly AsyncFunction: StructType<{
|
|
2057
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2058
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2059
|
+
}>;
|
|
2060
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2061
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2062
|
+
}>>;
|
|
2063
|
+
idField: OptionType<StringType>;
|
|
2064
|
+
draftType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2065
|
+
readonly Never: NullType;
|
|
2066
|
+
readonly Null: NullType;
|
|
2067
|
+
readonly Boolean: NullType;
|
|
2068
|
+
readonly Integer: NullType;
|
|
2069
|
+
readonly Float: NullType;
|
|
2070
|
+
readonly String: NullType;
|
|
2071
|
+
readonly DateTime: NullType;
|
|
2072
|
+
readonly Blob: NullType;
|
|
2073
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2074
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2075
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2076
|
+
readonly Dict: StructType<{
|
|
2077
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2078
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2079
|
+
}>;
|
|
2080
|
+
readonly Struct: ArrayType<StructType<{
|
|
2081
|
+
readonly name: StringType;
|
|
2082
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2083
|
+
}>>;
|
|
2084
|
+
readonly Variant: ArrayType<StructType<{
|
|
2085
|
+
readonly name: StringType;
|
|
2086
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2087
|
+
}>>;
|
|
2088
|
+
readonly Recursive: VariantType<{
|
|
2089
|
+
readonly ref: IntegerType;
|
|
2090
|
+
readonly wrapper: StructType<{
|
|
2091
|
+
readonly id: IntegerType;
|
|
2092
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2093
|
+
}>;
|
|
2094
|
+
}>;
|
|
2095
|
+
readonly Function: StructType<{
|
|
2096
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2097
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2098
|
+
}>;
|
|
2099
|
+
readonly AsyncFunction: StructType<{
|
|
2100
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2101
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2102
|
+
}>;
|
|
2103
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2104
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2105
|
+
}>>;
|
|
2106
|
+
children: OptionType<StringType>;
|
|
2107
|
+
keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
|
|
2108
|
+
readonly Never: NullType;
|
|
2109
|
+
readonly Null: NullType;
|
|
2110
|
+
readonly Boolean: NullType;
|
|
2111
|
+
readonly Integer: NullType;
|
|
2112
|
+
readonly Float: NullType;
|
|
2113
|
+
readonly String: NullType;
|
|
2114
|
+
readonly DateTime: NullType;
|
|
2115
|
+
readonly Blob: NullType;
|
|
2116
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2117
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2118
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2119
|
+
readonly Dict: StructType<{
|
|
2120
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2121
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2122
|
+
}>;
|
|
2123
|
+
readonly Struct: ArrayType<StructType<{
|
|
2124
|
+
readonly name: StringType;
|
|
2125
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2126
|
+
}>>;
|
|
2127
|
+
readonly Variant: ArrayType<StructType<{
|
|
2128
|
+
readonly name: StringType;
|
|
2129
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2130
|
+
}>>;
|
|
2131
|
+
readonly Recursive: VariantType<{
|
|
2132
|
+
readonly ref: IntegerType;
|
|
2133
|
+
readonly wrapper: StructType<{
|
|
2134
|
+
readonly id: IntegerType;
|
|
2135
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2136
|
+
}>;
|
|
2137
|
+
}>;
|
|
2138
|
+
readonly Function: StructType<{
|
|
2139
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2140
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2141
|
+
}>;
|
|
2142
|
+
readonly AsyncFunction: StructType<{
|
|
2143
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2144
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2145
|
+
}>;
|
|
2146
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2147
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2148
|
+
}>>>;
|
|
2149
|
+
snapshot: OptionType<BlobType>;
|
|
2150
|
+
readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
|
|
2151
|
+
onPatch: OptionType<FunctionType<[BlobType], NullType>>;
|
|
2152
|
+
onApply: OptionType<VariantType<{
|
|
2153
|
+
readonly sync: FunctionType<[BlobType], VariantType<{
|
|
2154
|
+
readonly applied: StructType<{
|
|
2155
|
+
readonly revision: OptionType<StringType>;
|
|
2156
|
+
}>;
|
|
2157
|
+
readonly rejected: ArrayType<StructType<{
|
|
2158
|
+
readonly entry: StringType;
|
|
2159
|
+
readonly row: OptionType<IntegerType>;
|
|
2160
|
+
readonly field: OptionType<StringType>;
|
|
2161
|
+
readonly message: StringType;
|
|
2162
|
+
}>>;
|
|
2163
|
+
readonly conflict: ArrayType<StructType<{
|
|
2164
|
+
readonly entry: StringType;
|
|
2165
|
+
readonly row: OptionType<IntegerType>;
|
|
2166
|
+
readonly field: OptionType<StringType>;
|
|
2167
|
+
readonly message: StringType;
|
|
2168
|
+
}>>;
|
|
2169
|
+
}>>;
|
|
2170
|
+
readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
|
|
2171
|
+
readonly applied: StructType<{
|
|
2172
|
+
readonly revision: OptionType<StringType>;
|
|
2173
|
+
}>;
|
|
2174
|
+
readonly rejected: ArrayType<StructType<{
|
|
2175
|
+
readonly entry: StringType;
|
|
2176
|
+
readonly row: OptionType<IntegerType>;
|
|
2177
|
+
readonly field: OptionType<StringType>;
|
|
2178
|
+
readonly message: StringType;
|
|
2179
|
+
}>>;
|
|
2180
|
+
readonly conflict: ArrayType<StructType<{
|
|
2181
|
+
readonly entry: StringType;
|
|
2182
|
+
readonly row: OptionType<IntegerType>;
|
|
2183
|
+
readonly field: OptionType<StringType>;
|
|
2184
|
+
readonly message: StringType;
|
|
2185
|
+
}>>;
|
|
2186
|
+
}>>;
|
|
2187
|
+
}>>;
|
|
2188
|
+
mode: VariantType<{
|
|
2189
|
+
readonly batch: NullType;
|
|
2190
|
+
readonly auto: NullType;
|
|
2191
|
+
}>;
|
|
2192
|
+
}>;
|
|
2193
|
+
readonly entries: OptionType<StructType<{
|
|
2194
|
+
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
2195
|
+
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
2196
|
+
readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
|
|
2197
|
+
readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
|
|
2198
|
+
}>>;
|
|
2199
|
+
readonly history: FunctionType<[], OptionType<ArrayType<StructType<{
|
|
2200
|
+
readonly hash: StringType;
|
|
2201
|
+
readonly parent: OptionType<StringType>;
|
|
2202
|
+
readonly state: StringType;
|
|
2203
|
+
readonly mutation: StringType;
|
|
2204
|
+
readonly actor: StringType;
|
|
2205
|
+
readonly at: DateTimeType;
|
|
2206
|
+
readonly delta: OptionType<StringType>;
|
|
2207
|
+
}>>>>;
|
|
2208
|
+
/** One event and its row, read from the window or by key, with drafts applied. */
|
|
2209
|
+
readonly event: FunctionType<[StringType, DictType<StringType, BlobType>, DateTimeType, DateTimeType], OptionType<StructType<{
|
|
2210
|
+
readonly item: StructType<{
|
|
2211
|
+
readonly kind: StringType;
|
|
2212
|
+
readonly key: StringType;
|
|
2213
|
+
readonly title: StringType;
|
|
2214
|
+
readonly start: OptionType<DateTimeType>;
|
|
2215
|
+
readonly end: OptionType<DateTimeType>;
|
|
2216
|
+
readonly resource: OptionType<StructType<{
|
|
2217
|
+
readonly kind: StringType;
|
|
2218
|
+
readonly key: StringType;
|
|
2219
|
+
}>>;
|
|
2220
|
+
readonly status: OptionType<StructType<{
|
|
2221
|
+
readonly label: StringType;
|
|
2222
|
+
readonly tone: VariantType<{
|
|
2223
|
+
readonly success: NullType;
|
|
2224
|
+
readonly warning: NullType;
|
|
2225
|
+
readonly danger: NullType;
|
|
2226
|
+
readonly info: NullType;
|
|
2227
|
+
readonly neutral: NullType;
|
|
2228
|
+
}>;
|
|
2229
|
+
readonly ring: BooleanType;
|
|
2230
|
+
}>>;
|
|
2231
|
+
readonly minutes: IntegerType;
|
|
2232
|
+
readonly due: OptionType<DateTimeType>;
|
|
2233
|
+
}>;
|
|
2234
|
+
readonly row: BlobType;
|
|
2235
|
+
}>>>;
|
|
2236
|
+
/** The inspector's schedule fields. */
|
|
2237
|
+
readonly schedule: StructType<{
|
|
2238
|
+
readonly title: StringType;
|
|
2239
|
+
readonly start: StringType;
|
|
2240
|
+
readonly end: StringType;
|
|
2241
|
+
readonly resource: OptionType<StringType>;
|
|
2242
|
+
readonly status: OptionType<StringType>;
|
|
2243
|
+
}>;
|
|
2244
|
+
/** Whether this kind participates in overlap warnings. */
|
|
2245
|
+
readonly overlaps: VariantType<{
|
|
2246
|
+
readonly warn: NullType;
|
|
2247
|
+
readonly allow: NullType;
|
|
2248
|
+
}>;
|
|
2249
|
+
/** The author's form in place of the default fields. */
|
|
2250
|
+
readonly inspector: OptionType<FunctionType<[BlobType, FunctionType<[BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
|
|
2251
|
+
}>;
|
|
2252
|
+
readonly rows: FunctionType<[DateTimeType, DateTimeType], OptionType<DictType<StringType, StructType<{
|
|
2253
|
+
readonly roles: StructType<{
|
|
2254
|
+
readonly start: DateTimeType;
|
|
2255
|
+
readonly end: DateTimeType;
|
|
2256
|
+
readonly resource: OptionType<StructType<{
|
|
2257
|
+
readonly kind: StringType;
|
|
2258
|
+
readonly key: StringType;
|
|
2259
|
+
}>>;
|
|
2260
|
+
readonly shift: StringType;
|
|
2261
|
+
readonly group: StringType;
|
|
2262
|
+
readonly position: OptionType<StringType>;
|
|
2263
|
+
readonly activity: OptionType<StringType>;
|
|
2264
|
+
readonly hours: FloatType;
|
|
2265
|
+
}>;
|
|
2266
|
+
readonly row: BlobType;
|
|
2267
|
+
}>>>>;
|
|
2268
|
+
readonly read: FunctionType<[BlobType, StringType], StructType<{
|
|
2269
|
+
readonly start: DateTimeType;
|
|
2270
|
+
readonly end: DateTimeType;
|
|
2271
|
+
readonly resource: OptionType<StructType<{
|
|
2272
|
+
readonly kind: StringType;
|
|
2273
|
+
readonly key: StringType;
|
|
2274
|
+
}>>;
|
|
2275
|
+
readonly shift: StringType;
|
|
2276
|
+
readonly group: StringType;
|
|
2277
|
+
readonly position: OptionType<StringType>;
|
|
2278
|
+
readonly activity: OptionType<StringType>;
|
|
2279
|
+
readonly hours: FloatType;
|
|
2280
|
+
}>>;
|
|
2281
|
+
readonly write: FunctionType<[BlobType, StructType<{
|
|
2282
|
+
readonly start: DateTimeType;
|
|
2283
|
+
readonly end: DateTimeType;
|
|
2284
|
+
readonly resource: OptionType<StructType<{
|
|
2285
|
+
readonly kind: StringType;
|
|
2286
|
+
readonly key: StringType;
|
|
2287
|
+
}>>;
|
|
2288
|
+
readonly shift: StringType;
|
|
2289
|
+
readonly group: StringType;
|
|
2290
|
+
readonly position: OptionType<StringType>;
|
|
2291
|
+
readonly activity: OptionType<StringType>;
|
|
2292
|
+
readonly hours: FloatType;
|
|
2293
|
+
}>], OptionType<BlobType>>;
|
|
2294
|
+
readonly create: FunctionType<[StructType<{
|
|
2295
|
+
readonly start: DateTimeType;
|
|
2296
|
+
readonly end: DateTimeType;
|
|
2297
|
+
readonly resource: OptionType<StructType<{
|
|
2298
|
+
readonly kind: StringType;
|
|
2299
|
+
readonly key: StringType;
|
|
2300
|
+
}>>;
|
|
2301
|
+
readonly shift: StringType;
|
|
2302
|
+
readonly group: StringType;
|
|
2303
|
+
readonly position: OptionType<StringType>;
|
|
2304
|
+
readonly activity: OptionType<StringType>;
|
|
2305
|
+
readonly hours: FloatType;
|
|
2306
|
+
}>], OptionType<BlobType>>;
|
|
2307
|
+
readonly roles: StructType<{
|
|
2308
|
+
readonly position: BooleanType;
|
|
2309
|
+
readonly activity: BooleanType;
|
|
2310
|
+
}>;
|
|
2311
|
+
readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2312
|
+
readonly Never: NullType;
|
|
2313
|
+
readonly Null: NullType;
|
|
2314
|
+
readonly Boolean: NullType;
|
|
2315
|
+
readonly Integer: NullType;
|
|
2316
|
+
readonly Float: NullType;
|
|
2317
|
+
readonly String: NullType;
|
|
2318
|
+
readonly DateTime: NullType;
|
|
2319
|
+
readonly Blob: NullType;
|
|
2320
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2321
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2322
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2323
|
+
readonly Dict: StructType<{
|
|
2324
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2325
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2326
|
+
}>;
|
|
2327
|
+
readonly Struct: ArrayType<StructType<{
|
|
2328
|
+
readonly name: StringType;
|
|
2329
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2330
|
+
}>>;
|
|
2331
|
+
readonly Variant: ArrayType<StructType<{
|
|
2332
|
+
readonly name: StringType;
|
|
2333
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2334
|
+
}>>;
|
|
2335
|
+
readonly Recursive: VariantType<{
|
|
2336
|
+
readonly ref: IntegerType;
|
|
2337
|
+
readonly wrapper: StructType<{
|
|
2338
|
+
readonly id: IntegerType;
|
|
2339
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2340
|
+
}>;
|
|
2341
|
+
}>;
|
|
2342
|
+
readonly Function: StructType<{
|
|
2343
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2344
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2345
|
+
}>;
|
|
2346
|
+
readonly AsyncFunction: StructType<{
|
|
2347
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2348
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2349
|
+
}>;
|
|
2350
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2351
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2352
|
+
}>>;
|
|
2353
|
+
}>;
|
|
2354
|
+
/** Type representing {@link ScheduleRosterKindType}. */
|
|
2355
|
+
export type ScheduleRosterKindType = typeof ScheduleRosterKindType;
|
|
2356
|
+
/**
|
|
2357
|
+
* A bin's roles, as the Allocation reads them from the app's row
|
|
2358
|
+
* (`Builder Interfaces Spec.md` §4.1, §6.2).
|
|
2359
|
+
*
|
|
2360
|
+
* @property at - Its time
|
|
2361
|
+
* @property lane - Its lane's key
|
|
2362
|
+
* @property arrival - The arrival it books; `none` for a reservation
|
|
2363
|
+
* @property quantity - Its quantity
|
|
2364
|
+
* @property parts - The quantity on each resource, by key
|
|
2365
|
+
* @property hold - How long a resource holds it
|
|
2366
|
+
* @property kind - What it goes with; `none` when it has none, or the kind has no `kind` role
|
|
2367
|
+
*/
|
|
2368
|
+
export declare const ScheduleAllocationRolesType: StructType<{
|
|
2369
|
+
readonly at: DateTimeType;
|
|
2370
|
+
readonly lane: StringType;
|
|
2371
|
+
readonly arrival: OptionType<StringType>;
|
|
2372
|
+
readonly quantity: FloatType;
|
|
2373
|
+
readonly parts: DictType<StringType, FloatType>;
|
|
2374
|
+
readonly hold: VariantType<{
|
|
2375
|
+
readonly minutes: FloatType;
|
|
2376
|
+
readonly hours: FloatType;
|
|
2377
|
+
readonly days: FloatType;
|
|
2378
|
+
readonly weeks: FloatType;
|
|
2379
|
+
readonly months: FloatType;
|
|
2380
|
+
}>;
|
|
2381
|
+
readonly kind: OptionType<StringType>;
|
|
2382
|
+
}>;
|
|
2383
|
+
/** Type representing {@link ScheduleAllocationRolesType}. */
|
|
2384
|
+
export type ScheduleAllocationRolesType = typeof ScheduleAllocationRolesType;
|
|
2385
|
+
/**
|
|
2386
|
+
* One stored bin, as an Allocation kind's `rows` gives it: its roles, read in
|
|
2387
|
+
* the same pass that reads the row, and the row as bytes at the row type.
|
|
2388
|
+
*
|
|
2389
|
+
* @property roles - Its roles
|
|
2390
|
+
* @property row - Its row, as bytes at the row type
|
|
2391
|
+
*/
|
|
2392
|
+
export declare const ScheduleAllocationEntryType: StructType<{
|
|
2393
|
+
readonly roles: StructType<{
|
|
2394
|
+
readonly at: DateTimeType;
|
|
2395
|
+
readonly lane: StringType;
|
|
2396
|
+
readonly arrival: OptionType<StringType>;
|
|
2397
|
+
readonly quantity: FloatType;
|
|
2398
|
+
readonly parts: DictType<StringType, FloatType>;
|
|
2399
|
+
readonly hold: VariantType<{
|
|
2400
|
+
readonly minutes: FloatType;
|
|
2401
|
+
readonly hours: FloatType;
|
|
2402
|
+
readonly days: FloatType;
|
|
2403
|
+
readonly weeks: FloatType;
|
|
2404
|
+
readonly months: FloatType;
|
|
2405
|
+
}>;
|
|
2406
|
+
readonly kind: OptionType<StringType>;
|
|
2407
|
+
}>;
|
|
2408
|
+
readonly row: BlobType;
|
|
2409
|
+
}>;
|
|
2410
|
+
/** Type representing {@link ScheduleAllocationEntryType}. */
|
|
2411
|
+
export type ScheduleAllocationEntryType = typeof ScheduleAllocationEntryType;
|
|
2412
|
+
/**
|
|
2413
|
+
* One event kind as the Allocation takes it (#1367): the Calendar's closed
|
|
2414
|
+
* kind, with its rows, and its roles read from a row and written into one.
|
|
2415
|
+
*
|
|
2416
|
+
* @property kind - The Calendar's closed kind: its `editing`, `entries`, `history`, `ready`, `fields` and `inspector`
|
|
2417
|
+
* @property rows - Its stored bins of `[from, to)`, by key, each its roles and its row; `none` while a read is in flight
|
|
2418
|
+
* @property read - A drafted row's roles, from its bytes: what `rows` gives a stored one
|
|
2419
|
+
* @property write - The row with every mapped field written from the roles and every other field as it was
|
|
2420
|
+
* @property create - A new row from the roles, and an arrival's values — the fields no role maps, as bytes at `values` — or, with none, every such field its type's default
|
|
2421
|
+
* @property lanes - The resource slot its lanes are: what its `resource.of` names
|
|
2422
|
+
* @property parts - The resource slot its parts are on: what its `parts.of` names
|
|
2423
|
+
* @property kinded - Whether it maps a `kind`
|
|
2424
|
+
* @property unit - Its quantity's unit (`m³`), shown everywhere a quantity is: its `quantity.unit`
|
|
2425
|
+
* @property values - The fields no role maps, a struct: what an arrival's values give a booked bin
|
|
2426
|
+
* @property rowType - The row type
|
|
2427
|
+
*/
|
|
2428
|
+
export declare const ScheduleAllocationKindType: StructType<{
|
|
2429
|
+
readonly kind: StructType<{
|
|
2430
|
+
readonly key: StringType;
|
|
2431
|
+
readonly name: StringType;
|
|
2432
|
+
readonly icon: StringType;
|
|
2433
|
+
readonly takes: ArrayType<StringType>;
|
|
2434
|
+
readonly status: ArrayType<StructType<{
|
|
2435
|
+
readonly case: StringType;
|
|
2436
|
+
readonly status: StructType<{
|
|
2437
|
+
readonly label: StringType;
|
|
2438
|
+
readonly tone: VariantType<{
|
|
2439
|
+
readonly success: NullType;
|
|
2440
|
+
readonly warning: NullType;
|
|
2441
|
+
readonly danger: NullType;
|
|
2442
|
+
readonly info: NullType;
|
|
2443
|
+
readonly neutral: NullType;
|
|
2444
|
+
}>;
|
|
2445
|
+
readonly ring: BooleanType;
|
|
2446
|
+
}>;
|
|
2447
|
+
}>>;
|
|
2448
|
+
readonly backlog: BooleanType;
|
|
2449
|
+
readonly templates: ArrayType<StructType<{
|
|
2450
|
+
readonly key: StringType;
|
|
2451
|
+
readonly name: StringType;
|
|
2452
|
+
readonly group: OptionType<StringType>;
|
|
2453
|
+
readonly at: OptionType<StructType<{
|
|
2454
|
+
readonly hour: IntegerType;
|
|
2455
|
+
readonly minute: IntegerType;
|
|
2456
|
+
}>>;
|
|
2457
|
+
readonly duration: VariantType<{
|
|
2458
|
+
readonly minutes: FloatType;
|
|
2459
|
+
readonly hours: FloatType;
|
|
2460
|
+
readonly days: FloatType;
|
|
2461
|
+
readonly weeks: FloatType;
|
|
2462
|
+
readonly months: FloatType;
|
|
2463
|
+
}>;
|
|
2464
|
+
readonly values: BlobType;
|
|
2465
|
+
}>>;
|
|
2466
|
+
readonly templatesSource: OptionType<StringType>;
|
|
2467
|
+
readonly fields: ArrayType<StructType<{
|
|
2468
|
+
readonly path: ArrayType<StringType>;
|
|
2469
|
+
readonly label: StringType;
|
|
2470
|
+
readonly help: OptionType<StringType>;
|
|
2471
|
+
readonly group: OptionType<StringType>;
|
|
2472
|
+
readonly type: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2473
|
+
readonly Never: NullType;
|
|
2474
|
+
readonly Null: NullType;
|
|
2475
|
+
readonly Boolean: NullType;
|
|
2476
|
+
readonly Integer: NullType;
|
|
2477
|
+
readonly Float: NullType;
|
|
2478
|
+
readonly String: NullType;
|
|
2479
|
+
readonly DateTime: NullType;
|
|
2480
|
+
readonly Blob: NullType;
|
|
2481
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2482
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2483
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2484
|
+
readonly Dict: StructType<{
|
|
2485
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2486
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2487
|
+
}>;
|
|
2488
|
+
readonly Struct: ArrayType<StructType<{
|
|
2489
|
+
readonly name: StringType;
|
|
2490
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2491
|
+
}>>;
|
|
2492
|
+
readonly Variant: ArrayType<StructType<{
|
|
2493
|
+
readonly name: StringType;
|
|
2494
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2495
|
+
}>>;
|
|
2496
|
+
readonly Recursive: VariantType<{
|
|
2497
|
+
readonly ref: IntegerType;
|
|
2498
|
+
readonly wrapper: StructType<{
|
|
2499
|
+
readonly id: IntegerType;
|
|
2500
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2501
|
+
}>;
|
|
2502
|
+
}>;
|
|
2503
|
+
readonly Function: StructType<{
|
|
2504
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2505
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2506
|
+
}>;
|
|
2507
|
+
readonly AsyncFunction: StructType<{
|
|
2508
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2509
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2510
|
+
}>;
|
|
2511
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2512
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2513
|
+
}>>;
|
|
2514
|
+
readonly optional: BooleanType;
|
|
2515
|
+
readonly editor: VariantType<{
|
|
2516
|
+
readonly text: StructType<{
|
|
2517
|
+
readonly placeholder: OptionType<StringType>;
|
|
2518
|
+
}>;
|
|
2519
|
+
readonly number: StructType<{
|
|
2520
|
+
readonly unit: OptionType<StringType>;
|
|
2521
|
+
readonly step: OptionType<FloatType>;
|
|
2522
|
+
readonly min: OptionType<FloatType>;
|
|
2523
|
+
readonly max: OptionType<FloatType>;
|
|
2524
|
+
}>;
|
|
2525
|
+
readonly checkbox: NullType;
|
|
2526
|
+
readonly datetime: StructType<{
|
|
2527
|
+
readonly precision: OptionType<VariantType<{
|
|
2528
|
+
readonly date: NullType;
|
|
2529
|
+
readonly time: NullType;
|
|
2530
|
+
readonly datetime: NullType;
|
|
2531
|
+
}>>;
|
|
2532
|
+
}>;
|
|
2533
|
+
readonly select: ArrayType<StructType<{
|
|
2534
|
+
readonly case: StringType;
|
|
2535
|
+
readonly label: StringType;
|
|
2536
|
+
}>>;
|
|
2537
|
+
readonly tags: StructType<{
|
|
2538
|
+
readonly options: ArrayType<StringType>;
|
|
2539
|
+
}>;
|
|
2540
|
+
readonly checklist: StructType<{
|
|
2541
|
+
readonly text: StringType;
|
|
2542
|
+
readonly done: StringType;
|
|
2543
|
+
}>;
|
|
2544
|
+
readonly reference: StructType<{
|
|
2545
|
+
readonly of: StringType;
|
|
2546
|
+
}>;
|
|
2547
|
+
readonly readonly: NullType;
|
|
2548
|
+
}>;
|
|
2549
|
+
}>>;
|
|
2550
|
+
readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
2551
|
+
readonly kind: StringType;
|
|
2552
|
+
readonly key: StringType;
|
|
2553
|
+
readonly title: StringType;
|
|
2554
|
+
readonly start: OptionType<DateTimeType>;
|
|
2555
|
+
readonly end: OptionType<DateTimeType>;
|
|
2556
|
+
readonly resource: OptionType<StructType<{
|
|
2557
|
+
readonly kind: StringType;
|
|
2558
|
+
readonly key: StringType;
|
|
2559
|
+
}>>;
|
|
2560
|
+
readonly status: OptionType<StructType<{
|
|
2561
|
+
readonly label: StringType;
|
|
2562
|
+
readonly tone: VariantType<{
|
|
2563
|
+
readonly success: NullType;
|
|
2564
|
+
readonly warning: NullType;
|
|
2565
|
+
readonly danger: NullType;
|
|
2566
|
+
readonly info: NullType;
|
|
2567
|
+
readonly neutral: NullType;
|
|
2568
|
+
}>;
|
|
2569
|
+
readonly ring: BooleanType;
|
|
2570
|
+
}>>;
|
|
2571
|
+
readonly minutes: IntegerType;
|
|
2572
|
+
readonly due: OptionType<DateTimeType>;
|
|
2573
|
+
}>>>>;
|
|
2574
|
+
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, BlobType>], OptionType<ArrayType<StructType<{
|
|
2575
|
+
readonly kind: StringType;
|
|
2576
|
+
readonly key: StringType;
|
|
2577
|
+
readonly title: StringType;
|
|
2578
|
+
readonly start: OptionType<DateTimeType>;
|
|
2579
|
+
readonly end: OptionType<DateTimeType>;
|
|
2580
|
+
readonly resource: OptionType<StructType<{
|
|
2581
|
+
readonly kind: StringType;
|
|
2582
|
+
readonly key: StringType;
|
|
2583
|
+
}>>;
|
|
2584
|
+
readonly status: OptionType<StructType<{
|
|
2585
|
+
readonly label: StringType;
|
|
2586
|
+
readonly tone: VariantType<{
|
|
2587
|
+
readonly success: NullType;
|
|
2588
|
+
readonly warning: NullType;
|
|
2589
|
+
readonly danger: NullType;
|
|
2590
|
+
readonly info: NullType;
|
|
2591
|
+
readonly neutral: NullType;
|
|
2592
|
+
}>;
|
|
2593
|
+
readonly ring: BooleanType;
|
|
2594
|
+
}>>;
|
|
2595
|
+
readonly minutes: IntegerType;
|
|
2596
|
+
readonly due: OptionType<DateTimeType>;
|
|
2597
|
+
}>>>>;
|
|
2598
|
+
readonly write: FunctionType<[ArrayType<StructType<{
|
|
2599
|
+
readonly id: StringType;
|
|
2600
|
+
readonly entry: BlobType;
|
|
2601
|
+
readonly gesture: VariantType<{
|
|
2602
|
+
readonly place: StructType<{
|
|
2603
|
+
readonly start: DateTimeType;
|
|
2604
|
+
readonly end: DateTimeType;
|
|
2605
|
+
readonly resource: OptionType<StructType<{
|
|
2606
|
+
readonly kind: StringType;
|
|
2607
|
+
readonly key: StringType;
|
|
2608
|
+
}>>;
|
|
2609
|
+
}>;
|
|
2610
|
+
readonly unplace: NullType;
|
|
2611
|
+
readonly field: StructType<{
|
|
2612
|
+
readonly path: ArrayType<StringType>;
|
|
2613
|
+
readonly value: BlobType;
|
|
2614
|
+
}>;
|
|
2615
|
+
readonly create: StructType<{
|
|
2616
|
+
readonly template: StringType;
|
|
2617
|
+
readonly start: DateTimeType;
|
|
2618
|
+
readonly end: DateTimeType;
|
|
2619
|
+
readonly resource: OptionType<StructType<{
|
|
2620
|
+
readonly kind: StringType;
|
|
2621
|
+
readonly key: StringType;
|
|
2622
|
+
}>>;
|
|
2623
|
+
}>;
|
|
2624
|
+
}>;
|
|
2625
|
+
}>>], ArrayType<OptionType<BlobType>>>;
|
|
2626
|
+
readonly ready: OptionType<FunctionType<[ArrayType<StructType<{
|
|
2627
|
+
readonly id: StringType;
|
|
2628
|
+
readonly entry: BlobType;
|
|
2629
|
+
}>>], ArrayType<VariantType<{
|
|
2630
|
+
readonly ready: NullType;
|
|
2631
|
+
readonly incomplete: ArrayType<StructType<{
|
|
2632
|
+
readonly field: StringType;
|
|
2633
|
+
readonly message: StringType;
|
|
2634
|
+
}>>;
|
|
2635
|
+
readonly invalid: ArrayType<StructType<{
|
|
2636
|
+
readonly field: StringType;
|
|
2637
|
+
readonly message: StringType;
|
|
2638
|
+
}>>;
|
|
2639
|
+
}>>>>;
|
|
2640
|
+
readonly editing: StructType<{
|
|
2641
|
+
sourceId: StringType;
|
|
2642
|
+
entryType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2643
|
+
readonly Never: NullType;
|
|
2644
|
+
readonly Null: NullType;
|
|
2645
|
+
readonly Boolean: NullType;
|
|
2646
|
+
readonly Integer: NullType;
|
|
2647
|
+
readonly Float: NullType;
|
|
2648
|
+
readonly String: NullType;
|
|
2649
|
+
readonly DateTime: NullType;
|
|
2650
|
+
readonly Blob: NullType;
|
|
2651
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2652
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2653
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2654
|
+
readonly Dict: StructType<{
|
|
2655
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2656
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2657
|
+
}>;
|
|
2658
|
+
readonly Struct: ArrayType<StructType<{
|
|
2659
|
+
readonly name: StringType;
|
|
2660
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2661
|
+
}>>;
|
|
2662
|
+
readonly Variant: ArrayType<StructType<{
|
|
2663
|
+
readonly name: StringType;
|
|
2664
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2665
|
+
}>>;
|
|
2666
|
+
readonly Recursive: VariantType<{
|
|
2667
|
+
readonly ref: IntegerType;
|
|
2668
|
+
readonly wrapper: StructType<{
|
|
2669
|
+
readonly id: IntegerType;
|
|
2670
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2671
|
+
}>;
|
|
2672
|
+
}>;
|
|
2673
|
+
readonly Function: StructType<{
|
|
2674
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2675
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2676
|
+
}>;
|
|
2677
|
+
readonly AsyncFunction: StructType<{
|
|
2678
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2679
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2680
|
+
}>;
|
|
2681
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2682
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2683
|
+
}>>;
|
|
2684
|
+
idField: OptionType<StringType>;
|
|
2685
|
+
draftType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2686
|
+
readonly Never: NullType;
|
|
2687
|
+
readonly Null: NullType;
|
|
2688
|
+
readonly Boolean: NullType;
|
|
2689
|
+
readonly Integer: NullType;
|
|
2690
|
+
readonly Float: NullType;
|
|
2691
|
+
readonly String: NullType;
|
|
2692
|
+
readonly DateTime: NullType;
|
|
2693
|
+
readonly Blob: NullType;
|
|
2694
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2695
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2696
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2697
|
+
readonly Dict: StructType<{
|
|
2698
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2699
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2700
|
+
}>;
|
|
2701
|
+
readonly Struct: ArrayType<StructType<{
|
|
2702
|
+
readonly name: StringType;
|
|
2703
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2704
|
+
}>>;
|
|
2705
|
+
readonly Variant: ArrayType<StructType<{
|
|
2706
|
+
readonly name: StringType;
|
|
2707
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2708
|
+
}>>;
|
|
2709
|
+
readonly Recursive: VariantType<{
|
|
2710
|
+
readonly ref: IntegerType;
|
|
2711
|
+
readonly wrapper: StructType<{
|
|
2712
|
+
readonly id: IntegerType;
|
|
2713
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2714
|
+
}>;
|
|
2715
|
+
}>;
|
|
2716
|
+
readonly Function: StructType<{
|
|
2717
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2718
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2719
|
+
}>;
|
|
2720
|
+
readonly AsyncFunction: StructType<{
|
|
2721
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2722
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2723
|
+
}>;
|
|
2724
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2725
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2726
|
+
}>>;
|
|
2727
|
+
children: OptionType<StringType>;
|
|
2728
|
+
keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
|
|
2729
|
+
readonly Never: NullType;
|
|
2730
|
+
readonly Null: NullType;
|
|
2731
|
+
readonly Boolean: NullType;
|
|
2732
|
+
readonly Integer: NullType;
|
|
2733
|
+
readonly Float: NullType;
|
|
2734
|
+
readonly String: NullType;
|
|
2735
|
+
readonly DateTime: NullType;
|
|
2736
|
+
readonly Blob: NullType;
|
|
2737
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2738
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2739
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2740
|
+
readonly Dict: StructType<{
|
|
2741
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2742
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2743
|
+
}>;
|
|
2744
|
+
readonly Struct: ArrayType<StructType<{
|
|
2745
|
+
readonly name: StringType;
|
|
2746
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2747
|
+
}>>;
|
|
2748
|
+
readonly Variant: ArrayType<StructType<{
|
|
2749
|
+
readonly name: StringType;
|
|
2750
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2751
|
+
}>>;
|
|
2752
|
+
readonly Recursive: VariantType<{
|
|
2753
|
+
readonly ref: IntegerType;
|
|
2754
|
+
readonly wrapper: StructType<{
|
|
2755
|
+
readonly id: IntegerType;
|
|
2756
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2757
|
+
}>;
|
|
2758
|
+
}>;
|
|
2759
|
+
readonly Function: StructType<{
|
|
2760
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2761
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2762
|
+
}>;
|
|
2763
|
+
readonly AsyncFunction: StructType<{
|
|
2764
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2765
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2766
|
+
}>;
|
|
2767
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2768
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2769
|
+
}>>>;
|
|
2770
|
+
snapshot: OptionType<BlobType>;
|
|
2771
|
+
readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
|
|
2772
|
+
onPatch: OptionType<FunctionType<[BlobType], NullType>>;
|
|
2773
|
+
onApply: OptionType<VariantType<{
|
|
2774
|
+
readonly sync: FunctionType<[BlobType], VariantType<{
|
|
2775
|
+
readonly applied: StructType<{
|
|
2776
|
+
readonly revision: OptionType<StringType>;
|
|
2777
|
+
}>;
|
|
2778
|
+
readonly rejected: ArrayType<StructType<{
|
|
2779
|
+
readonly entry: StringType;
|
|
2780
|
+
readonly row: OptionType<IntegerType>;
|
|
2781
|
+
readonly field: OptionType<StringType>;
|
|
2782
|
+
readonly message: StringType;
|
|
2783
|
+
}>>;
|
|
2784
|
+
readonly conflict: ArrayType<StructType<{
|
|
2785
|
+
readonly entry: StringType;
|
|
2786
|
+
readonly row: OptionType<IntegerType>;
|
|
2787
|
+
readonly field: OptionType<StringType>;
|
|
2788
|
+
readonly message: StringType;
|
|
2789
|
+
}>>;
|
|
2790
|
+
}>>;
|
|
2791
|
+
readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
|
|
2792
|
+
readonly applied: StructType<{
|
|
2793
|
+
readonly revision: OptionType<StringType>;
|
|
2794
|
+
}>;
|
|
2795
|
+
readonly rejected: ArrayType<StructType<{
|
|
2796
|
+
readonly entry: StringType;
|
|
2797
|
+
readonly row: OptionType<IntegerType>;
|
|
2798
|
+
readonly field: OptionType<StringType>;
|
|
2799
|
+
readonly message: StringType;
|
|
2800
|
+
}>>;
|
|
2801
|
+
readonly conflict: ArrayType<StructType<{
|
|
2802
|
+
readonly entry: StringType;
|
|
2803
|
+
readonly row: OptionType<IntegerType>;
|
|
2804
|
+
readonly field: OptionType<StringType>;
|
|
2805
|
+
readonly message: StringType;
|
|
2806
|
+
}>>;
|
|
2807
|
+
}>>;
|
|
2808
|
+
}>>;
|
|
2809
|
+
mode: VariantType<{
|
|
2810
|
+
readonly batch: NullType;
|
|
2811
|
+
readonly auto: NullType;
|
|
2812
|
+
}>;
|
|
2813
|
+
}>;
|
|
2814
|
+
readonly entries: OptionType<StructType<{
|
|
2815
|
+
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
2816
|
+
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
2817
|
+
readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
|
|
2818
|
+
readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
|
|
2819
|
+
}>>;
|
|
2820
|
+
readonly history: FunctionType<[], OptionType<ArrayType<StructType<{
|
|
2821
|
+
readonly hash: StringType;
|
|
2822
|
+
readonly parent: OptionType<StringType>;
|
|
2823
|
+
readonly state: StringType;
|
|
2824
|
+
readonly mutation: StringType;
|
|
2825
|
+
readonly actor: StringType;
|
|
2826
|
+
readonly at: DateTimeType;
|
|
2827
|
+
readonly delta: OptionType<StringType>;
|
|
2828
|
+
}>>>>;
|
|
2829
|
+
/** One event and its row, read from the window or by key, with drafts applied. */
|
|
2830
|
+
readonly event: FunctionType<[StringType, DictType<StringType, BlobType>, DateTimeType, DateTimeType], OptionType<StructType<{
|
|
2831
|
+
readonly item: StructType<{
|
|
2832
|
+
readonly kind: StringType;
|
|
2833
|
+
readonly key: StringType;
|
|
2834
|
+
readonly title: StringType;
|
|
2835
|
+
readonly start: OptionType<DateTimeType>;
|
|
2836
|
+
readonly end: OptionType<DateTimeType>;
|
|
2837
|
+
readonly resource: OptionType<StructType<{
|
|
2838
|
+
readonly kind: StringType;
|
|
2839
|
+
readonly key: StringType;
|
|
2840
|
+
}>>;
|
|
2841
|
+
readonly status: OptionType<StructType<{
|
|
2842
|
+
readonly label: StringType;
|
|
2843
|
+
readonly tone: VariantType<{
|
|
2844
|
+
readonly success: NullType;
|
|
2845
|
+
readonly warning: NullType;
|
|
2846
|
+
readonly danger: NullType;
|
|
2847
|
+
readonly info: NullType;
|
|
2848
|
+
readonly neutral: NullType;
|
|
2849
|
+
}>;
|
|
2850
|
+
readonly ring: BooleanType;
|
|
2851
|
+
}>>;
|
|
2852
|
+
readonly minutes: IntegerType;
|
|
2853
|
+
readonly due: OptionType<DateTimeType>;
|
|
2854
|
+
}>;
|
|
2855
|
+
readonly row: BlobType;
|
|
2856
|
+
}>>>;
|
|
2857
|
+
/** The inspector's schedule fields. */
|
|
2858
|
+
readonly schedule: StructType<{
|
|
2859
|
+
readonly title: StringType;
|
|
2860
|
+
readonly start: StringType;
|
|
2861
|
+
readonly end: StringType;
|
|
2862
|
+
readonly resource: OptionType<StringType>;
|
|
2863
|
+
readonly status: OptionType<StringType>;
|
|
2864
|
+
}>;
|
|
2865
|
+
/** Whether this kind participates in overlap warnings. */
|
|
2866
|
+
readonly overlaps: VariantType<{
|
|
2867
|
+
readonly warn: NullType;
|
|
2868
|
+
readonly allow: NullType;
|
|
2869
|
+
}>;
|
|
2870
|
+
/** The author's form in place of the default fields. */
|
|
2871
|
+
readonly inspector: OptionType<FunctionType<[BlobType, FunctionType<[BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
|
|
2872
|
+
}>;
|
|
2873
|
+
readonly rows: FunctionType<[DateTimeType, DateTimeType], OptionType<DictType<StringType, StructType<{
|
|
2874
|
+
readonly roles: StructType<{
|
|
2875
|
+
readonly at: DateTimeType;
|
|
2876
|
+
readonly lane: StringType;
|
|
2877
|
+
readonly arrival: OptionType<StringType>;
|
|
2878
|
+
readonly quantity: FloatType;
|
|
2879
|
+
readonly parts: DictType<StringType, FloatType>;
|
|
2880
|
+
readonly hold: VariantType<{
|
|
2881
|
+
readonly minutes: FloatType;
|
|
2882
|
+
readonly hours: FloatType;
|
|
2883
|
+
readonly days: FloatType;
|
|
2884
|
+
readonly weeks: FloatType;
|
|
2885
|
+
readonly months: FloatType;
|
|
2886
|
+
}>;
|
|
2887
|
+
readonly kind: OptionType<StringType>;
|
|
2888
|
+
}>;
|
|
2889
|
+
readonly row: BlobType;
|
|
2890
|
+
}>>>>;
|
|
2891
|
+
readonly read: FunctionType<[BlobType], StructType<{
|
|
2892
|
+
readonly at: DateTimeType;
|
|
2893
|
+
readonly lane: StringType;
|
|
2894
|
+
readonly arrival: OptionType<StringType>;
|
|
2895
|
+
readonly quantity: FloatType;
|
|
2896
|
+
readonly parts: DictType<StringType, FloatType>;
|
|
2897
|
+
readonly hold: VariantType<{
|
|
2898
|
+
readonly minutes: FloatType;
|
|
2899
|
+
readonly hours: FloatType;
|
|
2900
|
+
readonly days: FloatType;
|
|
2901
|
+
readonly weeks: FloatType;
|
|
2902
|
+
readonly months: FloatType;
|
|
2903
|
+
}>;
|
|
2904
|
+
readonly kind: OptionType<StringType>;
|
|
2905
|
+
}>>;
|
|
2906
|
+
readonly write: FunctionType<[BlobType, StructType<{
|
|
2907
|
+
readonly at: DateTimeType;
|
|
2908
|
+
readonly lane: StringType;
|
|
2909
|
+
readonly arrival: OptionType<StringType>;
|
|
2910
|
+
readonly quantity: FloatType;
|
|
2911
|
+
readonly parts: DictType<StringType, FloatType>;
|
|
2912
|
+
readonly hold: VariantType<{
|
|
2913
|
+
readonly minutes: FloatType;
|
|
2914
|
+
readonly hours: FloatType;
|
|
2915
|
+
readonly days: FloatType;
|
|
2916
|
+
readonly weeks: FloatType;
|
|
2917
|
+
readonly months: FloatType;
|
|
2918
|
+
}>;
|
|
2919
|
+
readonly kind: OptionType<StringType>;
|
|
2920
|
+
}>], BlobType>;
|
|
2921
|
+
readonly create: FunctionType<[StructType<{
|
|
2922
|
+
readonly at: DateTimeType;
|
|
2923
|
+
readonly lane: StringType;
|
|
2924
|
+
readonly arrival: OptionType<StringType>;
|
|
2925
|
+
readonly quantity: FloatType;
|
|
2926
|
+
readonly parts: DictType<StringType, FloatType>;
|
|
2927
|
+
readonly hold: VariantType<{
|
|
2928
|
+
readonly minutes: FloatType;
|
|
2929
|
+
readonly hours: FloatType;
|
|
2930
|
+
readonly days: FloatType;
|
|
2931
|
+
readonly weeks: FloatType;
|
|
2932
|
+
readonly months: FloatType;
|
|
2933
|
+
}>;
|
|
2934
|
+
readonly kind: OptionType<StringType>;
|
|
2935
|
+
}>, OptionType<BlobType>], BlobType>;
|
|
2936
|
+
readonly lanes: StringType;
|
|
2937
|
+
readonly parts: StringType;
|
|
2938
|
+
readonly kinded: BooleanType;
|
|
2939
|
+
readonly unit: OptionType<StringType>;
|
|
2940
|
+
readonly values: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2941
|
+
readonly Never: NullType;
|
|
2942
|
+
readonly Null: NullType;
|
|
2943
|
+
readonly Boolean: NullType;
|
|
2944
|
+
readonly Integer: NullType;
|
|
2945
|
+
readonly Float: NullType;
|
|
2946
|
+
readonly String: NullType;
|
|
2947
|
+
readonly DateTime: NullType;
|
|
2948
|
+
readonly Blob: NullType;
|
|
2949
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2950
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2951
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2952
|
+
readonly Dict: StructType<{
|
|
2953
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2954
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2955
|
+
}>;
|
|
2956
|
+
readonly Struct: ArrayType<StructType<{
|
|
2957
|
+
readonly name: StringType;
|
|
2958
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2959
|
+
}>>;
|
|
2960
|
+
readonly Variant: ArrayType<StructType<{
|
|
2961
|
+
readonly name: StringType;
|
|
2962
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
2963
|
+
}>>;
|
|
2964
|
+
readonly Recursive: VariantType<{
|
|
2965
|
+
readonly ref: IntegerType;
|
|
2966
|
+
readonly wrapper: StructType<{
|
|
2967
|
+
readonly id: IntegerType;
|
|
2968
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
2969
|
+
}>;
|
|
2970
|
+
}>;
|
|
2971
|
+
readonly Function: StructType<{
|
|
2972
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2973
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2974
|
+
}>;
|
|
2975
|
+
readonly AsyncFunction: StructType<{
|
|
2976
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
2977
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
2978
|
+
}>;
|
|
2979
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
2980
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
2981
|
+
}>>;
|
|
2982
|
+
readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
2983
|
+
readonly Never: NullType;
|
|
2984
|
+
readonly Null: NullType;
|
|
2985
|
+
readonly Boolean: NullType;
|
|
2986
|
+
readonly Integer: NullType;
|
|
2987
|
+
readonly Float: NullType;
|
|
2988
|
+
readonly String: NullType;
|
|
2989
|
+
readonly DateTime: NullType;
|
|
2990
|
+
readonly Blob: NullType;
|
|
2991
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
2992
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
2993
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
2994
|
+
readonly Dict: StructType<{
|
|
2995
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
2996
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
2997
|
+
}>;
|
|
2998
|
+
readonly Struct: ArrayType<StructType<{
|
|
2999
|
+
readonly name: StringType;
|
|
3000
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3001
|
+
}>>;
|
|
3002
|
+
readonly Variant: ArrayType<StructType<{
|
|
3003
|
+
readonly name: StringType;
|
|
3004
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3005
|
+
}>>;
|
|
3006
|
+
readonly Recursive: VariantType<{
|
|
3007
|
+
readonly ref: IntegerType;
|
|
3008
|
+
readonly wrapper: StructType<{
|
|
3009
|
+
readonly id: IntegerType;
|
|
3010
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
3011
|
+
}>;
|
|
3012
|
+
}>;
|
|
3013
|
+
readonly Function: StructType<{
|
|
3014
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3015
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3016
|
+
}>;
|
|
3017
|
+
readonly AsyncFunction: StructType<{
|
|
3018
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3019
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3020
|
+
}>;
|
|
3021
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
3022
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
3023
|
+
}>>;
|
|
3024
|
+
}>;
|
|
3025
|
+
/** Type representing {@link ScheduleAllocationKindType}. */
|
|
3026
|
+
export type ScheduleAllocationKindType = typeof ScheduleAllocationKindType;
|
|
3027
|
+
/**
|
|
3028
|
+
* A period's status, as a builder reads it from the app's status field
|
|
3029
|
+
* (`Builder Interfaces Spec.md` §4.3).
|
|
3030
|
+
*
|
|
3031
|
+
* @property draft - The draft case: editable
|
|
3032
|
+
* @property published - The published case, and when, when the case holds a time; read-only
|
|
3033
|
+
* @property other - Any other case of the app's status, by its name; read-only
|
|
3034
|
+
*/
|
|
3035
|
+
export declare const SchedulePeriodStatusType: VariantType<{
|
|
3036
|
+
readonly draft: NullType;
|
|
3037
|
+
readonly published: StructType<{
|
|
3038
|
+
readonly at: OptionType<DateTimeType>;
|
|
3039
|
+
}>;
|
|
3040
|
+
readonly other: StringType;
|
|
3041
|
+
}>;
|
|
3042
|
+
/** Type representing {@link SchedulePeriodStatusType}. */
|
|
3043
|
+
export type SchedulePeriodStatusType = typeof SchedulePeriodStatusType;
|
|
3044
|
+
/**
|
|
3045
|
+
* What a builder publishes, closed (`Schedule.periods`, #1367): the app's
|
|
3046
|
+
* record of periods, a row each, keyed by its start.
|
|
3047
|
+
*
|
|
3048
|
+
* @property every - What a period is: a week from the builder's week start, or a UTC day
|
|
3049
|
+
* @property editing - The shared session over the record: whole rows by their start, its patch door
|
|
3050
|
+
* @property entries - The record read by key, when it is given `entries`; `none` for a record read whole
|
|
3051
|
+
* @property rows - The periods starting in `[from, to)`, by their start, as bytes at the row type; `none` while a read is in flight
|
|
3052
|
+
* @property status - A row's status
|
|
3053
|
+
* @property publish - The row, or a new one, with its status the published case at the time given
|
|
3054
|
+
* @property dismissible - Whether the builder maps `dismissed`
|
|
3055
|
+
* @property dismissed - The proposals a row dismissed; empty when the builder maps none
|
|
3056
|
+
* @property dismiss - The row, or a new one, with its dismissed proposals the set given
|
|
3057
|
+
* @property history - The record's commits, newest first
|
|
3058
|
+
* @property rowType - The row type
|
|
3059
|
+
*/
|
|
3060
|
+
export declare const SchedulePeriodsKindType: StructType<{
|
|
3061
|
+
readonly every: VariantType<{
|
|
3062
|
+
readonly week: NullType;
|
|
3063
|
+
readonly day: NullType;
|
|
3064
|
+
}>;
|
|
3065
|
+
readonly editing: StructType<{
|
|
3066
|
+
sourceId: StringType;
|
|
3067
|
+
entryType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
3068
|
+
readonly Never: NullType;
|
|
3069
|
+
readonly Null: NullType;
|
|
3070
|
+
readonly Boolean: NullType;
|
|
3071
|
+
readonly Integer: NullType;
|
|
3072
|
+
readonly Float: NullType;
|
|
3073
|
+
readonly String: NullType;
|
|
3074
|
+
readonly DateTime: NullType;
|
|
3075
|
+
readonly Blob: NullType;
|
|
3076
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
3077
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
3078
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
3079
|
+
readonly Dict: StructType<{
|
|
3080
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
3081
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
3082
|
+
}>;
|
|
3083
|
+
readonly Struct: ArrayType<StructType<{
|
|
3084
|
+
readonly name: StringType;
|
|
3085
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3086
|
+
}>>;
|
|
3087
|
+
readonly Variant: ArrayType<StructType<{
|
|
3088
|
+
readonly name: StringType;
|
|
3089
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3090
|
+
}>>;
|
|
3091
|
+
readonly Recursive: VariantType<{
|
|
3092
|
+
readonly ref: IntegerType;
|
|
3093
|
+
readonly wrapper: StructType<{
|
|
3094
|
+
readonly id: IntegerType;
|
|
3095
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
3096
|
+
}>;
|
|
3097
|
+
}>;
|
|
3098
|
+
readonly Function: StructType<{
|
|
3099
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3100
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3101
|
+
}>;
|
|
3102
|
+
readonly AsyncFunction: StructType<{
|
|
3103
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3104
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3105
|
+
}>;
|
|
3106
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
3107
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
3108
|
+
}>>;
|
|
3109
|
+
idField: OptionType<StringType>;
|
|
3110
|
+
draftType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
3111
|
+
readonly Never: NullType;
|
|
3112
|
+
readonly Null: NullType;
|
|
3113
|
+
readonly Boolean: NullType;
|
|
3114
|
+
readonly Integer: NullType;
|
|
3115
|
+
readonly Float: NullType;
|
|
3116
|
+
readonly String: NullType;
|
|
3117
|
+
readonly DateTime: NullType;
|
|
3118
|
+
readonly Blob: NullType;
|
|
3119
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
3120
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
3121
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
3122
|
+
readonly Dict: StructType<{
|
|
3123
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
3124
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
3125
|
+
}>;
|
|
3126
|
+
readonly Struct: ArrayType<StructType<{
|
|
3127
|
+
readonly name: StringType;
|
|
3128
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3129
|
+
}>>;
|
|
3130
|
+
readonly Variant: ArrayType<StructType<{
|
|
3131
|
+
readonly name: StringType;
|
|
3132
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3133
|
+
}>>;
|
|
3134
|
+
readonly Recursive: VariantType<{
|
|
3135
|
+
readonly ref: IntegerType;
|
|
3136
|
+
readonly wrapper: StructType<{
|
|
3137
|
+
readonly id: IntegerType;
|
|
3138
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
3139
|
+
}>;
|
|
3140
|
+
}>;
|
|
3141
|
+
readonly Function: StructType<{
|
|
3142
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3143
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3144
|
+
}>;
|
|
3145
|
+
readonly AsyncFunction: StructType<{
|
|
3146
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3147
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3148
|
+
}>;
|
|
3149
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
3150
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
3151
|
+
}>>;
|
|
3152
|
+
children: OptionType<StringType>;
|
|
3153
|
+
keyType: OptionType<import("@elaraai/east").RecursiveType<VariantType<{
|
|
3154
|
+
readonly Never: NullType;
|
|
3155
|
+
readonly Null: NullType;
|
|
3156
|
+
readonly Boolean: NullType;
|
|
3157
|
+
readonly Integer: NullType;
|
|
3158
|
+
readonly Float: NullType;
|
|
3159
|
+
readonly String: NullType;
|
|
3160
|
+
readonly DateTime: NullType;
|
|
3161
|
+
readonly Blob: NullType;
|
|
3162
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
3163
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
3164
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
3165
|
+
readonly Dict: StructType<{
|
|
3166
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
3167
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
3168
|
+
}>;
|
|
3169
|
+
readonly Struct: ArrayType<StructType<{
|
|
3170
|
+
readonly name: StringType;
|
|
3171
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3172
|
+
}>>;
|
|
3173
|
+
readonly Variant: ArrayType<StructType<{
|
|
3174
|
+
readonly name: StringType;
|
|
3175
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3176
|
+
}>>;
|
|
3177
|
+
readonly Recursive: VariantType<{
|
|
3178
|
+
readonly ref: IntegerType;
|
|
3179
|
+
readonly wrapper: StructType<{
|
|
3180
|
+
readonly id: IntegerType;
|
|
3181
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
3182
|
+
}>;
|
|
3183
|
+
}>;
|
|
3184
|
+
readonly Function: StructType<{
|
|
3185
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3186
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3187
|
+
}>;
|
|
3188
|
+
readonly AsyncFunction: StructType<{
|
|
3189
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3190
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3191
|
+
}>;
|
|
3192
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
3193
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
3194
|
+
}>>>;
|
|
3195
|
+
snapshot: OptionType<BlobType>;
|
|
3196
|
+
readEntry: FunctionType<[StringType, IntegerType], OptionType<BlobType>>;
|
|
3197
|
+
onPatch: OptionType<FunctionType<[BlobType], NullType>>;
|
|
3198
|
+
onApply: OptionType<VariantType<{
|
|
3199
|
+
readonly sync: FunctionType<[BlobType], VariantType<{
|
|
3200
|
+
readonly applied: StructType<{
|
|
3201
|
+
readonly revision: OptionType<StringType>;
|
|
3202
|
+
}>;
|
|
3203
|
+
readonly rejected: ArrayType<StructType<{
|
|
3204
|
+
readonly entry: StringType;
|
|
3205
|
+
readonly row: OptionType<IntegerType>;
|
|
3206
|
+
readonly field: OptionType<StringType>;
|
|
3207
|
+
readonly message: StringType;
|
|
3208
|
+
}>>;
|
|
3209
|
+
readonly conflict: ArrayType<StructType<{
|
|
3210
|
+
readonly entry: StringType;
|
|
3211
|
+
readonly row: OptionType<IntegerType>;
|
|
3212
|
+
readonly field: OptionType<StringType>;
|
|
3213
|
+
readonly message: StringType;
|
|
3214
|
+
}>>;
|
|
3215
|
+
}>>;
|
|
3216
|
+
readonly async: import("@elaraai/east").AsyncFunctionType<[BlobType], VariantType<{
|
|
3217
|
+
readonly applied: StructType<{
|
|
3218
|
+
readonly revision: OptionType<StringType>;
|
|
3219
|
+
}>;
|
|
3220
|
+
readonly rejected: ArrayType<StructType<{
|
|
3221
|
+
readonly entry: StringType;
|
|
3222
|
+
readonly row: OptionType<IntegerType>;
|
|
3223
|
+
readonly field: OptionType<StringType>;
|
|
3224
|
+
readonly message: StringType;
|
|
3225
|
+
}>>;
|
|
3226
|
+
readonly conflict: ArrayType<StructType<{
|
|
3227
|
+
readonly entry: StringType;
|
|
3228
|
+
readonly row: OptionType<IntegerType>;
|
|
3229
|
+
readonly field: OptionType<StringType>;
|
|
3230
|
+
readonly message: StringType;
|
|
3231
|
+
}>>;
|
|
3232
|
+
}>>;
|
|
3233
|
+
}>>;
|
|
3234
|
+
mode: VariantType<{
|
|
3235
|
+
readonly batch: NullType;
|
|
3236
|
+
readonly auto: NullType;
|
|
3237
|
+
}>;
|
|
3238
|
+
}>;
|
|
3239
|
+
readonly entries: OptionType<StructType<{
|
|
3240
|
+
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
3241
|
+
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
3242
|
+
readonly entry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
|
|
3243
|
+
readonly last: FunctionType<[], OptionType<OptionType<StringType>>>;
|
|
3244
|
+
}>>;
|
|
3245
|
+
readonly rows: FunctionType<[DateTimeType, DateTimeType], OptionType<DictType<DateTimeType, BlobType>>>;
|
|
3246
|
+
readonly status: FunctionType<[BlobType], VariantType<{
|
|
3247
|
+
readonly draft: NullType;
|
|
3248
|
+
readonly published: StructType<{
|
|
3249
|
+
readonly at: OptionType<DateTimeType>;
|
|
3250
|
+
}>;
|
|
3251
|
+
readonly other: StringType;
|
|
3252
|
+
}>>;
|
|
3253
|
+
readonly publish: FunctionType<[OptionType<BlobType>, DateTimeType], BlobType>;
|
|
3254
|
+
readonly dismissible: BooleanType;
|
|
3255
|
+
readonly dismissed: FunctionType<[BlobType], SetType<StringType>>;
|
|
3256
|
+
readonly dismiss: FunctionType<[OptionType<BlobType>, SetType<StringType>], BlobType>;
|
|
3257
|
+
readonly history: FunctionType<[], OptionType<ArrayType<StructType<{
|
|
3258
|
+
readonly hash: StringType;
|
|
3259
|
+
readonly parent: OptionType<StringType>;
|
|
3260
|
+
readonly state: StringType;
|
|
3261
|
+
readonly mutation: StringType;
|
|
3262
|
+
readonly actor: StringType;
|
|
3263
|
+
readonly at: DateTimeType;
|
|
3264
|
+
readonly delta: OptionType<StringType>;
|
|
3265
|
+
}>>>>;
|
|
3266
|
+
readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
3267
|
+
readonly Never: NullType;
|
|
3268
|
+
readonly Null: NullType;
|
|
3269
|
+
readonly Boolean: NullType;
|
|
3270
|
+
readonly Integer: NullType;
|
|
3271
|
+
readonly Float: NullType;
|
|
3272
|
+
readonly String: NullType;
|
|
3273
|
+
readonly DateTime: NullType;
|
|
3274
|
+
readonly Blob: NullType;
|
|
3275
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
3276
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
3277
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
3278
|
+
readonly Dict: StructType<{
|
|
3279
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
3280
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
3281
|
+
}>;
|
|
3282
|
+
readonly Struct: ArrayType<StructType<{
|
|
3283
|
+
readonly name: StringType;
|
|
3284
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3285
|
+
}>>;
|
|
3286
|
+
readonly Variant: ArrayType<StructType<{
|
|
3287
|
+
readonly name: StringType;
|
|
3288
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
3289
|
+
}>>;
|
|
3290
|
+
readonly Recursive: VariantType<{
|
|
3291
|
+
readonly ref: IntegerType;
|
|
3292
|
+
readonly wrapper: StructType<{
|
|
3293
|
+
readonly id: IntegerType;
|
|
3294
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
3295
|
+
}>;
|
|
3296
|
+
}>;
|
|
3297
|
+
readonly Function: StructType<{
|
|
3298
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3299
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3300
|
+
}>;
|
|
3301
|
+
readonly AsyncFunction: StructType<{
|
|
3302
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
3303
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
3304
|
+
}>;
|
|
3305
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
3306
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
3307
|
+
}>>;
|
|
3308
|
+
}>;
|
|
3309
|
+
/** Type representing {@link SchedulePeriodsKindType}. */
|
|
3310
|
+
export type SchedulePeriodsKindType = typeof SchedulePeriodsKindType;
|
|
1677
3311
|
//# sourceMappingURL=types.d.ts.map
|