SimpleNodeSchemaBaseAlpha Interface
A SimpleNodeSchema containing fields for alpha features.
For more information about our API support guarantees, see here.
This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.
Signature
/** @sealed */
export interface SimpleNodeSchemaBaseAlpha<out TNodeKind extends NodeKind, out TCustomMetadata = unknown> extends SimpleNodeSchemaBase<TNodeKind, TCustomMetadata>
Extends: SimpleNodeSchemaBase<TNodeKind, TCustomMetadata>
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
TNodeKind | NodeKind | ||
TCustomMetadata | unknown |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
persistedMetadata | Alpha |
readonly |
JsonCompatibleReadOnlyObject | undefined | Persisted metadata for this node schema. |
Property Details
persistedMetadata
Persisted metadata for this node schema.
For more information about our API support guarantees, see here.
Signature
readonly persistedMetadata: JsonCompatibleReadOnlyObject | undefined;
Type: JsonCompatibleReadOnlyObject | undefined
Remarks
While this can be stored in the document, not all versions / configurations will do so. Additionally, this is not part of schema compatibility, so different clients (even within the same collaborative session) may see different persistedMetadata
for the same node. Specified using persistedMetadata.