stuf-gemma
Version:
Generated typings for various StUF BG 3.10 messages
114 lines • 3.13 kB
TypeScript
export type actuateType = keyof typeof actuateType;
export declare const actuateType: Readonly<{
onLoad: "onLoad";
onRequest: "onRequest";
other: "other";
none: "none";
}>;
type ArcProxyType = {};
export type arcroleType = string;
export type arcType = {
actuate: actuateType;
arcrole: string;
from: string;
show: showType;
title: string;
to: string;
type: typeType;
title?: TitleProxyType[];
};
/** Intended for use as the type of user-declared elements to make them
* extended links.
* Note that the elements referenced in the content model are all abstract.
* The intention is that by simply declaring elements with these as their
* substitutionGroup, all the right things will happen. */
export type extended = {
role: string;
title: string;
type: typeType;
arc?: ArcProxyType[];
locator?: LocatorProxyType[];
resource?: ResourceProxyType[];
title?: TitleProxyType[];
};
export type fromType = string;
export type hrefType = string;
export type labelType = string;
type LocatorProxyType = {};
export type locatorType = {
href: string;
label: string;
role: string;
title: string;
type: typeType;
title?: TitleProxyType[];
};
type ResourceProxyType = {};
export type resourceType = {
label: string;
role: string;
title: string;
type: typeType;
};
export type roleType = string;
export type showType = keyof typeof showType;
export declare const showType: Readonly<{
new: "new";
replace: "replace";
embed: "embed";
other: "other";
none: "none";
}>;
/** Intended for use as the type of user-declared elements to make them
* simple links. */
export type simple = {
actuate: actuateType;
arcrole: string;
href: string;
role: string;
show: showType;
title: string;
type: typeType;
};
export type titleAttrType = string;
export type titleEltType = {
/** lang (as an attribute name)
*
* denotes an attribute whose value
* is a language code for the natural language of the content of
* any element; its value is inherited. This name is reserved
* by virtue of its definition in the XML specification.
*
* Notes
*
* Attempting to install the relevant ISO 2- and 3-letter
* codes as the enumerated possible values is probably never
* going to be a realistic possibility.
*
* See BCP 47 at
* http://www.rfc-editor.org/rfc/bcp/bcp47.txt
* and the IANA language subtag registry at
*
* http://www.iana.org/assignments/language-subtag-registry
* for further information.
*
* The union allows for the 'un-declaration' of xml:lang with
* the empty string. */
lang: string;
type: typeType;
};
type TitleProxyType = {};
export type toType = string;
export type typeType = keyof typeof typeType;
export declare const typeType: Readonly<{
simple: "simple";
extended: "extended";
title: "title";
resource: "resource";
locator: "locator";
arc: "arc";
}>;
export interface document {
}
export {};
//# sourceMappingURL=_1999_xlink.d.ts.map