@sugarcube-org/core 0.0.1-alpha.14 → 0.0.1-alpha.15
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.d.ts +71 -71
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -848,13 +848,13 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
848
848
|
themeAttribute: z.ZodOptional<z.ZodString>;
|
|
849
849
|
defaultContext: z.ZodOptional<z.ZodString>;
|
|
850
850
|
}, "strip", z.ZodTypeAny, {
|
|
851
|
-
css?: string | undefined;
|
|
852
851
|
components?: string | undefined;
|
|
852
|
+
css?: string | undefined;
|
|
853
853
|
themeAttribute?: string | undefined;
|
|
854
854
|
defaultContext?: string | undefined;
|
|
855
855
|
}, {
|
|
856
|
-
css?: string | undefined;
|
|
857
856
|
components?: string | undefined;
|
|
857
|
+
css?: string | undefined;
|
|
858
858
|
themeAttribute?: string | undefined;
|
|
859
859
|
defaultContext?: string | undefined;
|
|
860
860
|
}>>;
|
|
@@ -890,20 +890,6 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
890
890
|
stripDuplicates?: boolean | undefined;
|
|
891
891
|
}>, "many">]>>>;
|
|
892
892
|
}, "strip", z.ZodTypeAny, {
|
|
893
|
-
resolver?: string | undefined;
|
|
894
|
-
transforms?: {
|
|
895
|
-
fluid?: {
|
|
896
|
-
min: number;
|
|
897
|
-
max: number;
|
|
898
|
-
} | undefined;
|
|
899
|
-
colorFallbackStrategy?: "native" | "polyfill" | undefined;
|
|
900
|
-
} | undefined;
|
|
901
|
-
output?: {
|
|
902
|
-
css?: string | undefined;
|
|
903
|
-
components?: string | undefined;
|
|
904
|
-
themeAttribute?: string | undefined;
|
|
905
|
-
defaultContext?: string | undefined;
|
|
906
|
-
} | undefined;
|
|
907
893
|
utilities?: Record<string, {
|
|
908
894
|
source: string;
|
|
909
895
|
directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all")[] | undefined;
|
|
@@ -915,8 +901,13 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
915
901
|
prefix?: string | undefined;
|
|
916
902
|
stripDuplicates?: boolean | undefined;
|
|
917
903
|
}[]> | undefined;
|
|
918
|
-
}, {
|
|
919
904
|
resolver?: string | undefined;
|
|
905
|
+
output?: {
|
|
906
|
+
components?: string | undefined;
|
|
907
|
+
css?: string | undefined;
|
|
908
|
+
themeAttribute?: string | undefined;
|
|
909
|
+
defaultContext?: string | undefined;
|
|
910
|
+
} | undefined;
|
|
920
911
|
transforms?: {
|
|
921
912
|
fluid?: {
|
|
922
913
|
min: number;
|
|
@@ -924,12 +915,7 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
924
915
|
} | undefined;
|
|
925
916
|
colorFallbackStrategy?: "native" | "polyfill" | undefined;
|
|
926
917
|
} | undefined;
|
|
927
|
-
|
|
928
|
-
css?: string | undefined;
|
|
929
|
-
components?: string | undefined;
|
|
930
|
-
themeAttribute?: string | undefined;
|
|
931
|
-
defaultContext?: string | undefined;
|
|
932
|
-
} | undefined;
|
|
918
|
+
}, {
|
|
933
919
|
utilities?: Record<string, {
|
|
934
920
|
source: string;
|
|
935
921
|
directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all")[] | undefined;
|
|
@@ -941,6 +927,20 @@ declare const userConfigSchema: z.ZodObject<{
|
|
|
941
927
|
prefix?: string | undefined;
|
|
942
928
|
stripDuplicates?: boolean | undefined;
|
|
943
929
|
}[]> | undefined;
|
|
930
|
+
resolver?: string | undefined;
|
|
931
|
+
output?: {
|
|
932
|
+
components?: string | undefined;
|
|
933
|
+
css?: string | undefined;
|
|
934
|
+
themeAttribute?: string | undefined;
|
|
935
|
+
defaultContext?: string | undefined;
|
|
936
|
+
} | undefined;
|
|
937
|
+
transforms?: {
|
|
938
|
+
fluid?: {
|
|
939
|
+
min: number;
|
|
940
|
+
max: number;
|
|
941
|
+
} | undefined;
|
|
942
|
+
colorFallbackStrategy?: "native" | "polyfill" | undefined;
|
|
943
|
+
} | undefined;
|
|
944
944
|
}>;
|
|
945
945
|
declare const internalConfigSchema: z.ZodObject<{
|
|
946
946
|
resolver: z.ZodOptional<z.ZodString>;
|
|
@@ -1030,7 +1030,6 @@ declare const internalConfigSchema: z.ZodObject<{
|
|
|
1030
1030
|
};
|
|
1031
1031
|
colorFallbackStrategy: "native" | "polyfill";
|
|
1032
1032
|
};
|
|
1033
|
-
resolver?: string | undefined;
|
|
1034
1033
|
utilities?: Record<string, {
|
|
1035
1034
|
source: string;
|
|
1036
1035
|
directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all")[] | undefined;
|
|
@@ -1042,6 +1041,7 @@ declare const internalConfigSchema: z.ZodObject<{
|
|
|
1042
1041
|
prefix?: string | undefined;
|
|
1043
1042
|
stripDuplicates?: boolean | undefined;
|
|
1044
1043
|
}[]> | undefined;
|
|
1044
|
+
resolver?: string | undefined;
|
|
1045
1045
|
}, {
|
|
1046
1046
|
output: {
|
|
1047
1047
|
css: string;
|
|
@@ -1056,7 +1056,6 @@ declare const internalConfigSchema: z.ZodObject<{
|
|
|
1056
1056
|
};
|
|
1057
1057
|
colorFallbackStrategy: "native" | "polyfill";
|
|
1058
1058
|
};
|
|
1059
|
-
resolver?: string | undefined;
|
|
1060
1059
|
utilities?: Record<string, {
|
|
1061
1060
|
source: string;
|
|
1062
1061
|
directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full" | "all")[] | undefined;
|
|
@@ -1068,6 +1067,7 @@ declare const internalConfigSchema: z.ZodObject<{
|
|
|
1068
1067
|
prefix?: string | undefined;
|
|
1069
1068
|
stripDuplicates?: boolean | undefined;
|
|
1070
1069
|
}[]> | undefined;
|
|
1070
|
+
resolver?: string | undefined;
|
|
1071
1071
|
}>;
|
|
1072
1072
|
|
|
1073
1073
|
/**
|
|
@@ -1119,14 +1119,14 @@ declare const setDefinitionSchema: z.ZodObject<{
|
|
|
1119
1119
|
sources: (z.objectOutputType<{
|
|
1120
1120
|
$ref: z.ZodString;
|
|
1121
1121
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1122
|
-
description?: string | undefined;
|
|
1123
1122
|
$extensions?: Record<string, unknown> | undefined;
|
|
1123
|
+
description?: string | undefined;
|
|
1124
1124
|
}, {
|
|
1125
1125
|
sources: (z.objectInputType<{
|
|
1126
1126
|
$ref: z.ZodString;
|
|
1127
1127
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1128
|
-
description?: string | undefined;
|
|
1129
1128
|
$extensions?: Record<string, unknown> | undefined;
|
|
1129
|
+
description?: string | undefined;
|
|
1130
1130
|
}>;
|
|
1131
1131
|
/**
|
|
1132
1132
|
* Modifier contexts schema.
|
|
@@ -1157,30 +1157,30 @@ declare const modifierDefinitionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1157
1157
|
contexts: Record<string, (z.objectOutputType<{
|
|
1158
1158
|
$ref: z.ZodString;
|
|
1159
1159
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1160
|
-
description?: string | undefined;
|
|
1161
1160
|
default?: string | undefined;
|
|
1162
1161
|
$extensions?: Record<string, unknown> | undefined;
|
|
1162
|
+
description?: string | undefined;
|
|
1163
1163
|
}, {
|
|
1164
1164
|
contexts: Record<string, (z.objectInputType<{
|
|
1165
1165
|
$ref: z.ZodString;
|
|
1166
1166
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1167
|
-
description?: string | undefined;
|
|
1168
1167
|
default?: string | undefined;
|
|
1169
1168
|
$extensions?: Record<string, unknown> | undefined;
|
|
1169
|
+
description?: string | undefined;
|
|
1170
1170
|
}>, {
|
|
1171
1171
|
contexts: Record<string, (z.objectOutputType<{
|
|
1172
1172
|
$ref: z.ZodString;
|
|
1173
1173
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1174
|
-
description?: string | undefined;
|
|
1175
1174
|
default?: string | undefined;
|
|
1176
1175
|
$extensions?: Record<string, unknown> | undefined;
|
|
1176
|
+
description?: string | undefined;
|
|
1177
1177
|
}, {
|
|
1178
1178
|
contexts: Record<string, (z.objectInputType<{
|
|
1179
1179
|
$ref: z.ZodString;
|
|
1180
1180
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1181
|
-
description?: string | undefined;
|
|
1182
1181
|
default?: string | undefined;
|
|
1183
1182
|
$extensions?: Record<string, unknown> | undefined;
|
|
1183
|
+
description?: string | undefined;
|
|
1184
1184
|
}>;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Inline set schema for resolutionOrder.
|
|
@@ -1203,16 +1203,16 @@ declare const inlineSetSchema: z.ZodObject<{
|
|
|
1203
1203
|
sources: (z.objectOutputType<{
|
|
1204
1204
|
$ref: z.ZodString;
|
|
1205
1205
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1206
|
-
description?: string | undefined;
|
|
1207
1206
|
$extensions?: Record<string, unknown> | undefined;
|
|
1207
|
+
description?: string | undefined;
|
|
1208
1208
|
}, {
|
|
1209
1209
|
name: string;
|
|
1210
1210
|
type: "set";
|
|
1211
1211
|
sources: (z.objectInputType<{
|
|
1212
1212
|
$ref: z.ZodString;
|
|
1213
1213
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1214
|
-
description?: string | undefined;
|
|
1215
1214
|
$extensions?: Record<string, unknown> | undefined;
|
|
1215
|
+
description?: string | undefined;
|
|
1216
1216
|
}>;
|
|
1217
1217
|
/**
|
|
1218
1218
|
* Inline modifier schema for resolutionOrder.
|
|
@@ -1236,36 +1236,36 @@ declare const inlineModifierSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1236
1236
|
contexts: Record<string, (z.objectOutputType<{
|
|
1237
1237
|
$ref: z.ZodString;
|
|
1238
1238
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1239
|
-
description?: string | undefined;
|
|
1240
1239
|
default?: string | undefined;
|
|
1241
1240
|
$extensions?: Record<string, unknown> | undefined;
|
|
1241
|
+
description?: string | undefined;
|
|
1242
1242
|
}, {
|
|
1243
1243
|
name: string;
|
|
1244
1244
|
type: "modifier";
|
|
1245
1245
|
contexts: Record<string, (z.objectInputType<{
|
|
1246
1246
|
$ref: z.ZodString;
|
|
1247
1247
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1248
|
-
description?: string | undefined;
|
|
1249
1248
|
default?: string | undefined;
|
|
1250
1249
|
$extensions?: Record<string, unknown> | undefined;
|
|
1250
|
+
description?: string | undefined;
|
|
1251
1251
|
}>, {
|
|
1252
1252
|
name: string;
|
|
1253
1253
|
type: "modifier";
|
|
1254
1254
|
contexts: Record<string, (z.objectOutputType<{
|
|
1255
1255
|
$ref: z.ZodString;
|
|
1256
1256
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1257
|
-
description?: string | undefined;
|
|
1258
1257
|
default?: string | undefined;
|
|
1259
1258
|
$extensions?: Record<string, unknown> | undefined;
|
|
1259
|
+
description?: string | undefined;
|
|
1260
1260
|
}, {
|
|
1261
1261
|
name: string;
|
|
1262
1262
|
type: "modifier";
|
|
1263
1263
|
contexts: Record<string, (z.objectInputType<{
|
|
1264
1264
|
$ref: z.ZodString;
|
|
1265
1265
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1266
|
-
description?: string | undefined;
|
|
1267
1266
|
default?: string | undefined;
|
|
1268
1267
|
$extensions?: Record<string, unknown> | undefined;
|
|
1268
|
+
description?: string | undefined;
|
|
1269
1269
|
}>;
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Resolution order item schema.
|
|
@@ -1295,16 +1295,16 @@ declare const resolutionOrderItemSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1295
1295
|
sources: (z.objectOutputType<{
|
|
1296
1296
|
$ref: z.ZodString;
|
|
1297
1297
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1298
|
-
description?: string | undefined;
|
|
1299
1298
|
$extensions?: Record<string, unknown> | undefined;
|
|
1299
|
+
description?: string | undefined;
|
|
1300
1300
|
}, {
|
|
1301
1301
|
name: string;
|
|
1302
1302
|
type: "set";
|
|
1303
1303
|
sources: (z.objectInputType<{
|
|
1304
1304
|
$ref: z.ZodString;
|
|
1305
1305
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1306
|
-
description?: string | undefined;
|
|
1307
1306
|
$extensions?: Record<string, unknown> | undefined;
|
|
1307
|
+
description?: string | undefined;
|
|
1308
1308
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1309
1309
|
type: z.ZodLiteral<"modifier">;
|
|
1310
1310
|
name: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>;
|
|
@@ -1324,36 +1324,36 @@ declare const resolutionOrderItemSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1324
1324
|
contexts: Record<string, (z.objectOutputType<{
|
|
1325
1325
|
$ref: z.ZodString;
|
|
1326
1326
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1327
|
-
description?: string | undefined;
|
|
1328
1327
|
default?: string | undefined;
|
|
1329
1328
|
$extensions?: Record<string, unknown> | undefined;
|
|
1329
|
+
description?: string | undefined;
|
|
1330
1330
|
}, {
|
|
1331
1331
|
name: string;
|
|
1332
1332
|
type: "modifier";
|
|
1333
1333
|
contexts: Record<string, (z.objectInputType<{
|
|
1334
1334
|
$ref: z.ZodString;
|
|
1335
1335
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1336
|
-
description?: string | undefined;
|
|
1337
1336
|
default?: string | undefined;
|
|
1338
1337
|
$extensions?: Record<string, unknown> | undefined;
|
|
1338
|
+
description?: string | undefined;
|
|
1339
1339
|
}>, {
|
|
1340
1340
|
name: string;
|
|
1341
1341
|
type: "modifier";
|
|
1342
1342
|
contexts: Record<string, (z.objectOutputType<{
|
|
1343
1343
|
$ref: z.ZodString;
|
|
1344
1344
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1345
|
-
description?: string | undefined;
|
|
1346
1345
|
default?: string | undefined;
|
|
1347
1346
|
$extensions?: Record<string, unknown> | undefined;
|
|
1347
|
+
description?: string | undefined;
|
|
1348
1348
|
}, {
|
|
1349
1349
|
name: string;
|
|
1350
1350
|
type: "modifier";
|
|
1351
1351
|
contexts: Record<string, (z.objectInputType<{
|
|
1352
1352
|
$ref: z.ZodString;
|
|
1353
1353
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1354
|
-
description?: string | undefined;
|
|
1355
1354
|
default?: string | undefined;
|
|
1356
1355
|
$extensions?: Record<string, unknown> | undefined;
|
|
1356
|
+
description?: string | undefined;
|
|
1357
1357
|
}>]>;
|
|
1358
1358
|
/**
|
|
1359
1359
|
* Root-level sets map schema.
|
|
@@ -1372,14 +1372,14 @@ declare const setsMapSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodEffects<
|
|
|
1372
1372
|
sources: (z.objectOutputType<{
|
|
1373
1373
|
$ref: z.ZodString;
|
|
1374
1374
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1375
|
-
description?: string | undefined;
|
|
1376
1375
|
$extensions?: Record<string, unknown> | undefined;
|
|
1376
|
+
description?: string | undefined;
|
|
1377
1377
|
}, {
|
|
1378
1378
|
sources: (z.objectInputType<{
|
|
1379
1379
|
$ref: z.ZodString;
|
|
1380
1380
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1381
|
-
description?: string | undefined;
|
|
1382
1381
|
$extensions?: Record<string, unknown> | undefined;
|
|
1382
|
+
description?: string | undefined;
|
|
1383
1383
|
}>>;
|
|
1384
1384
|
/**
|
|
1385
1385
|
* Root-level modifiers map schema.
|
|
@@ -1399,30 +1399,30 @@ declare const modifiersMapSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodEff
|
|
|
1399
1399
|
contexts: Record<string, (z.objectOutputType<{
|
|
1400
1400
|
$ref: z.ZodString;
|
|
1401
1401
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1402
|
-
description?: string | undefined;
|
|
1403
1402
|
default?: string | undefined;
|
|
1404
1403
|
$extensions?: Record<string, unknown> | undefined;
|
|
1404
|
+
description?: string | undefined;
|
|
1405
1405
|
}, {
|
|
1406
1406
|
contexts: Record<string, (z.objectInputType<{
|
|
1407
1407
|
$ref: z.ZodString;
|
|
1408
1408
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1409
|
-
description?: string | undefined;
|
|
1410
1409
|
default?: string | undefined;
|
|
1411
1410
|
$extensions?: Record<string, unknown> | undefined;
|
|
1411
|
+
description?: string | undefined;
|
|
1412
1412
|
}>, {
|
|
1413
1413
|
contexts: Record<string, (z.objectOutputType<{
|
|
1414
1414
|
$ref: z.ZodString;
|
|
1415
1415
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1416
|
-
description?: string | undefined;
|
|
1417
1416
|
default?: string | undefined;
|
|
1418
1417
|
$extensions?: Record<string, unknown> | undefined;
|
|
1418
|
+
description?: string | undefined;
|
|
1419
1419
|
}, {
|
|
1420
1420
|
contexts: Record<string, (z.objectInputType<{
|
|
1421
1421
|
$ref: z.ZodString;
|
|
1422
1422
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1423
|
-
description?: string | undefined;
|
|
1424
1423
|
default?: string | undefined;
|
|
1425
1424
|
$extensions?: Record<string, unknown> | undefined;
|
|
1425
|
+
description?: string | undefined;
|
|
1426
1426
|
}>>;
|
|
1427
1427
|
declare const resolverDocumentSchema: z.ZodObject<{
|
|
1428
1428
|
version: z.ZodLiteral<"2025.10">;
|
|
@@ -1442,14 +1442,14 @@ declare const resolverDocumentSchema: z.ZodObject<{
|
|
|
1442
1442
|
sources: (z.objectOutputType<{
|
|
1443
1443
|
$ref: z.ZodString;
|
|
1444
1444
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1445
|
-
description?: string | undefined;
|
|
1446
1445
|
$extensions?: Record<string, unknown> | undefined;
|
|
1446
|
+
description?: string | undefined;
|
|
1447
1447
|
}, {
|
|
1448
1448
|
sources: (z.objectInputType<{
|
|
1449
1449
|
$ref: z.ZodString;
|
|
1450
1450
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1451
|
-
description?: string | undefined;
|
|
1452
1451
|
$extensions?: Record<string, unknown> | undefined;
|
|
1452
|
+
description?: string | undefined;
|
|
1453
1453
|
}>>>;
|
|
1454
1454
|
modifiers: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>, z.ZodEffects<z.ZodObject<{
|
|
1455
1455
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1466,30 +1466,30 @@ declare const resolverDocumentSchema: z.ZodObject<{
|
|
|
1466
1466
|
contexts: Record<string, (z.objectOutputType<{
|
|
1467
1467
|
$ref: z.ZodString;
|
|
1468
1468
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1469
|
-
description?: string | undefined;
|
|
1470
1469
|
default?: string | undefined;
|
|
1471
1470
|
$extensions?: Record<string, unknown> | undefined;
|
|
1471
|
+
description?: string | undefined;
|
|
1472
1472
|
}, {
|
|
1473
1473
|
contexts: Record<string, (z.objectInputType<{
|
|
1474
1474
|
$ref: z.ZodString;
|
|
1475
1475
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1476
|
-
description?: string | undefined;
|
|
1477
1476
|
default?: string | undefined;
|
|
1478
1477
|
$extensions?: Record<string, unknown> | undefined;
|
|
1478
|
+
description?: string | undefined;
|
|
1479
1479
|
}>, {
|
|
1480
1480
|
contexts: Record<string, (z.objectOutputType<{
|
|
1481
1481
|
$ref: z.ZodString;
|
|
1482
1482
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1483
|
-
description?: string | undefined;
|
|
1484
1483
|
default?: string | undefined;
|
|
1485
1484
|
$extensions?: Record<string, unknown> | undefined;
|
|
1485
|
+
description?: string | undefined;
|
|
1486
1486
|
}, {
|
|
1487
1487
|
contexts: Record<string, (z.objectInputType<{
|
|
1488
1488
|
$ref: z.ZodString;
|
|
1489
1489
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1490
|
-
description?: string | undefined;
|
|
1491
1490
|
default?: string | undefined;
|
|
1492
1491
|
$extensions?: Record<string, unknown> | undefined;
|
|
1492
|
+
description?: string | undefined;
|
|
1493
1493
|
}>>>;
|
|
1494
1494
|
resolutionOrder: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1495
1495
|
$ref: z.ZodString;
|
|
@@ -1515,16 +1515,16 @@ declare const resolverDocumentSchema: z.ZodObject<{
|
|
|
1515
1515
|
sources: (z.objectOutputType<{
|
|
1516
1516
|
$ref: z.ZodString;
|
|
1517
1517
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1518
|
-
description?: string | undefined;
|
|
1519
1518
|
$extensions?: Record<string, unknown> | undefined;
|
|
1519
|
+
description?: string | undefined;
|
|
1520
1520
|
}, {
|
|
1521
1521
|
name: string;
|
|
1522
1522
|
type: "set";
|
|
1523
1523
|
sources: (z.objectInputType<{
|
|
1524
1524
|
$ref: z.ZodString;
|
|
1525
1525
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1526
|
-
description?: string | undefined;
|
|
1527
1526
|
$extensions?: Record<string, unknown> | undefined;
|
|
1527
|
+
description?: string | undefined;
|
|
1528
1528
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1529
1529
|
type: z.ZodLiteral<"modifier">;
|
|
1530
1530
|
name: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>;
|
|
@@ -1544,36 +1544,36 @@ declare const resolverDocumentSchema: z.ZodObject<{
|
|
|
1544
1544
|
contexts: Record<string, (z.objectOutputType<{
|
|
1545
1545
|
$ref: z.ZodString;
|
|
1546
1546
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1547
|
-
description?: string | undefined;
|
|
1548
1547
|
default?: string | undefined;
|
|
1549
1548
|
$extensions?: Record<string, unknown> | undefined;
|
|
1549
|
+
description?: string | undefined;
|
|
1550
1550
|
}, {
|
|
1551
1551
|
name: string;
|
|
1552
1552
|
type: "modifier";
|
|
1553
1553
|
contexts: Record<string, (z.objectInputType<{
|
|
1554
1554
|
$ref: z.ZodString;
|
|
1555
1555
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1556
|
-
description?: string | undefined;
|
|
1557
1556
|
default?: string | undefined;
|
|
1558
1557
|
$extensions?: Record<string, unknown> | undefined;
|
|
1558
|
+
description?: string | undefined;
|
|
1559
1559
|
}>, {
|
|
1560
1560
|
name: string;
|
|
1561
1561
|
type: "modifier";
|
|
1562
1562
|
contexts: Record<string, (z.objectOutputType<{
|
|
1563
1563
|
$ref: z.ZodString;
|
|
1564
1564
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1565
|
-
description?: string | undefined;
|
|
1566
1565
|
default?: string | undefined;
|
|
1567
1566
|
$extensions?: Record<string, unknown> | undefined;
|
|
1567
|
+
description?: string | undefined;
|
|
1568
1568
|
}, {
|
|
1569
1569
|
name: string;
|
|
1570
1570
|
type: "modifier";
|
|
1571
1571
|
contexts: Record<string, (z.objectInputType<{
|
|
1572
1572
|
$ref: z.ZodString;
|
|
1573
1573
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1574
|
-
description?: string | undefined;
|
|
1575
1574
|
default?: string | undefined;
|
|
1576
1575
|
$extensions?: Record<string, unknown> | undefined;
|
|
1576
|
+
description?: string | undefined;
|
|
1577
1577
|
}>]>, "many">;
|
|
1578
1578
|
$schema: z.ZodOptional<z.ZodString>;
|
|
1579
1579
|
$extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1588,37 +1588,37 @@ declare const resolverDocumentSchema: z.ZodObject<{
|
|
|
1588
1588
|
sources: (z.objectOutputType<{
|
|
1589
1589
|
$ref: z.ZodString;
|
|
1590
1590
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1591
|
-
description?: string | undefined;
|
|
1592
1591
|
$extensions?: Record<string, unknown> | undefined;
|
|
1592
|
+
description?: string | undefined;
|
|
1593
1593
|
} | {
|
|
1594
1594
|
name: string;
|
|
1595
1595
|
type: "modifier";
|
|
1596
1596
|
contexts: Record<string, (z.objectOutputType<{
|
|
1597
1597
|
$ref: z.ZodString;
|
|
1598
1598
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1599
|
-
description?: string | undefined;
|
|
1600
1599
|
default?: string | undefined;
|
|
1601
1600
|
$extensions?: Record<string, unknown> | undefined;
|
|
1601
|
+
description?: string | undefined;
|
|
1602
1602
|
})[];
|
|
1603
1603
|
name?: string | undefined;
|
|
1604
|
+
$extensions?: Record<string, unknown> | undefined;
|
|
1604
1605
|
description?: string | undefined;
|
|
1605
1606
|
sets?: Record<string, {
|
|
1606
1607
|
sources: (z.objectOutputType<{
|
|
1607
1608
|
$ref: z.ZodString;
|
|
1608
1609
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1609
|
-
description?: string | undefined;
|
|
1610
1610
|
$extensions?: Record<string, unknown> | undefined;
|
|
1611
|
+
description?: string | undefined;
|
|
1611
1612
|
}> | undefined;
|
|
1612
1613
|
modifiers?: Record<string, {
|
|
1613
1614
|
contexts: Record<string, (z.objectOutputType<{
|
|
1614
1615
|
$ref: z.ZodString;
|
|
1615
1616
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1616
|
-
description?: string | undefined;
|
|
1617
1617
|
default?: string | undefined;
|
|
1618
1618
|
$extensions?: Record<string, unknown> | undefined;
|
|
1619
|
+
description?: string | undefined;
|
|
1619
1620
|
}> | undefined;
|
|
1620
1621
|
$schema?: string | undefined;
|
|
1621
|
-
$extensions?: Record<string, unknown> | undefined;
|
|
1622
1622
|
$defs?: Record<string, unknown> | undefined;
|
|
1623
1623
|
}, {
|
|
1624
1624
|
version: "2025.10";
|
|
@@ -1630,37 +1630,37 @@ declare const resolverDocumentSchema: z.ZodObject<{
|
|
|
1630
1630
|
sources: (z.objectInputType<{
|
|
1631
1631
|
$ref: z.ZodString;
|
|
1632
1632
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1633
|
-
description?: string | undefined;
|
|
1634
1633
|
$extensions?: Record<string, unknown> | undefined;
|
|
1634
|
+
description?: string | undefined;
|
|
1635
1635
|
} | {
|
|
1636
1636
|
name: string;
|
|
1637
1637
|
type: "modifier";
|
|
1638
1638
|
contexts: Record<string, (z.objectInputType<{
|
|
1639
1639
|
$ref: z.ZodString;
|
|
1640
1640
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1641
|
-
description?: string | undefined;
|
|
1642
1641
|
default?: string | undefined;
|
|
1643
1642
|
$extensions?: Record<string, unknown> | undefined;
|
|
1643
|
+
description?: string | undefined;
|
|
1644
1644
|
})[];
|
|
1645
1645
|
name?: string | undefined;
|
|
1646
|
+
$extensions?: Record<string, unknown> | undefined;
|
|
1646
1647
|
description?: string | undefined;
|
|
1647
1648
|
sets?: Record<string, {
|
|
1648
1649
|
sources: (z.objectInputType<{
|
|
1649
1650
|
$ref: z.ZodString;
|
|
1650
1651
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[];
|
|
1651
|
-
description?: string | undefined;
|
|
1652
1652
|
$extensions?: Record<string, unknown> | undefined;
|
|
1653
|
+
description?: string | undefined;
|
|
1653
1654
|
}> | undefined;
|
|
1654
1655
|
modifiers?: Record<string, {
|
|
1655
1656
|
contexts: Record<string, (z.objectInputType<{
|
|
1656
1657
|
$ref: z.ZodString;
|
|
1657
1658
|
}, z.ZodTypeAny, "passthrough"> | Record<string, unknown>)[]>;
|
|
1658
|
-
description?: string | undefined;
|
|
1659
1659
|
default?: string | undefined;
|
|
1660
1660
|
$extensions?: Record<string, unknown> | undefined;
|
|
1661
|
+
description?: string | undefined;
|
|
1661
1662
|
}> | undefined;
|
|
1662
1663
|
$schema?: string | undefined;
|
|
1663
|
-
$extensions?: Record<string, unknown> | undefined;
|
|
1664
1664
|
$defs?: Record<string, unknown> | undefined;
|
|
1665
1665
|
}>;
|
|
1666
1666
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sugarcube-org/core",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"fast-glob": "3.3.2",
|
|
29
29
|
"pathe": "2.0.3",
|
|
30
30
|
"jiti": "2.4.2",
|
|
31
|
-
"zod": "3.
|
|
31
|
+
"zod": "^3.23.8"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "pkgroll --minify",
|