Variable: createProjectExtension
const createProjectExtension: (attributes: {
[qualifiedName: `${string}:${string}`]: string | undefined;
}, content:
| ProjectExtension$Children
| (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| Project_Element
| ExtensionSchema)[]) => ProjectExtension & {
all: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => ProjectExtension[];
descendants: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => ProjectExtension[];
elementName: string;
from: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) =>
| ProjectExtension
| undefined;
is: (element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => element is ProjectExtension;
namespaceURI: string;
} & {
defaults: Partial<{
[qualifiedName: `${string}:${string}`]: string | undefined;
}>;
read(element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}):
| {
attributes: {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
children: {
ExtensionSchema: | ExtensionSchema
| undefined;
Project: Project_Element;
};
}
| undefined;
update(element: ProjectExtension, attributes: Partial<E["attributes"]>, changes: Partial<F>): ProjectExtension;
};
Create/read the XML ProjectExtension element. Named children follow XSD order and occurrence constraints.
Type Declaration
all
all: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => ProjectExtension[];
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
descendants
descendants: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => ProjectExtension[];
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
elementName
elementName: string = definition.name;
from
from: (parent?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) =>
| ProjectExtension
| undefined;
Parameters
parent?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
| ProjectExtension
| undefined
is
is: (element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}) => element is ProjectExtension;
Parameters
element?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, ... | ...> & {
[qualifiedName: `${(...)}:${(...)}`]: ... | ...;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
element is ProjectExtension
namespaceURI
namespaceURI: string = definition.namespaceURI;
defaults
defaults: Partial<{
[qualifiedName: `${string}:${string}`]: string | undefined;
}>;
read()
read(element?: {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
}):
| {
attributes: {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
children: {
ExtensionSchema: | ExtensionSchema
| undefined;
Project: Project_Element;
};
}
| undefined;
Parameters
element?
attributes
Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
}
content
(
| string
| {
kind: "comment";
value: string;
}
| {
kind: "instruction";
target: string;
value: string;
}
| {
attributes: Record<string, string | undefined> & {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
content: (string | XmlComment | XmlInstruction | GenericElement)[];
name: string;
namespaces?: Record<string, string>;
namespaceURI: string;
prefix?: string;
})[]
name
string
namespaces?
Record<string, string>
namespaceURI
string
prefix?
string
Returns
| {
attributes: {
[qualifiedName: `${string}:${string}`]: string | undefined;
};
children: {
ExtensionSchema: | ExtensionSchema
| undefined;
Project: Project_Element;
};
}
| undefined
update()
update(
element: ProjectExtension,
attributes: Partial<E["attributes"]>,
changes: Partial<F>
): ProjectExtension;
Parameters
element
attributes
Partial<E["attributes"]>
changes
Partial<F>