@travetto/model-query 5.0.0-rc.0 → 5.0.0-rc.2
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/package.json +5 -5
- package/src/internal/query/tokenizer.ts +1 -1
- package/src/internal/query/verifier.ts +1 -1
- package/src/internal/service/expiry.ts +1 -1
- package/src/internal/service/query.ts +1 -1
- package/src/internal/service/suggest.ts +1 -1
- package/src/internal/util/types.ts +1 -1
- package/src/model/where-clause.ts +1 -1
- package/src/service/crud.ts +1 -1
- package/src/service/facet.ts +1 -1
- package/src/service/query.ts +1 -1
- package/src/service/suggest.ts +1 -1
- package/support/doc.support.tsx +2 -2
- package/support/test/query.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model-query",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.2",
|
|
4
4
|
"description": "Datastore abstraction for advanced query support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datastore",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"directory": "module/model-query"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@travetto/di": "^5.0.0-rc.
|
|
31
|
-
"@travetto/model": "^5.0.0-rc.
|
|
32
|
-
"@travetto/schema": "^5.0.0-rc.
|
|
30
|
+
"@travetto/di": "^5.0.0-rc.2",
|
|
31
|
+
"@travetto/model": "^5.0.0-rc.2",
|
|
32
|
+
"@travetto/schema": "^5.0.0-rc.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@travetto/test": "^5.0.0-rc.
|
|
35
|
+
"@travetto/test": "^5.0.0-rc.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependenciesMeta": {
|
|
38
38
|
"@travetto/test": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Class, AppError, TimeUtil } from '@travetto/
|
|
1
|
+
import { Class, AppError, TimeUtil } from '@travetto/runtime';
|
|
2
2
|
import { ModelRegistry, NotFoundError } from '@travetto/model';
|
|
3
3
|
import { ModelType } from '@travetto/model/src/types/model';
|
|
4
4
|
import { SchemaRegistry } from '@travetto/schema';
|
package/src/service/crud.ts
CHANGED
package/src/service/facet.ts
CHANGED
package/src/service/query.ts
CHANGED
package/src/service/suggest.ts
CHANGED
package/support/doc.support.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @travetto/doc */
|
|
2
2
|
import { readFileSync } from 'node:fs';
|
|
3
3
|
|
|
4
|
-
import { RuntimeIndex } from '@travetto/manifest';
|
|
5
4
|
import { d, DocJSXElementByFn, DocJSXElement } from '@travetto/doc';
|
|
5
|
+
import { Runtime } from '@travetto/runtime';
|
|
6
6
|
|
|
7
7
|
export const Links = {
|
|
8
8
|
QueryCrud: d.codeLink('Query Crud', '@travetto/model-query/src/service/crud.ts', /export interface/),
|
|
@@ -13,7 +13,7 @@ export const Links = {
|
|
|
13
13
|
|
|
14
14
|
export const ModelQueryTypes = (file: string | Function): DocJSXElement[] => {
|
|
15
15
|
if (typeof file !== 'string') {
|
|
16
|
-
file =
|
|
16
|
+
file = Runtime.getSource(file);
|
|
17
17
|
}
|
|
18
18
|
const contents = readFileSync(file, 'utf8');
|
|
19
19
|
const found: DocJSXElementByFn<'CodeLink'>[] = [];
|
package/support/test/query.ts
CHANGED
|
@@ -3,7 +3,7 @@ import assert from 'node:assert';
|
|
|
3
3
|
import { Suite, Test } from '@travetto/test';
|
|
4
4
|
import { BaseModelSuite } from '@travetto/model/support/test/base';
|
|
5
5
|
import { ModelCrudSupport } from '@travetto/model/src/service/crud';
|
|
6
|
-
import { TimeUtil } from '@travetto/
|
|
6
|
+
import { TimeUtil } from '@travetto/runtime';
|
|
7
7
|
|
|
8
8
|
import { Aged, Location, Names, Note, Person, SimpleList, WithNestedLists, WithNestedNestedLists } from './types';
|
|
9
9
|
|