@sketch-hq/sketch-assistant-types
Advanced tools
Comparing version 6.3.1 to 6.4.0-rc.0
# @sketch-hq/sketch-assistant-types | ||
## 6.4.0-rc.0 | ||
### Minor Changes | ||
- dd91ad8: Updated dependencies | ||
- c857d5c: Updated dependencies | ||
### Patch Changes | ||
- 80e6f01: Updated dependencies, including migration to `@sketch-hq/sketch-file` | ||
## 6.3.1 | ||
@@ -4,0 +15,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { FileFormat3 } from '@sketch-hq/sketch-file-format-ts'; | ||
import FileFormat from '@sketch-hq/sketch-file-format-ts'; | ||
import { JSONSchema7 } from 'json-schema'; | ||
@@ -7,3 +7,3 @@ import { CoreProperties as PackageJson } from '@schemastore/package'; | ||
*/ | ||
export { FileFormat3 as FileFormat }; | ||
export { FileFormat as FileFormat }; | ||
/** | ||
@@ -62,3 +62,3 @@ * Optional value. | ||
filepath: string; | ||
contents: FileFormat3.Contents; | ||
contents: FileFormat.Contents; | ||
}; | ||
@@ -68,3 +68,3 @@ /** | ||
*/ | ||
export declare type DocumentObject = FileFormat3.Contents['document']; | ||
export declare type DocumentObject = FileFormat.Contents['document']; | ||
/** | ||
@@ -74,3 +74,3 @@ * Union of all possible objects in a parsed Sketch file that have a `_class` property, including | ||
*/ | ||
export declare type SketchFileObject = FileFormat3.AnyObject | DocumentObject; | ||
export declare type SketchFileObject = FileFormat.AnyObject | DocumentObject; | ||
/** | ||
@@ -90,6 +90,6 @@ * Look-up a pointer value using a Sketch file object reference. | ||
export declare type ObjectCache = { | ||
[key in keyof FileFormat3.ClassMap]: FileFormat3.ClassMap[key][]; | ||
[key in keyof FileFormat.ClassMap]: FileFormat.ClassMap[key][]; | ||
} & { | ||
anyGroup: FileFormat3.AnyGroup[]; | ||
anyLayer: FileFormat3.AnyLayer[]; | ||
anyGroup: FileFormat.AnyGroup[]; | ||
anyLayer: FileFormat.AnyLayer[]; | ||
document: DocumentObject[]; | ||
@@ -471,15 +471,15 @@ }; | ||
*/ | ||
styleEq: (s1: FileFormat3.Style | undefined, s2: FileFormat3.Style | undefined) => boolean; | ||
styleEq: (s1: FileFormat.Style | undefined, s2: FileFormat.Style | undefined) => boolean; | ||
/** | ||
* Compares two text style objects for equality. | ||
*/ | ||
textStyleEq: (s1: FileFormat3.Style | undefined, s2: FileFormat3.Style | undefined) => boolean; | ||
textStyleEq: (s1: FileFormat.Style | undefined, s2: FileFormat.Style | undefined) => boolean; | ||
/** | ||
* Reduces a text style object into a string hash and returns it. | ||
*/ | ||
textStyleHash: (style: Partial<FileFormat3.Style> | undefined) => string; | ||
textStyleHash: (style: Partial<FileFormat.Style> | undefined) => string; | ||
/** | ||
* Reduces a style object into a string hash and returns it. | ||
*/ | ||
styleHash: (style: Partial<FileFormat3.Style> | undefined) => string; | ||
styleHash: (style: Partial<FileFormat.Style> | undefined) => string; | ||
}; | ||
@@ -486,0 +486,0 @@ /** |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const sketch_file_format_ts_1 = require("@sketch-hq/sketch-file-format-ts"); | ||
exports.FileFormat = sketch_file_format_ts_1.FileFormat3; | ||
exports.ReservedRuleOptionNames = exports.AssistantRuntime = exports.ViolationSeverity = exports.FileFormat = void 0; | ||
const sketch_file_format_ts_1 = __importDefault(require("@sketch-hq/sketch-file-format-ts")); | ||
exports.FileFormat = sketch_file_format_ts_1.default; | ||
/** | ||
@@ -6,0 +10,0 @@ * Define the possible violation severity levels. |
{ | ||
"name": "@sketch-hq/sketch-assistant-types", | ||
"version": "6.3.1", | ||
"version": "6.4.0-rc.0", | ||
"main": "dist/types", | ||
@@ -25,5 +25,5 @@ "types": "dist/types", | ||
"@schemastore/package": "0.0.6", | ||
"@sketch-hq/sketch-file-format-ts": "5.2.1", | ||
"@types/json-schema": "7.0.6" | ||
"@sketch-hq/sketch-file-format-ts": "6.0.3", | ||
"@types/json-schema": "7.0.7" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
45991
864
2
+ Added@sketch-hq/sketch-file-format-ts@6.0.3(transitive)
+ Added@types/json-schema@7.0.7(transitive)
- Removed@sketch-hq/sketch-file-format-ts@5.2.1(transitive)
- Removed@types/json-schema@7.0.6(transitive)
Updated@types/json-schema@7.0.7