UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

55 lines 1.86 kB
import { UiText } from './UiText'; /** * * @export * @interface UiNodeTextAttributes */ export interface UiNodeTextAttributes { /** * A unique identifier * @type {string} * @memberof UiNodeTextAttributes */ id: string; /** * NodeType represents this node's types. It is a mirror of `node.type` and * is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "text". * text Text * input Input * img Image * a Anchor * script Script * div Division * @type {string} * @memberof UiNodeTextAttributes */ node_type: UiNodeTextAttributesNodeTypeEnum; /** * * @type {UiText} * @memberof UiNodeTextAttributes */ text: UiText; } /** * @export */ export declare const UiNodeTextAttributesNodeTypeEnum: { readonly Text: "text"; readonly Input: "input"; readonly Img: "img"; readonly A: "a"; readonly Script: "script"; readonly Div: "div"; readonly UnknownDefaultOpenApi: "11184809"; }; export type UiNodeTextAttributesNodeTypeEnum = typeof UiNodeTextAttributesNodeTypeEnum[keyof typeof UiNodeTextAttributesNodeTypeEnum]; /** * Check if a given object implements the UiNodeTextAttributes interface. */ export declare function instanceOfUiNodeTextAttributes(value: object): value is UiNodeTextAttributes; export declare function UiNodeTextAttributesFromJSON(json: any): UiNodeTextAttributes; export declare function UiNodeTextAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiNodeTextAttributes; export declare function UiNodeTextAttributesToJSON(json: any): UiNodeTextAttributes; export declare function UiNodeTextAttributesToJSONTyped(value?: UiNodeTextAttributes | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=UiNodeTextAttributes.d.ts.map