@hypequery/protocol-conformance 0.15.2 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/README.md +8 -0
  2. package/dist/adapters/client-contract.d.ts +5 -0
  3. package/dist/adapters/client-contract.d.ts.map +1 -0
  4. package/dist/adapters/client-contract.js +29 -0
  5. package/dist/adapters/reference.d.ts +1 -1
  6. package/dist/adapters/reference.d.ts.map +1 -1
  7. package/dist/adapters/reference.js +8 -2
  8. package/dist/adapters/utils/client-contract-targets.d.ts +4 -0
  9. package/dist/adapters/utils/client-contract-targets.d.ts.map +1 -0
  10. package/dist/adapters/utils/client-contract-targets.js +7 -0
  11. package/dist/client-contract-fixtures.d.ts +3 -0
  12. package/dist/client-contract-fixtures.d.ts.map +1 -0
  13. package/dist/client-contract-fixtures.js +61 -0
  14. package/dist/compare.d.ts.map +1 -1
  15. package/dist/compare.js +8 -0
  16. package/dist/manifest.d.ts.map +1 -1
  17. package/dist/manifest.js +3 -1
  18. package/fixtures/client-contract-v1/README.md +29 -0
  19. package/fixtures/client-contract-v1/identities.json +36 -0
  20. package/fixtures/client-contract-v1/queries.json +484 -0
  21. package/fixtures/client-contract-v1/query-rejections.json +2114 -0
  22. package/fixtures/client-contract-v1/rejections.json +594 -0
  23. package/fixtures/client-contract-v1/relations.json +70 -0
  24. package/fixtures/client-contract-v1/success.json +696 -0
  25. package/fixtures/client-contract-v1/timezone-names.txt +597 -0
  26. package/fixtures/deployments-v2/identity.json +20 -0
  27. package/fixtures/deployments-v2/rejections.json +101 -0
  28. package/fixtures/deployments-v2/success.json +98 -0
  29. package/fixtures/manifest.json +33 -0
  30. package/package.json +3 -3
@@ -113,5 +113,103 @@
113
113
  }
114
114
  ]
115
115
  }
116
+ },
117
+ {
118
+ "id": "resolved-rows-replacing",
119
+ "value": {
120
+ "kind": "hypequery-deployment",
121
+ "version": 2,
122
+ "datasets": [
123
+ {
124
+ "name": "users",
125
+ "source": "users",
126
+ "tenant": {
127
+ "kind": "not-required"
128
+ },
129
+ "dimensions": [],
130
+ "measures": [],
131
+ "filters": [],
132
+ "relationships": [],
133
+ "rowResolution": {
134
+ "kind": "final",
135
+ "engine": "replacing",
136
+ "deletedColumn": "is_deleted"
137
+ }
138
+ }
139
+ ]
140
+ }
141
+ },
142
+ {
143
+ "id": "resolved-rows-final-only",
144
+ "value": {
145
+ "kind": "hypequery-deployment",
146
+ "version": 2,
147
+ "datasets": [
148
+ {
149
+ "name": "users",
150
+ "source": "users",
151
+ "tenant": {
152
+ "kind": "not-required"
153
+ },
154
+ "dimensions": [],
155
+ "measures": [],
156
+ "filters": [],
157
+ "relationships": [],
158
+ "rowResolution": {
159
+ "kind": "final"
160
+ }
161
+ }
162
+ ]
163
+ }
164
+ },
165
+ {
166
+ "id": "resolved-rows-collapsing",
167
+ "value": {
168
+ "kind": "hypequery-deployment",
169
+ "version": 2,
170
+ "datasets": [
171
+ {
172
+ "name": "users",
173
+ "source": "users",
174
+ "tenant": {
175
+ "kind": "not-required"
176
+ },
177
+ "dimensions": [],
178
+ "measures": [],
179
+ "filters": [],
180
+ "relationships": [],
181
+ "rowResolution": {
182
+ "kind": "final",
183
+ "engine": "collapsing",
184
+ "signColumn": "sign"
185
+ }
186
+ }
187
+ ]
188
+ }
189
+ },
190
+ {
191
+ "id": "resolved-rows-versioned-collapsing",
192
+ "value": {
193
+ "kind": "hypequery-deployment",
194
+ "version": 2,
195
+ "datasets": [
196
+ {
197
+ "name": "users",
198
+ "source": "users",
199
+ "tenant": {
200
+ "kind": "not-required"
201
+ },
202
+ "dimensions": [],
203
+ "measures": [],
204
+ "filters": [],
205
+ "relationships": [],
206
+ "rowResolution": {
207
+ "kind": "final",
208
+ "engine": "versioned-collapsing",
209
+ "signColumn": "sign"
210
+ }
211
+ }
212
+ ]
213
+ }
116
214
  }
117
215
  ]
@@ -314,6 +314,39 @@
314
314
  "role": "rejection"
315
315
  }
316
316
  ]
317
+ },
318
+ {
319
+ "name": "client-contract-v1",
320
+ "rfc": "0018",
321
+ "codePrefixes": [
322
+ "HQ_CLIENT_"
323
+ ],
324
+ "files": [
325
+ {
326
+ "path": "client-contract-v1/success.json",
327
+ "role": "success"
328
+ },
329
+ {
330
+ "path": "client-contract-v1/identities.json",
331
+ "role": "identity"
332
+ },
333
+ {
334
+ "path": "client-contract-v1/rejections.json",
335
+ "role": "rejection"
336
+ },
337
+ {
338
+ "path": "client-contract-v1/queries.json",
339
+ "role": "success"
340
+ },
341
+ {
342
+ "path": "client-contract-v1/query-rejections.json",
343
+ "role": "rejection"
344
+ },
345
+ {
346
+ "path": "client-contract-v1/relations.json",
347
+ "role": "success"
348
+ }
349
+ ]
317
350
  }
318
351
  ],
319
352
  "fuzz": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypequery/protocol-conformance",
3
- "version": "0.15.2",
3
+ "version": "0.16.1",
4
4
  "description": "Cross-language conformance runner for the Hypequery analytics security protocol",
5
5
  "keywords": [
6
6
  "hypequery",
@@ -31,12 +31,12 @@
31
31
  "README.md"
32
32
  ],
33
33
  "dependencies": {
34
- "@hypequery/protocol": "^0.20.0"
34
+ "@hypequery/protocol": "^0.22.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^22.5.0",
38
38
  "typescript": "^6.0.3",
39
- "vitest": "^5.0.2"
39
+ "vitest": "^5.0.5"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",