@shushed/helpers 0.0.114 → 0.0.115
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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ declare const schema$r: {
|
|
|
129
129
|
readonly name: {
|
|
130
130
|
readonly type: readonly ["string", "null"];
|
|
131
131
|
};
|
|
132
|
-
readonly
|
|
132
|
+
readonly rgb: {
|
|
133
133
|
readonly anyOf: readonly [{
|
|
134
134
|
readonly type: "null";
|
|
135
135
|
}, {
|
|
@@ -30104,7 +30104,7 @@ type __MainSchema$x = ("AFN" | "ALL" | "DZD" | "USD" | "EUR" | "AOA" | "XCD" | "
|
|
|
30104
30104
|
interface __MainSchema$w {
|
|
30105
30105
|
colour_id: string;
|
|
30106
30106
|
name?: (string | null);
|
|
30107
|
-
|
|
30107
|
+
rgb?: (null | number[]);
|
|
30108
30108
|
cmyk?: (null | number[]);
|
|
30109
30109
|
pantone?: (null | {
|
|
30110
30110
|
name?: string;
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,7 @@ var schema4 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "
|
|
|
72
72
|
var currency_default = schema4;
|
|
73
73
|
|
|
74
74
|
// dist-dereferenced/development-colour.ts
|
|
75
|
-
var schema5 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Development Colour", "type": "object", "additionalProperties": false, "properties": { "colour_id": { "type": "string" }, "name": { "type": ["string", "null"] }, "
|
|
75
|
+
var schema5 = { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Development Colour", "type": "object", "additionalProperties": false, "properties": { "colour_id": { "type": "string" }, "name": { "type": ["string", "null"] }, "rgb": { "anyOf": [{ "type": "null" }, { "type": "array", "items": { "type": "number" } }] }, "cmyk": { "anyOf": [{ "type": "null" }, { "type": "array", "items": { "type": "number" } }] }, "pantone": { "anyOf": [{ "type": "null" }, { "type": "object", "properties": { "name": { "type": "string" }, "system": { "type": "string", "pattern": "^[A-Z0-9-]+$" }, "id": { "type": "string", "pattern": "^[A-Z0-9-]+$" } } }] }, "display_name": { "type": ["string", "null"], "pattern": "^[ a-z-]+$" }, "family_display_name": { "type": ["string", "null"], "pattern": "^[ a-z]+$" }, "source_asset": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Asset", "type": "object", "additionalProperties": false, "properties": { "source_url": { "type": "string" }, "last_modified_at": { "type": "string", "format": "date-time" }, "width": { "type": "integer", "minimum": 0 }, "height": { "type": "integer", "minimum": 0 }, "content_type": { "type": "string", "pattern": "^[a-z0-9-]+$" }, "file_name": { "type": "string", "pattern": "^[a-z0-9-]+$" } }, "required": ["source_url", "content_type", "last_modified_at"] } }, "required": ["colour_id"], "$id": "https://shushed.example.com/development-colour.schema.json" };
|
|
76
76
|
var development_colour_default = schema5;
|
|
77
77
|
|
|
78
78
|
// dist-dereferenced/money.ts
|