enonic-types
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -12,5 +12,3 @@ export declare interface Request { | ||
readonly body: string; | ||
readonly params: { | ||
readonly [key: string]: string | ReadonlyArray<string> | undefined; | ||
}; | ||
readonly params: Params; | ||
readonly headers: { | ||
@@ -38,2 +36,5 @@ readonly [key: string]: string | undefined; | ||
} | ||
export declare type Params = { | ||
readonly [key: string]: string | ReadonlyArray<string> | undefined; | ||
}; | ||
export interface MacroContext<A = never> { | ||
@@ -40,0 +41,0 @@ readonly name: string; |
import { ByteSource, Content, Site } from "./content"; | ||
import { Params } from "./controller"; | ||
export interface Component<A> { | ||
@@ -52,5 +53,3 @@ readonly path: string; | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -65,5 +64,3 @@ export interface ImagePlaceHolderParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -76,5 +73,3 @@ export interface AttachmentUrlParams { | ||
readonly download?: boolean; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
readonly type?: "server" | "absolute"; | ||
@@ -87,5 +82,3 @@ } | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -101,5 +94,3 @@ export interface ImageUrlParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -110,5 +101,3 @@ export interface PageUrlParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -120,5 +109,3 @@ export interface LoginUrlParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -129,5 +116,3 @@ export interface LogoutUrlParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -138,5 +123,3 @@ export interface ServiceUrlParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -146,5 +129,3 @@ export interface UrlParams { | ||
readonly type?: "server" | "absolute"; | ||
readonly params?: { | ||
readonly [key: string]: string; | ||
}; | ||
readonly params?: Params; | ||
} | ||
@@ -151,0 +132,0 @@ export interface ProcessHtmlParams { |
{ | ||
"name": "enonic-types", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"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
35119
963