toolcraft-schema 0.0.14 → 0.0.16

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/index.d.ts +2 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -50,6 +50,7 @@ type SchemaOptions<TDefault> = {
50
50
  requiredScopes?: readonly SchemaScope[];
51
51
  short?: string;
52
52
  scope?: readonly SchemaScope[];
53
+ global?: boolean;
53
54
  };
54
55
  export interface SchemaBase<TKind extends SchemaKind, TStatic> {
55
56
  readonly kind: TKind;
@@ -59,6 +60,7 @@ export interface SchemaBase<TKind extends SchemaKind, TStatic> {
59
60
  readonly requiredScopes?: readonly SchemaScope[];
60
61
  readonly short?: string;
61
62
  readonly scope?: readonly SchemaScope[];
63
+ readonly global?: boolean;
62
64
  readonly __static?: TStatic;
63
65
  }
64
66
  export interface JsonSchema {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolcraft-schema",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",