@twin.org/auditable-item-graph-models 0.0.1-next.3 → 0.0.1-next.4

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.
@@ -9,14 +9,10 @@ var dataCore = require('@twin.org/data-core');
9
9
  */
10
10
  // eslint-disable-next-line @typescript-eslint/naming-convention
11
11
  const AuditableItemGraphTypes = {
12
- /**
13
- * The context uri for the auditable item graph types.
14
- */
15
- ContextUri: "https://schema.twindev.org/aig/",
16
12
  /**
17
13
  * The context root for the auditable item graph types.
18
14
  */
19
- ContextJsonld: "https://schema.twindev.org/aig/types.jsonld",
15
+ ContextRoot: "https://schema.twindev.org/aig/",
20
16
  /**
21
17
  * Represents auditable item graph vertex.
22
18
  */
@@ -7,14 +7,10 @@ import { DataTypeHandlerFactory } from '@twin.org/data-core';
7
7
  */
8
8
  // eslint-disable-next-line @typescript-eslint/naming-convention
9
9
  const AuditableItemGraphTypes = {
10
- /**
11
- * The context uri for the auditable item graph types.
12
- */
13
- ContextUri: "https://schema.twindev.org/aig/",
14
10
  /**
15
11
  * The context root for the auditable item graph types.
16
12
  */
17
- ContextJsonld: "https://schema.twindev.org/aig/types.jsonld",
13
+ ContextRoot: "https://schema.twindev.org/aig/",
18
14
  /**
19
15
  * Represents auditable item graph vertex.
20
16
  */
@@ -2,14 +2,10 @@
2
2
  * The types of auditable item graph data.
3
3
  */
4
4
  export declare const AuditableItemGraphTypes: {
5
- /**
6
- * The context uri for the auditable item graph types.
7
- */
8
- readonly ContextUri: "https://schema.twindev.org/aig/";
9
5
  /**
10
6
  * The context root for the auditable item graph types.
11
7
  */
12
- readonly ContextJsonld: "https://schema.twindev.org/aig/types.jsonld";
8
+ readonly ContextRoot: "https://schema.twindev.org/aig/";
13
9
  /**
14
10
  * Represents auditable item graph vertex.
15
11
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/auditable-item-graph-models - Changelog
2
2
 
3
- ## v0.0.1-next.3
3
+ ## v0.0.1-next.4
4
4
 
5
5
  - Initial Release
@@ -6,15 +6,9 @@ The types of auditable item graph data.
6
6
 
7
7
  ## Type declaration
8
8
 
9
- ### ContextUri
9
+ ### ContextRoot
10
10
 
11
- > `readonly` **ContextUri**: `"https://schema.twindev.org/aig/"` = `"https://schema.twindev.org/aig/"`
12
-
13
- The context uri for the auditable item graph types.
14
-
15
- ### ContextJsonld
16
-
17
- > `readonly` **ContextJsonld**: `"https://schema.twindev.org/aig/types.jsonld"` = `"https://schema.twindev.org/aig/types.jsonld"`
11
+ > `readonly` **ContextRoot**: `"https://schema.twindev.org/aig/"` = `"https://schema.twindev.org/aig/"`
18
12
 
19
13
  The context root for the auditable item graph types.
20
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/auditable-item-graph-models",
3
- "version": "0.0.1-next.3",
3
+ "version": "0.0.1-next.4",
4
4
  "description": "Models which define the structure of the auditable item graph connectors and services",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,21 +13,6 @@
13
13
  "engines": {
14
14
  "node": ">=20.0.0"
15
15
  },
16
- "scripts": {
17
- "clean": "rimraf dist coverage docs/reference src/schemas",
18
- "build:schema": "ts-to-schema ./ts-to-schema.json ./src/schemas",
19
- "build:compile": "tspc",
20
- "build": "npm run build:schema && npm run build:compile",
21
- "test": "vitest --run --config ./vitest.config.ts --no-cache",
22
- "coverage": "vitest --run --coverage --config ./vitest.config.ts --no-cache",
23
- "bundle:esm": "rollup --config rollup.config.mjs --environment MODULE:esm",
24
- "bundle:cjs": "rollup --config rollup.config.mjs --environment MODULE:cjs",
25
- "bundle": "npm run bundle:esm && npm run bundle:cjs",
26
- "docs:clean": "rimraf docs/reference",
27
- "docs:generate": "typedoc",
28
- "docs": "npm run docs:clean && npm run docs:generate",
29
- "dist": "npm run clean && npm run build && npm run test && npm run bundle && npm run docs"
30
- },
31
16
  "dependencies": {
32
17
  "@twin.org/core": "next",
33
18
  "@twin.org/data-core": "next",
@@ -36,21 +21,6 @@
36
21
  "@twin.org/nameof": "next",
37
22
  "@twin.org/web": "next"
38
23
  },
39
- "devDependencies": {
40
- "@twin.org/nameof-transformer": "next",
41
- "@twin.org/ts-to-schema": "next",
42
- "@rollup/plugin-json": "6.1.0",
43
- "@vitest/coverage-v8": "2.1.1",
44
- "copyfiles": "2.4.1",
45
- "rimraf": "6.0.1",
46
- "rollup": "4.22.0",
47
- "rollup-plugin-typescript2": "0.36.0",
48
- "ts-patch": "3.2.1",
49
- "typedoc": "0.26.7",
50
- "typedoc-plugin-markdown": "4.2.7",
51
- "typescript": "5.6.2",
52
- "vitest": "2.1.1"
53
- },
54
24
  "main": "./dist/cjs/index.cjs",
55
25
  "module": "./dist/esm/index.mjs",
56
26
  "types": "./dist/types/index.d.ts",