@agentshouse/mdmodel 0.1.0-cb39915954ec5 → 0.1.0-cbb41ab5ebbd2
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/API.md +14 -10
- package/dist/definition.d.ts +3 -0
- package/dist/definition.d.ts.map +1 -1
- package/dist/definition.js +7 -4
- package/dist/document.d.ts.map +1 -1
- package/dist/document.js +32 -6
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/indexed.d.ts +9 -0
- package/dist/indexed.d.ts.map +1 -0
- package/dist/indexed.js +55 -0
- package/dist/kinds.d.ts +3 -0
- package/dist/kinds.d.ts.map +1 -1
- package/dist/kinds.js +60 -0
- package/dist/query/language.d.ts +2 -1
- package/dist/query/language.d.ts.map +1 -1
- package/dist/query/language.js +1 -1
- package/dist/query/rows.d.ts.map +1 -1
- package/dist/query/rows.js +1 -4
- package/dist/query/sql.d.ts +5 -1
- package/dist/query/sql.d.ts.map +1 -1
- package/dist/query/sql.js +3 -3
- package/dist/query/walk.d.ts +63 -0
- package/dist/query/walk.d.ts.map +1 -0
- package/dist/query/walk.js +263 -0
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +2 -1
- package/fixtures/README.md +9 -1
- package/fixtures/preamble.json +4 -4
- package/fixtures/queries.json +397 -2
- package/package.json +1 -1
package/fixtures/queries.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schema": "task:\n type: object\n properties:\n title: { type: string }\n status: { enum: [open, done] }\n due: { type: string, format: date }\n at: { type: string, format: date-time }\n ends: { type: [string, \"null\"], format: date-time }\n place:\n type: object\n properties:\n city: { type: string }\n starts: { type: string, format: time }\n points: { type: number }\n count: { type: integer }\n done: { type: boolean }\n priority: { type: integer, enum: [1, 2, 3] }\n flagged: { enum: [true, false] }\n tier: { enum: [1, 2, null] }\n rank: { enum: [1, high] }\n owner: { type: string, reference: person }\n labels: { type: array, items: { type: string } }\n times: { type: array, items: { type: string, format: date-time } }\n steps:\n type: array\n items:\n type: object\n properties:\n name: { type: string }\n at: { type: string, format: date-time }\nperson:\n type: object\n properties:\n name: { type: string }\n",
|
|
2
|
+
"schema": "task:\n type: object\n properties:\n title: { type: string }\n status: { enum: [open, done] }\n due: { type: string, format: date }\n at: { type: string, format: date-time }\n ends: { type: [string, \"null\"], format: date-time }\n place:\n type: object\n properties:\n city: { type: string }\n starts: { type: string, format: time }\n points: { type: number }\n count: { type: integer }\n done: { type: boolean }\n priority: { type: integer, enum: [1, 2, 3] }\n flagged: { enum: [true, false] }\n tier: { enum: [1, 2, null] }\n rank: { enum: [1, high] }\n code: { type: string, maxLength: 12 }\n owner: { type: string, reference: person }\n labels: { type: array, items: { type: string } }\n times: { type: array, items: { type: string, format: date-time } }\n steps:\n type: array\n items:\n type: object\n properties:\n name: { type: string }\n at: { type: string, format: date-time }\n indexed: [status, due, at, ends, starts, points, count, done, tier, code]\nperson:\n type: object\n properties:\n name: { type: string }\n",
|
|
3
3
|
"documents": {
|
|
4
4
|
"task": {
|
|
5
5
|
"path": "tasks/one.md",
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"title": "Two",
|
|
42
42
|
"status": "done",
|
|
43
43
|
"ends": null,
|
|
44
|
-
"labels": []
|
|
44
|
+
"labels": [],
|
|
45
|
+
"code": "Zeta"
|
|
45
46
|
}
|
|
46
47
|
},
|
|
47
48
|
"spaced-task": {
|
|
@@ -76,6 +77,79 @@
|
|
|
76
77
|
"fileId": null,
|
|
77
78
|
"text": "path,status\n",
|
|
78
79
|
"fields": {}
|
|
80
|
+
},
|
|
81
|
+
"task-four": {
|
|
82
|
+
"path": "tasks/four.md",
|
|
83
|
+
"type": "task",
|
|
84
|
+
"fileId": "file-four",
|
|
85
|
+
"text": null,
|
|
86
|
+
"fields": {
|
|
87
|
+
"title": "Four",
|
|
88
|
+
"status": "done",
|
|
89
|
+
"due": "2025-12-31",
|
|
90
|
+
"at": "2026-10-29T23:30:00-10:00",
|
|
91
|
+
"ends": "2026-10-30T07:00:00Z",
|
|
92
|
+
"starts": "09:30:00+01:00",
|
|
93
|
+
"points": -0,
|
|
94
|
+
"count": 2,
|
|
95
|
+
"done": true,
|
|
96
|
+
"tier": 2,
|
|
97
|
+
"code": "\ufffd"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"task-five": {
|
|
101
|
+
"path": "tasks/five.md",
|
|
102
|
+
"type": "task",
|
|
103
|
+
"fileId": "file-five",
|
|
104
|
+
"text": null,
|
|
105
|
+
"fields": {
|
|
106
|
+
"title": "Five",
|
|
107
|
+
"status": "open",
|
|
108
|
+
"due": "2026-01-05",
|
|
109
|
+
"at": "2026-10-30T07:59:59.999999999Z",
|
|
110
|
+
"ends": "2026-10-30T09:00:00+01:00",
|
|
111
|
+
"starts": "08:00:00Z",
|
|
112
|
+
"points": 0,
|
|
113
|
+
"count": -1,
|
|
114
|
+
"done": false,
|
|
115
|
+
"tier": null,
|
|
116
|
+
"code": "alpha"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"task-six": {
|
|
120
|
+
"path": "tasks/six.md",
|
|
121
|
+
"type": "task",
|
|
122
|
+
"fileId": "file-six",
|
|
123
|
+
"text": null,
|
|
124
|
+
"fields": {
|
|
125
|
+
"title": "Six",
|
|
126
|
+
"status": "done",
|
|
127
|
+
"due": "2026-10-30",
|
|
128
|
+
"at": "2026-10-30T09:00:00Z",
|
|
129
|
+
"ends": null,
|
|
130
|
+
"starts": "23:59:60Z",
|
|
131
|
+
"points": 2.5,
|
|
132
|
+
"count": 10,
|
|
133
|
+
"done": null,
|
|
134
|
+
"tier": 1,
|
|
135
|
+
"code": "\ud835\udc9c"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"task-seven": {
|
|
139
|
+
"path": "tasks/seven.md",
|
|
140
|
+
"type": "task",
|
|
141
|
+
"fileId": "file-seven",
|
|
142
|
+
"text": null,
|
|
143
|
+
"fields": {
|
|
144
|
+
"title": "Seven",
|
|
145
|
+
"ends": "2026-10-30T08:00:00.000000001Z",
|
|
146
|
+
"starts": "09:30:00Z",
|
|
147
|
+
"points": null,
|
|
148
|
+
"count": -1000000,
|
|
149
|
+
"done": true,
|
|
150
|
+
"tier": 2,
|
|
151
|
+
"code": "alpha"
|
|
152
|
+
}
|
|
79
153
|
}
|
|
80
154
|
},
|
|
81
155
|
"cases": [
|
|
@@ -959,6 +1033,327 @@
|
|
|
959
1033
|
},
|
|
960
1034
|
"document": "bare-task",
|
|
961
1035
|
"matches": true
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "a list holds the value an indexed field holds",
|
|
1039
|
+
"query": {
|
|
1040
|
+
"where": {
|
|
1041
|
+
"/status": {
|
|
1042
|
+
"$in": [
|
|
1043
|
+
"done",
|
|
1044
|
+
"open"
|
|
1045
|
+
]
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
"document": "task",
|
|
1050
|
+
"matches": true
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "a list naming null holds an explicit null",
|
|
1054
|
+
"query": {
|
|
1055
|
+
"where": {
|
|
1056
|
+
"/tier": {
|
|
1057
|
+
"$in": [
|
|
1058
|
+
2,
|
|
1059
|
+
null
|
|
1060
|
+
]
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"document": "task-five",
|
|
1065
|
+
"matches": true
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "a list naming only null leaves a missing value out",
|
|
1069
|
+
"query": {
|
|
1070
|
+
"where": {
|
|
1071
|
+
"/tier": {
|
|
1072
|
+
"$in": [
|
|
1073
|
+
null
|
|
1074
|
+
]
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
"document": "task",
|
|
1079
|
+
"matches": false
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "a list holds a date-time at the same instant in another offset",
|
|
1083
|
+
"query": {
|
|
1084
|
+
"where": {
|
|
1085
|
+
"/at": {
|
|
1086
|
+
"$in": [
|
|
1087
|
+
"2026-10-30T08:00:00Z",
|
|
1088
|
+
"2026-10-31T00:00:00Z"
|
|
1089
|
+
]
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"document": "task",
|
|
1094
|
+
"matches": true
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
"name": "a list of booleans holds true",
|
|
1098
|
+
"query": {
|
|
1099
|
+
"where": {
|
|
1100
|
+
"/done": {
|
|
1101
|
+
"$in": [
|
|
1102
|
+
true
|
|
1103
|
+
]
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
"document": "task-four",
|
|
1108
|
+
"matches": true
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "an explicit null boolean equals null",
|
|
1112
|
+
"query": {
|
|
1113
|
+
"where": {
|
|
1114
|
+
"/done": null
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"document": "task-six",
|
|
1118
|
+
"matches": true
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"name": "a range holds its inclusive lower bound",
|
|
1122
|
+
"query": {
|
|
1123
|
+
"where": {
|
|
1124
|
+
"/count": {
|
|
1125
|
+
"$gte": -1,
|
|
1126
|
+
"$lt": 2
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"document": "task-five",
|
|
1131
|
+
"matches": true
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "a range leaves its exclusive upper bound out",
|
|
1135
|
+
"query": {
|
|
1136
|
+
"where": {
|
|
1137
|
+
"/count": {
|
|
1138
|
+
"$gte": -1,
|
|
1139
|
+
"$lt": 2
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
"document": "task",
|
|
1144
|
+
"matches": false
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "an exclusive lower bound leaves its own value out",
|
|
1148
|
+
"query": {
|
|
1149
|
+
"where": {
|
|
1150
|
+
"/count": {
|
|
1151
|
+
"$gt": -1000000
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
"document": "task-seven",
|
|
1156
|
+
"matches": false
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "a negative zero lies in a range closed at zero",
|
|
1160
|
+
"query": {
|
|
1161
|
+
"where": {
|
|
1162
|
+
"/points": {
|
|
1163
|
+
"$gte": 0,
|
|
1164
|
+
"$lte": 0
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
"document": "task-four",
|
|
1169
|
+
"matches": true
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"name": "a date range leaves its exclusive upper day out",
|
|
1173
|
+
"query": {
|
|
1174
|
+
"where": {
|
|
1175
|
+
"/due": {
|
|
1176
|
+
"$gte": "2025-12-31",
|
|
1177
|
+
"$lt": "2026-01-05"
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
"document": "task-five",
|
|
1182
|
+
"matches": false
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"name": "a time orders as its text",
|
|
1186
|
+
"query": {
|
|
1187
|
+
"where": {
|
|
1188
|
+
"/starts": {
|
|
1189
|
+
"$gte": "23:59:60Z"
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
"document": "task-six",
|
|
1194
|
+
"matches": true
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"name": "a date-time one nanosecond past an inclusive upper bound lies outside it",
|
|
1198
|
+
"query": {
|
|
1199
|
+
"where": {
|
|
1200
|
+
"/ends": {
|
|
1201
|
+
"$lte": "2026-10-30T08:00:00Z"
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
"document": "task-seven",
|
|
1206
|
+
"matches": false
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"name": "text past U+FFFD holds a letter beyond the Basic Multilingual Plane",
|
|
1210
|
+
"query": {
|
|
1211
|
+
"where": {
|
|
1212
|
+
"/code": {
|
|
1213
|
+
"$gt": "\ufffd"
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"document": "task-six",
|
|
1218
|
+
"matches": true
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"name": "a closed text range holds its one value",
|
|
1222
|
+
"query": {
|
|
1223
|
+
"where": {
|
|
1224
|
+
"/code": {
|
|
1225
|
+
"$gte": "alpha",
|
|
1226
|
+
"$lte": "alpha"
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"document": "task-five",
|
|
1231
|
+
"matches": true
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "an equality and a range on two indexed fields hold together",
|
|
1235
|
+
"query": {
|
|
1236
|
+
"where": {
|
|
1237
|
+
"/status": "open",
|
|
1238
|
+
"/points": {
|
|
1239
|
+
"$gt": 2
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
"document": "task",
|
|
1244
|
+
"matches": true
|
|
1245
|
+
}
|
|
1246
|
+
],
|
|
1247
|
+
"orders": [
|
|
1248
|
+
{
|
|
1249
|
+
"name": "numbers ascend with nulls first, a negative zero tied with zero by Path",
|
|
1250
|
+
"orderBy": { "by": { "field": "/points" }, "direction": "asc", "nulls": "first" },
|
|
1251
|
+
"order": ["task-seven", "spaced-task", "bare-task", "task-five", "task-four", "task-six", "task"]
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"name": "numbers descend with nulls first, ties still by Path",
|
|
1255
|
+
"orderBy": { "by": { "field": "/points" }, "direction": "desc", "nulls": "first" },
|
|
1256
|
+
"order": ["task-seven", "spaced-task", "bare-task", "task", "task-six", "task-five", "task-four"]
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "numbers ascend with nulls last",
|
|
1260
|
+
"orderBy": { "by": { "field": "/points" }, "direction": "asc", "nulls": "last" },
|
|
1261
|
+
"order": ["task-five", "task-four", "task-six", "task", "task-seven", "spaced-task", "bare-task"]
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"name": "numbers descend with nulls last",
|
|
1265
|
+
"orderBy": { "by": { "field": "/points" }, "direction": "desc", "nulls": "last" },
|
|
1266
|
+
"order": ["task", "task-six", "task-five", "task-four", "task-seven", "spaced-task", "bare-task"]
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"name": "integers ascend through negatives, ties by Path",
|
|
1270
|
+
"orderBy": { "by": { "field": "/count" }, "direction": "asc", "nulls": "first" },
|
|
1271
|
+
"order": ["spaced-task", "bare-task", "task-seven", "task-five", "task-four", "task", "task-six"]
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"name": "integers descend, ties by Path",
|
|
1275
|
+
"orderBy": { "by": { "field": "/count" }, "direction": "desc", "nulls": "first" },
|
|
1276
|
+
"order": ["spaced-task", "bare-task", "task-six", "task-four", "task", "task-five", "task-seven"]
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"name": "booleans ascend false before true, null with the missing",
|
|
1280
|
+
"orderBy": { "by": { "field": "/done" }, "direction": "asc", "nulls": "first" },
|
|
1281
|
+
"order": ["task-six", "spaced-task", "bare-task", "task-five", "task", "task-four", "task-seven"]
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"name": "booleans descend with nulls last",
|
|
1285
|
+
"orderBy": { "by": { "field": "/done" }, "direction": "desc", "nulls": "last" },
|
|
1286
|
+
"order": ["task-four", "task-seven", "task-five", "task", "task-six", "spaced-task", "bare-task"]
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
"name": "a choice ascends by code point",
|
|
1290
|
+
"orderBy": { "by": { "field": "/status" }, "direction": "asc", "nulls": "first", "stringSort": "lexical" },
|
|
1291
|
+
"order": ["task-seven", "task-four", "task-six", "bare-task", "task-five", "task", "spaced-task"]
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"name": "a choice descends by code point",
|
|
1295
|
+
"orderBy": { "by": { "field": "/status" }, "direction": "desc", "nulls": "first", "stringSort": "lexical" },
|
|
1296
|
+
"order": ["task-seven", "task-five", "task", "spaced-task", "task-four", "task-six", "bare-task"]
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "a choice of integers ascends with its null among the missing",
|
|
1300
|
+
"orderBy": { "by": { "field": "/tier" }, "direction": "asc", "nulls": "first" },
|
|
1301
|
+
"order": ["task-five", "task", "spaced-task", "bare-task", "task-six", "task-four", "task-seven"]
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"name": "a choice of integers descends with nulls last",
|
|
1305
|
+
"orderBy": { "by": { "field": "/tier" }, "direction": "desc", "nulls": "last" },
|
|
1306
|
+
"order": ["task-four", "task-seven", "task-six", "task-five", "task", "spaced-task", "bare-task"]
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"name": "dates ascend, ties by Path",
|
|
1310
|
+
"orderBy": { "by": { "field": "/due" }, "direction": "asc", "nulls": "first", "stringSort": "lexical" },
|
|
1311
|
+
"order": ["task-seven", "spaced-task", "bare-task", "task-four", "task-five", "task", "task-six"]
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"name": "dates descend, ties by Path",
|
|
1315
|
+
"orderBy": { "by": { "field": "/due" }, "direction": "desc", "nulls": "first", "stringSort": "lexical" },
|
|
1316
|
+
"order": ["task-seven", "spaced-task", "bare-task", "task", "task-six", "task-five", "task-four"]
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"name": "date-times ascend by instant whatever their offset, the same instant tied by Path",
|
|
1320
|
+
"orderBy": { "by": { "field": "/at" }, "direction": "asc", "nulls": "first", "stringSort": "lexical" },
|
|
1321
|
+
"order": ["task-seven", "bare-task", "task-five", "task", "spaced-task", "task-six", "task-four"]
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "date-times descend by instant",
|
|
1325
|
+
"orderBy": { "by": { "field": "/at" }, "direction": "desc", "nulls": "first", "stringSort": "lexical" },
|
|
1326
|
+
"order": ["task-seven", "bare-task", "task-four", "task-six", "task", "spaced-task", "task-five"]
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "nullable date-times ascend by instant with nulls last",
|
|
1330
|
+
"orderBy": { "by": { "field": "/ends" }, "direction": "asc", "nulls": "last", "stringSort": "lexical" },
|
|
1331
|
+
"order": ["task-four", "task-five", "task-seven", "task", "task-six", "spaced-task", "bare-task"]
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"name": "nullable date-times descend by instant with nulls first",
|
|
1335
|
+
"orderBy": { "by": { "field": "/ends" }, "direction": "desc", "nulls": "first", "stringSort": "lexical" },
|
|
1336
|
+
"order": ["task", "task-six", "spaced-task", "bare-task", "task-seven", "task-five", "task-four"]
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"name": "times ascend as text, ties by Path",
|
|
1340
|
+
"orderBy": { "by": { "field": "/starts" }, "direction": "asc", "nulls": "first", "stringSort": "lexical" },
|
|
1341
|
+
"order": ["spaced-task", "bare-task", "task-five", "task-four", "task", "task-seven", "task-six"]
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"name": "times descend as text, ties by Path",
|
|
1345
|
+
"orderBy": { "by": { "field": "/starts" }, "direction": "desc", "nulls": "first", "stringSort": "lexical" },
|
|
1346
|
+
"order": ["spaced-task", "bare-task", "task-six", "task", "task-seven", "task-four", "task-five"]
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "bounded text ascends by code point, upper case first and past the basic plane last",
|
|
1350
|
+
"orderBy": { "by": { "field": "/code" }, "direction": "asc", "nulls": "first", "stringSort": "lexical" },
|
|
1351
|
+
"order": ["task", "spaced-task", "bare-task", "task-five", "task-seven", "task-four", "task-six"]
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"name": "bounded text descends by code point with nulls last",
|
|
1355
|
+
"orderBy": { "by": { "field": "/code" }, "direction": "desc", "nulls": "last", "stringSort": "lexical" },
|
|
1356
|
+
"order": ["task-six", "task-four", "task-five", "task-seven", "bare-task", "task", "spaced-task"]
|
|
962
1357
|
}
|
|
963
1358
|
]
|
|
964
1359
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentshouse/mdmodel",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-cbb41ab5ebbd2",
|
|
4
4
|
"description": "MD Type language, parser, validator, structured change application, Markdown syntax profile, and conformance fixtures",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|