@markuplint/ml-spec
Advanced tools
Comparing version 3.0.0-dev.51 to 3.0.0-dev.54
@@ -22,3 +22,3 @@ /** | ||
export interface PermittedContentRequire { | ||
require: Model; | ||
require: Model | PermittedContentPattern[]; | ||
max?: number; | ||
@@ -29,3 +29,3 @@ min?: number; | ||
export interface PermittedContentOptional { | ||
optional: Model; | ||
optional: Model | PermittedContentPattern[]; | ||
max?: number; | ||
@@ -45,2 +45,6 @@ _TODO_?: string; | ||
export interface PermittedContentChoice { | ||
/** | ||
* @minItems 2 | ||
* @maxItems 5 | ||
*/ | ||
choice: [PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[], PermittedContentPattern[]] | [ | ||
@@ -47,0 +51,0 @@ PermittedContentPattern[], |
{ | ||
"name": "@markuplint/ml-spec", | ||
"version": "3.0.0-dev.51+3b7ed6eb", | ||
"version": "3.0.0-dev.54+329808d5", | ||
"description": "Types and schema that specs of the Markup languages for markuplint", | ||
@@ -19,3 +19,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"schema:gen": "ts-node ./gen/gen.ts; prettier --write './schemas/*.json';", | ||
"schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structres.ts; prettier --write ./src/types/permitted-structres.ts; eslint --fix --config ../../../.eslintrc ./src/types/permitted-structres.ts", | ||
"schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structures.ts; prettier --write ./src/types/permitted-structures.ts; eslint --fix --config ../../../.eslintrc ./src/types/permitted-structures.ts", | ||
"schema:attributes": "json2ts ./schemas/attributes.schema.json --cwd ./schemas > ./src/types/attributes.ts; prettier --write ./src/types/attributes.ts; eslint --fix --config ../../../.eslintrc ./src/types/attributes.ts", | ||
@@ -26,3 +26,3 @@ "schema:aria": "json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts; prettier --write ./src/types/aria.ts; eslint --fix --config ../../../.eslintrc ./src/types/aria.ts", | ||
"dependencies": { | ||
"@markuplint/ml-ast": "3.0.0-dev.51+3b7ed6eb", | ||
"@markuplint/ml-ast": "3.0.0-dev.54+329808d5", | ||
"dom-accessibility-api": "^0.5.14", | ||
@@ -33,6 +33,6 @@ "tslib": "^2.4.1" | ||
"@markuplint/test-tools": "3.0.0-rc.0", | ||
"@markuplint/types": "3.0.0-dev.51+3b7ed6eb", | ||
"@markuplint/types": "3.0.0-dev.54+329808d5", | ||
"json-schema-to-typescript": "^11.0.2" | ||
}, | ||
"gitHead": "3b7ed6eb7b92282165a191b63d8b5d2810cded2a" | ||
"gitHead": "329808d50ff8875e24031f692a0504d00b72c4f8" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
129114
2993