enonic-types
Advanced tools
Comparing version 0.0.37 to 0.0.38
@@ -23,3 +23,3 @@ import { Region } from "./portal"; | ||
} | ||
export interface Content<A extends object = object, PageConfig extends object = object> { | ||
export interface Content<A extends object = object, PageConfig extends object = object, XData extends object = object> { | ||
readonly _id: string; | ||
@@ -40,3 +40,3 @@ readonly _name: string; | ||
readonly data: A; | ||
readonly x: Record<string, any>; | ||
readonly x: Record<string, Record<string, XData>>; | ||
readonly page: Page<PageConfig>; | ||
@@ -43,0 +43,0 @@ readonly attachments: Attachments; |
{ | ||
"name": "enonic-types", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
40062