@toolproof-npm/shared 0.1.74 → 0.1.75
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/types.d.ts +3 -3
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ExecutionIdentityJson, ResourceIdentityJson, ResourceJson, ResourceRoleIdentityJson, ResourceRoleValueJson, ResourceTypeIdentityJson } from '@toolproof-npm/schema';
|
|
2
2
|
import { CONSTANTS } from './constants.js';
|
|
3
3
|
export type BucketConst = typeof CONSTANTS.STORAGE.BUCKETS.tp_resources;
|
|
4
|
-
export type CollectionConst =
|
|
5
|
-
export type TerminalConst =
|
|
6
|
-
export type StepConst =
|
|
4
|
+
export type CollectionConst = keyof typeof CONSTANTS.STORAGE.COLLECTIONS;
|
|
5
|
+
export type TerminalConst = keyof typeof CONSTANTS.TERMINALS;
|
|
6
|
+
export type StepConst = keyof typeof CONSTANTS.STEPS;
|
|
7
7
|
export type Role = {
|
|
8
8
|
identity: ResourceRoleIdentityJson;
|
|
9
9
|
} & ResourceRoleValueJson;
|