@travetto/model-query 3.4.5 → 4.0.0-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-query",
3
- "version": "3.4.5",
3
+ "version": "4.0.0-rc.0",
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": "^3.4.2",
31
- "@travetto/model": "^3.4.5",
32
- "@travetto/schema": "^3.4.4"
30
+ "@travetto/di": "^4.0.0-rc.0",
31
+ "@travetto/model": "^4.0.0-rc.0",
32
+ "@travetto/schema": "^4.0.0-rc.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "@travetto/test": "^3.4.3"
35
+ "@travetto/test": "^4.0.0-rc.0"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@travetto/test": {
@@ -3,7 +3,7 @@ import { TimeSpan, Primitive } from '@travetto/base';
3
3
  /**
4
4
  * Point as [number,number] with validation and binding support
5
5
  *
6
- * @concrete ../internal/model/point:PointImpl
6
+ * @concrete ../internal/model/point#PointImpl
7
7
  */
8
8
  export type Point = [number, number];
9
9
 
@@ -6,7 +6,7 @@ import { ModelQuery } from '../model/query';
6
6
 
7
7
  /**
8
8
  * The contract for a model service with query support
9
- * @concrete ../internal/service/common:ModelQueryCrudSupportTarget
9
+ * @concrete ../internal/service/common#ModelQueryCrudSupportTarget
10
10
  */
11
11
  export interface ModelQueryCrudSupport extends ModelCrudSupport, ModelQuerySupport {
12
12
  /**
@@ -7,7 +7,7 @@ import { ValidStringFields } from '../model/where-clause';
7
7
 
8
8
  /**
9
9
  * The contract for a model service with faceting support
10
- * @concrete ../internal/service/common:ModelQueryFacetSupportTarget
10
+ * @concrete ../internal/service/common#ModelQueryFacetSupportTarget
11
11
  */
12
12
  export interface ModelQueryFacetSupport extends ModelQuerySupport {
13
13
  /**
@@ -5,7 +5,7 @@ import { ModelQuery, PageableModelQuery } from '../model/query';
5
5
 
6
6
  /**
7
7
  * The contract for a model service with query support
8
- * @concrete ../internal/service/common:ModelQuerySupportTarget
8
+ * @concrete ../internal/service/common#ModelQuerySupportTarget
9
9
  */
10
10
  export interface ModelQuerySupport {
11
11
  /**
@@ -7,7 +7,7 @@ import { ValidStringFields } from '../model/where-clause';
7
7
 
8
8
  /**
9
9
  * The contract for a model service with suggesting support
10
- * @concrete ../internal/service/common:ModelQuerySuggestSupportTarget
10
+ * @concrete ../internal/service/common#ModelQuerySuggestSupportTarget
11
11
  */
12
12
  export interface ModelQuerySuggestSupport extends ModelQuerySupport {
13
13
  /**
@@ -1,7 +1,7 @@
1
1
  /** @jsxImportSource @travetto/doc */
2
- import { readFileSync } from 'fs';
2
+ import { readFileSync } from 'node:fs';
3
3
 
4
- import { RootIndex } from '@travetto/manifest';
4
+ import { RuntimeIndex } from '@travetto/manifest';
5
5
  import { d, DocJSXElementByFn, DocJSXElement } from '@travetto/doc';
6
6
 
7
7
  export const Links = {
@@ -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 = RootIndex.getFunctionMetadata(file)!.source;
16
+ file = RuntimeIndex.getFunctionMetadata(file)!.source;
17
17
  }
18
18
  const contents = readFileSync(file, 'utf8');
19
19
  const found: DocJSXElementByFn<'CodeLink'>[] = [];
@@ -1,4 +1,4 @@
1
- import assert from 'assert';
1
+ import assert from 'node:assert';
2
2
 
3
3
  import { Suite, Test } from '@travetto/test';
4
4
  import { BaseModelSuite } from '@travetto/model/support/test/base';
@@ -1,4 +1,4 @@
1
- import assert from 'assert';
1
+ import assert from 'node:assert';
2
2
 
3
3
  import { ModelCrudSupport } from '@travetto/model';
4
4
  import { BaseModelSuite } from '@travetto/model/support/test/base';
@@ -1,4 +1,4 @@
1
- import assert from 'assert';
1
+ import assert from 'node:assert';
2
2
 
3
3
  import { Suite, Test } from '@travetto/test';
4
4
  import { BaseModelSuite } from '@travetto/model/support/test/base';
@@ -1,4 +1,4 @@
1
- import assert from 'assert';
1
+ import assert from 'node:assert';
2
2
 
3
3
  import { Suite, Test } from '@travetto/test';
4
4
  import { BaseModelSuite } from '@travetto/model/support/test/base';
@@ -1,4 +1,4 @@
1
- import assert from 'assert';
1
+ import assert from 'node:assert';
2
2
 
3
3
  import { ModelCrudSupport } from '@travetto/model';
4
4
  import { BaseModelSuite } from '@travetto/model/support/test/base';