@twin.org/synchronised-storage-models 0.0.3-next.4 → 0.0.3-next.6
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/dist/es/models/ISyncChangeSet.js.map +1 -1
- package/dist/es/models/ISyncRequest.js.map +1 -1
- package/dist/es/models/synchronisedStorageContexts.js +11 -3
- package/dist/es/models/synchronisedStorageContexts.js.map +1 -1
- package/dist/types/models/ISyncChangeSet.d.ts +1 -1
- package/dist/types/models/ISyncRequest.d.ts +1 -1
- package/dist/types/models/synchronisedStorageContexts.d.ts +11 -3
- package/docs/changelog.md +14 -0
- package/docs/reference/type-aliases/SynchronisedStorageContexts.md +1 -1
- package/docs/reference/variables/SynchronisedStorageContexts.md +14 -2
- package/package.json +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISyncChangeSet.js","sourceRoot":"","sources":["../../../src/models/ISyncChangeSet.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ISyncChange } from \"./ISyncChange.js\";\nimport type { SynchronisedStorageContexts } from \"./synchronisedStorageContexts.js\";\nimport type { SynchronisedStorageTypes } from \"./synchronisedStorageTypes.js\";\n\n/**\n * The object definition for a sync change set.\n */\nexport interface ISyncChangeSet {\n\t/**\n\t * The LD Context for the change set.\n\t */\n\t\"@context\": typeof SynchronisedStorageContexts.
|
|
1
|
+
{"version":3,"file":"ISyncChangeSet.js","sourceRoot":"","sources":["../../../src/models/ISyncChangeSet.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ISyncChange } from \"./ISyncChange.js\";\nimport type { SynchronisedStorageContexts } from \"./synchronisedStorageContexts.js\";\nimport type { SynchronisedStorageTypes } from \"./synchronisedStorageTypes.js\";\n\n/**\n * The object definition for a sync change set.\n */\nexport interface ISyncChangeSet {\n\t/**\n\t * The LD Context for the change set.\n\t */\n\t\"@context\": typeof SynchronisedStorageContexts.Context;\n\n\t/**\n\t * The LD Type for the change set.\n\t */\n\ttype: typeof SynchronisedStorageTypes.ChangeSet;\n\n\t/**\n\t * The id of the change set.\n\t */\n\tid: string;\n\n\t/**\n\t * The storage key of the change set. This is used to identify the entities being synchronised.\n\t */\n\tstorageKey: string;\n\n\t/**\n\t * The date the change set was created.\n\t */\n\tdateCreated: string;\n\n\t/**\n\t * The date the change set was last modified.\n\t */\n\tdateModified: string;\n\n\t/**\n\t * The identity of the node that created the change set.\n\t */\n\tnodeId: string;\n\n\t/**\n\t * The changes to apply after a snapshot.\n\t */\n\tchanges: ISyncChange[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISyncRequest.js","sourceRoot":"","sources":["../../../src/models/ISyncRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { SynchronisedStorageContexts } from \"./synchronisedStorageContexts.js\";\nimport type { SynchronisedStorageTypes } from \"./synchronisedStorageTypes.js\";\n\n/**\n * The object definition for a sync request.\n */\nexport interface ISyncRequest {\n\t/**\n\t * The LD Context for the request.\n\t */\n\t\"@context\": typeof SynchronisedStorageContexts.
|
|
1
|
+
{"version":3,"file":"ISyncRequest.js","sourceRoot":"","sources":["../../../src/models/ISyncRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { SynchronisedStorageContexts } from \"./synchronisedStorageContexts.js\";\nimport type { SynchronisedStorageTypes } from \"./synchronisedStorageTypes.js\";\n\n/**\n * The object definition for a sync request.\n */\nexport interface ISyncRequest {\n\t/**\n\t * The LD Context for the request.\n\t */\n\t\"@context\": typeof SynchronisedStorageContexts.Context;\n\n\t/**\n\t * The LD Type for the request.\n\t */\n\ttype: typeof SynchronisedStorageTypes.SyncRequest;\n\n\t/**\n\t * The identity of the node that created the request.\n\t */\n\tnodeId: string;\n}\n"]}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
// Copyright 2024 IOTA Stiftung.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0.
|
|
3
3
|
/**
|
|
4
|
-
* The Contexts concerning
|
|
4
|
+
* The Contexts concerning Synchronised Storage.
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
7
|
export const SynchronisedStorageContexts = {
|
|
8
8
|
/**
|
|
9
|
-
* The namespace.
|
|
9
|
+
* The canonical RDF namespace URI for Synchronised Storage.
|
|
10
10
|
*/
|
|
11
|
-
Namespace: "https://schema.twindev.org/synchronised-storage/"
|
|
11
|
+
Namespace: "https://schema.twindev.org/synchronised-storage/",
|
|
12
|
+
/**
|
|
13
|
+
* The value to use in context for Synchronised Storage.
|
|
14
|
+
*/
|
|
15
|
+
Context: "https://schema.twindev.org/synchronised-storage/",
|
|
16
|
+
/**
|
|
17
|
+
* The JSON-LD Context URL for Synchronised Storage.
|
|
18
|
+
*/
|
|
19
|
+
JsonLdContext: "https://schema.twindev.org/synchronised-storage/types.jsonld"
|
|
12
20
|
};
|
|
13
21
|
//# sourceMappingURL=synchronisedStorageContexts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"synchronisedStorageContexts.js","sourceRoot":"","sources":["../../../src/models/synchronisedStorageContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,SAAS,EAAE,kDAAkD;
|
|
1
|
+
{"version":3,"file":"synchronisedStorageContexts.js","sourceRoot":"","sources":["../../../src/models/synchronisedStorageContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GAAG;IAC1C;;OAEG;IACH,SAAS,EAAE,kDAAkD;IAE7D;;OAEG;IACH,OAAO,EAAE,kDAAkD;IAE3D;;OAEG;IACH,aAAa,EAAE,8DAA8D;CACpE,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The Contexts concerning Synchronised Storage.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const SynchronisedStorageContexts = {\n\t/**\n\t * The canonical RDF namespace URI for Synchronised Storage.\n\t */\n\tNamespace: \"https://schema.twindev.org/synchronised-storage/\",\n\n\t/**\n\t * The value to use in context for Synchronised Storage.\n\t */\n\tContext: \"https://schema.twindev.org/synchronised-storage/\",\n\n\t/**\n\t * The JSON-LD Context URL for Synchronised Storage.\n\t */\n\tJsonLdContext: \"https://schema.twindev.org/synchronised-storage/types.jsonld\"\n} as const;\n\n/**\n * The Contexts concerning Synchronised Storage.\n */\nexport type SynchronisedStorageContexts =\n\t(typeof SynchronisedStorageContexts)[keyof typeof SynchronisedStorageContexts];\n"]}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The Contexts concerning
|
|
2
|
+
* The Contexts concerning Synchronised Storage.
|
|
3
3
|
*/
|
|
4
4
|
export declare const SynchronisedStorageContexts: {
|
|
5
5
|
/**
|
|
6
|
-
* The namespace.
|
|
6
|
+
* The canonical RDF namespace URI for Synchronised Storage.
|
|
7
7
|
*/
|
|
8
8
|
readonly Namespace: "https://schema.twindev.org/synchronised-storage/";
|
|
9
|
+
/**
|
|
10
|
+
* The value to use in context for Synchronised Storage.
|
|
11
|
+
*/
|
|
12
|
+
readonly Context: "https://schema.twindev.org/synchronised-storage/";
|
|
13
|
+
/**
|
|
14
|
+
* The JSON-LD Context URL for Synchronised Storage.
|
|
15
|
+
*/
|
|
16
|
+
readonly JsonLdContext: "https://schema.twindev.org/synchronised-storage/types.jsonld";
|
|
9
17
|
};
|
|
10
18
|
/**
|
|
11
|
-
* The Contexts concerning
|
|
19
|
+
* The Contexts concerning Synchronised Storage.
|
|
12
20
|
*/
|
|
13
21
|
export type SynchronisedStorageContexts = (typeof SynchronisedStorageContexts)[keyof typeof SynchronisedStorageContexts];
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.6](https://github.com/twinfoundation/synchronised-storage/compare/synchronised-storage-models-v0.0.3-next.5...synchronised-storage-models-v0.0.3-next.6) (2026-01-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update contexts ([#34](https://github.com/twinfoundation/synchronised-storage/issues/34)) ([7be9caf](https://github.com/twinfoundation/synchronised-storage/commit/7be9caf3da63f8afefd625650150bed171a1d045))
|
|
9
|
+
|
|
10
|
+
## [0.0.3-next.5](https://github.com/twinfoundation/synchronised-storage/compare/synchronised-storage-models-v0.0.3-next.4...synchronised-storage-models-v0.0.3-next.5) (2026-01-19)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* remove unused dependencies ([518c460](https://github.com/twinfoundation/synchronised-storage/commit/518c460d2e5e2b2c487565acb5162a03ddb85eae))
|
|
16
|
+
|
|
3
17
|
## [0.0.3-next.4](https://github.com/twinfoundation/synchronised-storage/compare/synchronised-storage-models-v0.0.3-next.3...synchronised-storage-models-v0.0.3-next.4) (2026-01-15)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
> **SynchronisedStorageContexts** = *typeof* [`SynchronisedStorageContexts`](../variables/SynchronisedStorageContexts.md)\[keyof *typeof* [`SynchronisedStorageContexts`](../variables/SynchronisedStorageContexts.md)\]
|
|
4
4
|
|
|
5
|
-
The Contexts concerning
|
|
5
|
+
The Contexts concerning Synchronised Storage.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> `const` **SynchronisedStorageContexts**: `object`
|
|
4
4
|
|
|
5
|
-
The Contexts concerning
|
|
5
|
+
The Contexts concerning Synchronised Storage.
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
@@ -10,4 +10,16 @@ The Contexts concerning SynchronisedStorage.
|
|
|
10
10
|
|
|
11
11
|
> `readonly` **Namespace**: `"https://schema.twindev.org/synchronised-storage/"` = `"https://schema.twindev.org/synchronised-storage/"`
|
|
12
12
|
|
|
13
|
-
The namespace.
|
|
13
|
+
The canonical RDF namespace URI for Synchronised Storage.
|
|
14
|
+
|
|
15
|
+
### Context
|
|
16
|
+
|
|
17
|
+
> `readonly` **Context**: `"https://schema.twindev.org/synchronised-storage/"` = `"https://schema.twindev.org/synchronised-storage/"`
|
|
18
|
+
|
|
19
|
+
The value to use in context for Synchronised Storage.
|
|
20
|
+
|
|
21
|
+
### JsonLdContext
|
|
22
|
+
|
|
23
|
+
> `readonly` **JsonLdContext**: `"https://schema.twindev.org/synchronised-storage/types.jsonld"` = `"https://schema.twindev.org/synchronised-storage/types.jsonld"`
|
|
24
|
+
|
|
25
|
+
The JSON-LD Context URL for Synchronised Storage.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/synchronised-storage-models",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.6",
|
|
4
4
|
"description": "Models which define the structure of the synchronised storage connectors and services",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/core": "next",
|
|
18
18
|
"@twin.org/entity": "next",
|
|
19
|
-
"@twin.org/identity-authentication": "next",
|
|
20
19
|
"@twin.org/identity-models": "next",
|
|
21
20
|
"@twin.org/nameof": "next",
|
|
22
21
|
"@twin.org/standards-w3c-did": "next",
|