@stina/extension-api 1.9.0 → 1.16.0
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/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/schemas/index.cjs +30 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +376 -1
- package/dist/schemas/index.d.ts +376 -1
- package/dist/schemas/index.js +27 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/{types.tools-DcFBsfRV.d.cts → types.tools-CK0As7KV.d.cts} +55 -1
- package/dist/{types.tools-DcFBsfRV.d.ts → types.tools-CK0As7KV.d.ts} +55 -1
- package/package.json +1 -1
- package/src/index.ts +3 -0
- package/src/schemas/components.schema.ts +39 -0
- package/src/schemas/index.ts +3 -0
- package/src/types.components.ts +57 -0
package/dist/schemas/index.d.ts
CHANGED
|
@@ -5986,6 +5986,381 @@ declare const CalendarEventPropsSchema: z.ZodObject<{
|
|
|
5986
5986
|
notes: z.ZodOptional<z.ZodString>;
|
|
5987
5987
|
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
5988
5988
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5989
|
+
declare const AgendaEventSchema: z.ZodObject<{
|
|
5990
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5991
|
+
title: z.ZodString;
|
|
5992
|
+
start: z.ZodString;
|
|
5993
|
+
end: z.ZodOptional<z.ZodString>;
|
|
5994
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
5995
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
5996
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5997
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5998
|
+
title: z.ZodString;
|
|
5999
|
+
start: z.ZodString;
|
|
6000
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6001
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6002
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6003
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6004
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6005
|
+
title: z.ZodString;
|
|
6006
|
+
start: z.ZodString;
|
|
6007
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6008
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6009
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6010
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6011
|
+
declare const AgendaDaySchema: z.ZodObject<{
|
|
6012
|
+
label: z.ZodString;
|
|
6013
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6014
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6015
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6016
|
+
title: z.ZodString;
|
|
6017
|
+
start: z.ZodString;
|
|
6018
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6019
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6020
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6021
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6022
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6023
|
+
title: z.ZodString;
|
|
6024
|
+
start: z.ZodString;
|
|
6025
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6026
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6027
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6028
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6029
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6030
|
+
title: z.ZodString;
|
|
6031
|
+
start: z.ZodString;
|
|
6032
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6033
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6034
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6035
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6036
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6037
|
+
label: z.ZodString;
|
|
6038
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6039
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6040
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6041
|
+
title: z.ZodString;
|
|
6042
|
+
start: z.ZodString;
|
|
6043
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6044
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6045
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6046
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6047
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6048
|
+
title: z.ZodString;
|
|
6049
|
+
start: z.ZodString;
|
|
6050
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6051
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6052
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6053
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6054
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6055
|
+
title: z.ZodString;
|
|
6056
|
+
start: z.ZodString;
|
|
6057
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6058
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6059
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6060
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6061
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6062
|
+
label: z.ZodString;
|
|
6063
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6064
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6065
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6066
|
+
title: z.ZodString;
|
|
6067
|
+
start: z.ZodString;
|
|
6068
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6069
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6070
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6071
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6072
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6073
|
+
title: z.ZodString;
|
|
6074
|
+
start: z.ZodString;
|
|
6075
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6076
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6077
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6078
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6079
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6080
|
+
title: z.ZodString;
|
|
6081
|
+
start: z.ZodString;
|
|
6082
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6083
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6084
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6085
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6086
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
6087
|
+
declare const AgendaPropsSchema: z.ZodObject<{
|
|
6088
|
+
component: z.ZodLiteral<"Agenda">;
|
|
6089
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6090
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6091
|
+
days: z.ZodArray<z.ZodObject<{
|
|
6092
|
+
label: z.ZodString;
|
|
6093
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6094
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6095
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6096
|
+
title: z.ZodString;
|
|
6097
|
+
start: z.ZodString;
|
|
6098
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6099
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6100
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6101
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6102
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6103
|
+
title: z.ZodString;
|
|
6104
|
+
start: z.ZodString;
|
|
6105
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6106
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6107
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6108
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6109
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6110
|
+
title: z.ZodString;
|
|
6111
|
+
start: z.ZodString;
|
|
6112
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6113
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6114
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6115
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6116
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6117
|
+
label: z.ZodString;
|
|
6118
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6119
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6120
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6121
|
+
title: z.ZodString;
|
|
6122
|
+
start: z.ZodString;
|
|
6123
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6124
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6125
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6126
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6127
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6128
|
+
title: z.ZodString;
|
|
6129
|
+
start: z.ZodString;
|
|
6130
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6131
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6132
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6133
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6134
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6135
|
+
title: z.ZodString;
|
|
6136
|
+
start: z.ZodString;
|
|
6137
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6138
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6139
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6140
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6141
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6142
|
+
label: z.ZodString;
|
|
6143
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6144
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6145
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6146
|
+
title: z.ZodString;
|
|
6147
|
+
start: z.ZodString;
|
|
6148
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6149
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6150
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6151
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6152
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6153
|
+
title: z.ZodString;
|
|
6154
|
+
start: z.ZodString;
|
|
6155
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6156
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6157
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6158
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6159
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6160
|
+
title: z.ZodString;
|
|
6161
|
+
start: z.ZodString;
|
|
6162
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6163
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6164
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6165
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6166
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6167
|
+
warnOverlaps: z.ZodOptional<z.ZodBoolean>;
|
|
6168
|
+
onEventClickAction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6169
|
+
action: z.ZodString;
|
|
6170
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6171
|
+
}, "strip", z.ZodTypeAny, {
|
|
6172
|
+
action: string;
|
|
6173
|
+
params?: Record<string, unknown> | undefined;
|
|
6174
|
+
}, {
|
|
6175
|
+
action: string;
|
|
6176
|
+
params?: Record<string, unknown> | undefined;
|
|
6177
|
+
}>]>>;
|
|
6178
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
6179
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6180
|
+
component: z.ZodLiteral<"Agenda">;
|
|
6181
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6182
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6183
|
+
days: z.ZodArray<z.ZodObject<{
|
|
6184
|
+
label: z.ZodString;
|
|
6185
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6186
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6187
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6188
|
+
title: z.ZodString;
|
|
6189
|
+
start: z.ZodString;
|
|
6190
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6191
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6192
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6193
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6194
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6195
|
+
title: z.ZodString;
|
|
6196
|
+
start: z.ZodString;
|
|
6197
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6198
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6199
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6200
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6201
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6202
|
+
title: z.ZodString;
|
|
6203
|
+
start: z.ZodString;
|
|
6204
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6205
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6206
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6207
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6208
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6209
|
+
label: z.ZodString;
|
|
6210
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6211
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6212
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6213
|
+
title: z.ZodString;
|
|
6214
|
+
start: z.ZodString;
|
|
6215
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6216
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6217
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6218
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6219
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6220
|
+
title: z.ZodString;
|
|
6221
|
+
start: z.ZodString;
|
|
6222
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6223
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6224
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6225
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6226
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6227
|
+
title: z.ZodString;
|
|
6228
|
+
start: z.ZodString;
|
|
6229
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6230
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6231
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6232
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6233
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6234
|
+
label: z.ZodString;
|
|
6235
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6236
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6237
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6238
|
+
title: z.ZodString;
|
|
6239
|
+
start: z.ZodString;
|
|
6240
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6241
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6242
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6243
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6244
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6245
|
+
title: z.ZodString;
|
|
6246
|
+
start: z.ZodString;
|
|
6247
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6248
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6249
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6250
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6251
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6252
|
+
title: z.ZodString;
|
|
6253
|
+
start: z.ZodString;
|
|
6254
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6255
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6256
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6257
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6258
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6259
|
+
warnOverlaps: z.ZodOptional<z.ZodBoolean>;
|
|
6260
|
+
onEventClickAction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6261
|
+
action: z.ZodString;
|
|
6262
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6263
|
+
}, "strip", z.ZodTypeAny, {
|
|
6264
|
+
action: string;
|
|
6265
|
+
params?: Record<string, unknown> | undefined;
|
|
6266
|
+
}, {
|
|
6267
|
+
action: string;
|
|
6268
|
+
params?: Record<string, unknown> | undefined;
|
|
6269
|
+
}>]>>;
|
|
6270
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
6271
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6272
|
+
component: z.ZodLiteral<"Agenda">;
|
|
6273
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6274
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
6275
|
+
days: z.ZodArray<z.ZodObject<{
|
|
6276
|
+
label: z.ZodString;
|
|
6277
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6278
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6279
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6280
|
+
title: z.ZodString;
|
|
6281
|
+
start: z.ZodString;
|
|
6282
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6283
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6284
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6285
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6286
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6287
|
+
title: z.ZodString;
|
|
6288
|
+
start: z.ZodString;
|
|
6289
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6290
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6291
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6292
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6293
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6294
|
+
title: z.ZodString;
|
|
6295
|
+
start: z.ZodString;
|
|
6296
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6297
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6298
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6299
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6300
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6301
|
+
label: z.ZodString;
|
|
6302
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6303
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6304
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6305
|
+
title: z.ZodString;
|
|
6306
|
+
start: z.ZodString;
|
|
6307
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6308
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6309
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6310
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6311
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6312
|
+
title: z.ZodString;
|
|
6313
|
+
start: z.ZodString;
|
|
6314
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6315
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6316
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6317
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6318
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6319
|
+
title: z.ZodString;
|
|
6320
|
+
start: z.ZodString;
|
|
6321
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6322
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6323
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6324
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6325
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6326
|
+
label: z.ZodString;
|
|
6327
|
+
date: z.ZodOptional<z.ZodString>;
|
|
6328
|
+
events: z.ZodArray<z.ZodObject<{
|
|
6329
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6330
|
+
title: z.ZodString;
|
|
6331
|
+
start: z.ZodString;
|
|
6332
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6333
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6334
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6335
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
6336
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6337
|
+
title: z.ZodString;
|
|
6338
|
+
start: z.ZodString;
|
|
6339
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6340
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6341
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6342
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
6343
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6344
|
+
title: z.ZodString;
|
|
6345
|
+
start: z.ZodString;
|
|
6346
|
+
end: z.ZodOptional<z.ZodString>;
|
|
6347
|
+
allDay: z.ZodOptional<z.ZodBoolean>;
|
|
6348
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
6349
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6350
|
+
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
6351
|
+
warnOverlaps: z.ZodOptional<z.ZodBoolean>;
|
|
6352
|
+
onEventClickAction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
6353
|
+
action: z.ZodString;
|
|
6354
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6355
|
+
}, "strip", z.ZodTypeAny, {
|
|
6356
|
+
action: string;
|
|
6357
|
+
params?: Record<string, unknown> | undefined;
|
|
6358
|
+
}, {
|
|
6359
|
+
action: string;
|
|
6360
|
+
params?: Record<string, unknown> | undefined;
|
|
6361
|
+
}>]>>;
|
|
6362
|
+
style: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "background-color", "background", "border-color", "border", "border-width", "border-style", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "border-top-left-radius", "border-top-right-radius", "border-bottom-left-radius", "border-bottom-right-radius", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "gap", "row-gap", "column-gap", "font-size", "font-weight", "font-style", "text-align", "text-decoration", "line-height", "letter-spacing", "white-space", "word-break", "overflow-wrap", "width", "height", "min-width", "min-height", "max-width", "max-height", "flex", "flex-grow", "flex-shrink", "flex-basis", "flex-wrap", "align-self", "justify-self", "align-items", "justify-content", "opacity", "visibility", "overflow", "overflow-x", "overflow-y", "box-shadow", "outline", "cursor", "border-collapse", "border-spacing"]>, z.ZodString>>;
|
|
6363
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
5989
6364
|
type AllowedCSSProperty = z.infer<typeof AllowedCSSPropertySchema>;
|
|
5990
6365
|
type ExtensionComponentStyle = z.infer<typeof ExtensionComponentStyleSchema>;
|
|
5991
6366
|
type ExtensionComponentData = z.infer<typeof ExtensionComponentDataSchema>;
|
|
@@ -6115,4 +6490,4 @@ declare function validateChatCard(card: unknown): ChatCardValidation;
|
|
|
6115
6490
|
*/
|
|
6116
6491
|
declare function describeChatCardProfile(): string;
|
|
6117
6492
|
|
|
6118
|
-
export { type AccountContribution, AccountContributionSchema, type AccountProvider, AccountProviderSchema, type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type ClockProps, ClockPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, GRAPH_SCOPE_PATTERN, type GridProps, GridPropsSchema, HOST_ACCOUNT_SCOPES, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
|
|
6493
|
+
export { type AccountContribution, AccountContributionSchema, type AccountProvider, AccountProviderSchema, AgendaDaySchema, AgendaEventSchema, AgendaPropsSchema, type AllowedCSSProperty, AllowedCSSPropertySchema, type Author, AuthorSchema, type ButtonProps, ButtonPropsSchema, CHAT_CARD_COMPONENTS, CHAT_CARD_PROPS, CalendarEventPropsSchema, CalendarEventStatusSchema, type CapabilityPermission, CapabilityPermissionSchema, ChartKindSchema, ChartPropsSchema, ChartSeriesSchema, type ChatCardComponent, ChatCardComponentSchema, ChatCardSchema, type ChatCardValidation, type CheckboxProps, CheckboxPropsSchema, type ClockProps, ClockPropsSchema, type CollapsibleProps, CollapsiblePropsSchema, type CommandDefinition, CommandDefinitionSchema, type ConditionalGroupProps, ConditionalGroupPropsSchema, type DateTimeInputProps, DateTimeInputPropsSchema, type DividerProps, DividerPropsSchema, type Engines, EnginesSchema, type ExtensionActionCall, ExtensionActionCallSchema, type ExtensionActionRef, ExtensionActionRefSchema, type ExtensionComponentChildren, ExtensionComponentChildrenSchema, type ExtensionComponentData, ExtensionComponentDataSchema, type ExtensionComponentIterator, ExtensionComponentIteratorSchema, type ExtensionComponentStyle, ExtensionComponentStyleSchema, type ExtensionContributions, ExtensionContributionsSchema, type ExtensionDataSource, ExtensionDataSourceSchema, type ExtensionManifest, ExtensionManifestSchema, type FrameProps, FramePropsSchema, type FrameVariant, FrameVariantSchema, GRAPH_SCOPE_PATTERN, type GridProps, GridPropsSchema, HOST_ACCOUNT_SCOPES, type HeaderProps, HeaderPropsSchema, type HorizontalStackProps, HorizontalStackPropsSchema, type IconButtonProps, IconButtonPropsSchema, type IconButtonType, IconButtonTypeSchema, type IconPickerProps, IconPickerPropsSchema, type IconProps, IconPropsSchema, KeyValueListPropsSchema, KeyValueRowSchema, type LabelProps, LabelPropsSchema, type ListProps, ListPropsSchema, type LocalizedString, LocalizedStringSchema, type MarkdownProps, MarkdownPropsSchema, type ModalProps, ModalPropsSchema, type NetworkPermission, NetworkPermissionSchema, NotePropsSchema, NoteVariantSchema, PERMISSION_PATTERNS, type PanelAction, type PanelActionDataSource, PanelActionDataSourceSchema, PanelActionSchema, type PanelComponentView, PanelComponentViewSchema, type PanelDefinition, PanelDefinitionSchema, type PanelProps, PanelPropsSchema, type PanelUnknownView, PanelUnknownViewSchema, type PanelView, PanelViewSchema, type ParagraphProps, ParagraphPropsSchema, type Permission, PermissionSchema, type PillProps, PillPropsSchema, type PillVariant, PillVariantSchema, type Platform, PlatformSchema, ProgressBarPropsSchema, ProgressColorSchema, ProgressShapeSchema, type PromptContribution, PromptContributionSchema, type PromptSection, PromptSectionSchema, type ProviderConfigView, ProviderConfigViewSchema, type ProviderDefinition, ProviderDefinitionSchema, type SelectProps, SelectPropsSchema, StatTilePropsSchema, StatTrendSchema, type StatusCardDefinition, StatusCardDefinitionSchema, type StoragePermission, StoragePermissionSchema, type SystemPermission, SystemPermissionSchema, type TextInputProps, TextInputPropsSchema, type TextPreviewProps, TextPreviewPropsSchema, TimelineEntrySchema, TimelinePropsSchema, TimelineVariantSchema, type ToggleProps, TogglePropsSchema, type ToolDefinition, ToolDefinitionSchema, type ToolSettingsActionDataSource, ToolSettingsActionDataSourceSchema, type ToolSettingsComponentView, ToolSettingsComponentViewSchema, type ToolSettingsListGroupBy, ToolSettingsListGroupBySchema, type ToolSettingsListMapping, ToolSettingsListMappingSchema, type ToolSettingsListView, ToolSettingsListViewSchema, type ToolSettingsView, type ToolSettingsViewDefinition, ToolSettingsViewDefinitionSchema, ToolSettingsViewSchema, type UserDataPermission, UserDataPermissionSchema, VALID_PERMISSIONS, type VerticalStackProps, VerticalStackPropsSchema, WeatherConditionSchema, WeatherForecastPropsSchema, WeatherForecastStepSchema, WeatherNowPropsSchema, WeatherWindSchema, describeChatCardProfile, isValidPermission, validateChatCard };
|
package/dist/schemas/index.js
CHANGED
|
@@ -565,6 +565,30 @@ var CalendarEventPropsSchema = z2.object({
|
|
|
565
565
|
notes: z2.string().optional(),
|
|
566
566
|
style: ExtensionComponentStyleSchema.optional()
|
|
567
567
|
}).passthrough().describe("Single calendar event component");
|
|
568
|
+
var AgendaEventSchema = z2.object({
|
|
569
|
+
id: z2.string().optional().describe("Handed back to onEventClickAction as $event.id"),
|
|
570
|
+
title: z2.string(),
|
|
571
|
+
start: z2.string().describe("ISO 8601 with an offset"),
|
|
572
|
+
end: z2.string().optional().describe("ISO 8601 with an offset"),
|
|
573
|
+
allDay: z2.boolean().optional(),
|
|
574
|
+
detail: z2.string().optional().describe("One quiet line under the title")
|
|
575
|
+
}).passthrough().describe("One agenda event");
|
|
576
|
+
var AgendaDaySchema = z2.object({
|
|
577
|
+
label: z2.string().describe("The day heading"),
|
|
578
|
+
date: z2.string().optional().describe("A quieter line beside the heading"),
|
|
579
|
+
events: z2.array(AgendaEventSchema)
|
|
580
|
+
}).passthrough().describe("One agenda day");
|
|
581
|
+
var AgendaPropsSchema = z2.object({
|
|
582
|
+
component: z2.literal("Agenda"),
|
|
583
|
+
title: z2.string().optional(),
|
|
584
|
+
icon: z2.string().optional().describe("Icon shown to the left of the title"),
|
|
585
|
+
days: z2.array(AgendaDaySchema),
|
|
586
|
+
warnOverlaps: z2.boolean().optional().describe("Word clashes between events"),
|
|
587
|
+
onEventClickAction: ExtensionActionRefSchema.optional().describe(
|
|
588
|
+
"Action to call when an event is clicked, with the event as $event"
|
|
589
|
+
),
|
|
590
|
+
style: ExtensionComponentStyleSchema.optional()
|
|
591
|
+
}).passthrough().describe("Schedule component that tracks the current time");
|
|
568
592
|
|
|
569
593
|
// src/schemas/contributions.schema.ts
|
|
570
594
|
var LocalizedStringSchema = z3.union([z3.string(), z3.record(z3.string())]).describe("String or localized string map");
|
|
@@ -1135,6 +1159,9 @@ function describeChatCardProfile() {
|
|
|
1135
1159
|
export {
|
|
1136
1160
|
AccountContributionSchema,
|
|
1137
1161
|
AccountProviderSchema,
|
|
1162
|
+
AgendaDaySchema,
|
|
1163
|
+
AgendaEventSchema,
|
|
1164
|
+
AgendaPropsSchema,
|
|
1138
1165
|
AllowedCSSPropertySchema,
|
|
1139
1166
|
AuthorSchema,
|
|
1140
1167
|
ButtonPropsSchema,
|