enonic-types
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -174,4 +174,4 @@ import { Component } from "./portal"; | ||
export interface CreateMediaParams { | ||
readonly name?: string; | ||
readonly parentPath?: string; | ||
readonly name: string; | ||
readonly parentPath: string; | ||
readonly mimeType?: string; | ||
@@ -178,0 +178,0 @@ readonly focalX?: number; |
@@ -0,3 +1,11 @@ | ||
export interface ResourceKey { | ||
applicationKey: string; | ||
path: string; | ||
uri: string; | ||
root: boolean; | ||
name: string; | ||
extension: string; | ||
} | ||
export interface ThymeleafLibrary { | ||
render<A>(view: any, model?: A, options?: ThymeleafRenderOptions): string; | ||
render<A>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): string; | ||
} | ||
@@ -4,0 +12,0 @@ export interface ThymeleafRenderOptions { |
{ | ||
"name": "enonic-types", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -10,3 +10,4 @@ "main": "lib/index.js", | ||
"build": "npm run clean && tsc", | ||
"lint": "eslint --fix 'src/**/*.ts'" | ||
"lint": "eslint --fix 'src/**/*.ts'", | ||
"prepublish": "npm run lint && npm run build" | ||
}, | ||
@@ -27,6 +28,6 @@ "repository": { | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^2.7.0", | ||
"@typescript-eslint/parser": "^2.7.0", | ||
"eslint": "^6.6.0", | ||
"husky": "^3.0.9", | ||
"@typescript-eslint/eslint-plugin": "^2.8.0", | ||
"@typescript-eslint/parser": "^2.8.0", | ||
"eslint": "^6.7.1", | ||
"husky": "^3.1.0", | ||
"lint-staged": "^9.4.3", | ||
@@ -33,0 +34,0 @@ "rimraf": "^3.0.0", |
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
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
31797
878