@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.
Files changed (2) hide show
  1. package/dist/types.d.ts +3 -3
  2. 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 = typeof CONSTANTS.STORAGE.COLLECTIONS.resources | typeof CONSTANTS.STORAGE.COLLECTIONS.members;
5
- export type TerminalConst = typeof CONSTANTS.TERMINALS.format | typeof CONSTANTS.TERMINALS.type | typeof CONSTANTS.TERMINALS.role | typeof CONSTANTS.TERMINALS.job | typeof CONSTANTS.TERMINALS.execution | typeof CONSTANTS.TERMINALS.resource | typeof CONSTANTS.TERMINALS.stateless_strategy | typeof CONSTANTS.TERMINALS.stateful_strategy;
6
- export type StepConst = typeof CONSTANTS.STEPS.work | typeof CONSTANTS.STEPS.branch | typeof CONSTANTS.STEPS.while | typeof CONSTANTS.STEPS.for;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolproof-npm/shared",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "Core library utilities for ToolProof",
5
5
  "keywords": [
6
6
  "toolproof",