@knapsack/types 4.68.14--canary.4628.32bb8ac.0 → 4.68.14--canary.4629.dc87d34.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +0 -18
- package/dist/acd-test-fixtures/index.js +22 -22
- package/dist/acd-test-fixtures/index.js.map +1 -1
- package/dist/acd-test-fixtures/index.mjs +22 -22
- package/dist/acd-test-fixtures/index.mjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/json-schema.d.ts +4 -5
- package/dist/json-schema.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/json-schema.d.ts
CHANGED
@@ -55,17 +55,16 @@ export type ObjectProp = {
|
|
55
55
|
additionalProperties?: boolean;
|
56
56
|
required?: string[];
|
57
57
|
properties: {
|
58
|
-
[prop: string]:
|
58
|
+
[prop: string]: any;
|
59
59
|
};
|
60
60
|
} & PropBase;
|
61
61
|
export type ArrayProp = {
|
62
62
|
type: 'array';
|
63
|
-
items: PropertyTypes;
|
64
63
|
} & PropBase<unknown[]>;
|
65
64
|
export type ArrayOfStringsProp = {
|
66
65
|
type: 'array';
|
67
66
|
uniqueItems?: boolean;
|
68
|
-
items: StringProp;
|
67
|
+
items: StringProp | OptionsProp;
|
69
68
|
} & PropBase<unknown[]>;
|
70
69
|
export type ArrayOfObjectsProp = {
|
71
70
|
type: 'array';
|
@@ -132,8 +131,8 @@ export type JsonSchemaObject<PropNames extends string = string> = {
|
|
132
131
|
$schema?: string;
|
133
132
|
title?: string;
|
134
133
|
description?: string;
|
135
|
-
type:
|
136
|
-
required?:
|
134
|
+
type: string;
|
135
|
+
required?: string[];
|
137
136
|
properties: Record<PropNames, PropertyTypes>;
|
138
137
|
examples?: Record<string, unknown>[];
|
139
138
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":"AAEA,KAAK,QAAQ,CAAC,IAAI,GAAG,GAAG,IAAI;IAC1B,KAAK,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,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CACtC,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/types",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.68.14--canary.
|
4
|
+
"version": "4.68.14--canary.4629.dc87d34.0",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"module": "dist/index.mjs",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -38,15 +38,15 @@
|
|
38
38
|
"test": "ava"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@knapsack/utils": "4.68.14--canary.
|
41
|
+
"@knapsack/utils": "4.68.14--canary.4629.dc87d34.0",
|
42
42
|
"color-string": "^1.9.1",
|
43
43
|
"immer": "^10.0.4",
|
44
44
|
"superstruct": "^0.16.7"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
|
-
"@knapsack/eslint-config-starter": "4.68.14--canary.
|
48
|
-
"@knapsack/test-ava": "4.68.14--canary.
|
49
|
-
"@knapsack/typescript-config-starter": "4.68.14--canary.
|
47
|
+
"@knapsack/eslint-config-starter": "4.68.14--canary.4629.dc87d34.0",
|
48
|
+
"@knapsack/test-ava": "4.68.14--canary.4629.dc87d34.0",
|
49
|
+
"@knapsack/typescript-config-starter": "4.68.14--canary.4629.dc87d34.0",
|
50
50
|
"@tiptap/core": "^2.2.4",
|
51
51
|
"@types/color-string": "^1.5.5",
|
52
52
|
"@types/fs-extra": "^11.0.4",
|
@@ -68,5 +68,5 @@
|
|
68
68
|
"directory": "libs/types",
|
69
69
|
"type": "git"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "dc87d343b2fe6ee2ea46dcb38887820ebc2e34aa"
|
72
72
|
}
|