@twin.org/context 0.0.4-next.7 → 0.0.4-next.8
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.
|
@@ -20,6 +20,10 @@ export const ContextIdKeys = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Standard property type definition for user.
|
|
22
22
|
*/
|
|
23
|
-
User: "user"
|
|
23
|
+
User: "user",
|
|
24
|
+
/**
|
|
25
|
+
* Standard property type definition for user organization.
|
|
26
|
+
*/
|
|
27
|
+
UserOrganization: "userOrganization"
|
|
24
28
|
};
|
|
25
29
|
//# sourceMappingURL=contextIdKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextIdKeys.js","sourceRoot":"","sources":["../../../src/models/contextIdKeys.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"contextIdKeys.js","sourceRoot":"","sources":["../../../src/models/contextIdKeys.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;CAC3B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Default definition of some context keys.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ContextIdKeys = {\n\t/**\n\t * Standard property type definition for node.\n\t */\n\tNode: \"node\",\n\n\t/**\n\t * Standard property type definition for tenant.\n\t */\n\tTenant: \"tenant\",\n\n\t/**\n\t * Standard property type definition for organization.\n\t */\n\tOrganization: \"organization\",\n\n\t/**\n\t * Standard property type definition for user.\n\t */\n\tUser: \"user\",\n\n\t/**\n\t * Standard property type definition for user organization.\n\t */\n\tUserOrganization: \"userOrganization\"\n} as const;\n\n/**\n * Default definition of some context keys.\n */\nexport type ContextIdKeys = (typeof ContextIdKeys)[keyof typeof ContextIdKeys];\n"]}
|
|
@@ -18,6 +18,10 @@ export declare const ContextIdKeys: {
|
|
|
18
18
|
* Standard property type definition for user.
|
|
19
19
|
*/
|
|
20
20
|
readonly User: "user";
|
|
21
|
+
/**
|
|
22
|
+
* Standard property type definition for user organization.
|
|
23
|
+
*/
|
|
24
|
+
readonly UserOrganization: "userOrganization";
|
|
21
25
|
};
|
|
22
26
|
/**
|
|
23
27
|
* Default definition of some context keys.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.4-next.8](https://github.com/iotaledger/twin-framework/compare/context-v0.0.4-next.7...context-v0.0.4-next.8) (2026-06-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add user organization context key ([a3da436](https://github.com/iotaledger/twin-framework/commit/a3da4360451860052a508bdc147255a0b9ca8410))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/core bumped from 0.0.4-next.7 to 0.0.4-next.8
|
|
16
|
+
* @twin.org/nameof bumped from 0.0.4-next.7 to 0.0.4-next.8
|
|
17
|
+
* devDependencies
|
|
18
|
+
* @twin.org/nameof-transformer bumped from 0.0.4-next.7 to 0.0.4-next.8
|
|
19
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.7 to 0.0.4-next.8
|
|
20
|
+
* @twin.org/validate-locales bumped from 0.0.4-next.7 to 0.0.4-next.8
|
|
21
|
+
|
|
3
22
|
## [0.0.4-next.7](https://github.com/iotaledger/twin-framework/compare/context-v0.0.4-next.6...context-v0.0.4-next.7) (2026-06-10)
|
|
4
23
|
|
|
5
24
|
|
|
@@ -29,3 +29,9 @@ Standard property type definition for organization.
|
|
|
29
29
|
> `readonly` **User**: `"user"` = `"user"`
|
|
30
30
|
|
|
31
31
|
Standard property type definition for user.
|
|
32
|
+
|
|
33
|
+
### UserOrganization {#userorganization}
|
|
34
|
+
|
|
35
|
+
> `readonly` **UserOrganization**: `"userOrganization"` = `"userOrganization"`
|
|
36
|
+
|
|
37
|
+
Standard property type definition for user organization.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/context",
|
|
3
|
-
"version": "0.0.4-next.
|
|
3
|
+
"version": "0.0.4-next.8",
|
|
4
4
|
"description": "Helper methods/classes for context handling",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "0.0.4-next.
|
|
18
|
-
"@twin.org/nameof": "0.0.4-next.
|
|
17
|
+
"@twin.org/core": "0.0.4-next.8",
|
|
18
|
+
"@twin.org/nameof": "0.0.4-next.8"
|
|
19
19
|
},
|
|
20
20
|
"main": "./dist/es/index.js",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|