@openpkg-ts/spec 0.41.0 → 0.43.0

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/index.d.ts CHANGED
@@ -91,6 +91,7 @@ type SpecSchemaComposite = {
91
91
  required?: string[];
92
92
  additionalProperties?: boolean | SpecSchema;
93
93
  description?: string;
94
+ deprecated?: boolean;
94
95
  } | {
95
96
  type: "function";
96
97
  signatures?: SpecSignature[];
package/dist/index.js CHANGED
@@ -2509,6 +2509,8 @@ var openpkg_schema_default4 = {
2509
2509
  properties: { propertyName: { type: "string" } }
2510
2510
  },
2511
2511
  description: { type: "string" },
2512
+ deprecated: { type: "boolean" },
2513
+ "x-deprecated-reason": { type: "string" },
2512
2514
  default: {},
2513
2515
  minimum: { type: "number" },
2514
2516
  maximum: { type: "number" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpkg-ts/spec",
3
- "version": "0.41.0",
3
+ "version": "0.43.0",
4
4
  "description": "Shared schema, validation, and diff utilities for OpenPkg specs",
5
5
  "keywords": [
6
6
  "openpkg",
@@ -274,6 +274,8 @@
274
274
  "properties": { "propertyName": { "type": "string" } }
275
275
  },
276
276
  "description": { "type": "string" },
277
+ "deprecated": { "type": "boolean" },
278
+ "x-deprecated-reason": { "type": "string" },
277
279
  "default": {},
278
280
  "minimum": { "type": "number" },
279
281
  "maximum": { "type": "number" },