{
  "id": "@typed/ui/index#Form.InitialState",
  "canonicalId": "@typed/ui/Form#InitialState",
  "symbol": {
    "id": "@typed/ui/index#Form.InitialState",
    "packageName": "@typed/ui",
    "moduleName": "index",
    "exportName": "Form.InitialState",
    "kind": "interface",
    "signatures": [
      "export interface InitialState<Values extends object> {\n    readonly id?: string;\n    readonly values: Values;\n    readonly defaultValues?: Values;\n    readonly errors?: Partial<Record<keyof Values & string, string>>;\n    readonly meta?: Partial<Record<keyof Values & string, FieldMeta>>;\n    readonly submitting?: boolean;\n}"
    ],
    "summary": "Input used to construct a hydrated form state.",
    "sections": {
      "Property: defaultValues": "Exact reset-baseline reference; defaults to the same object as `values`.",
      "Property: errors": "Optional initial validation messages.",
      "Property: id": "Stable relationship/hydration id; provide it for deterministic SSR.",
      "Property: meta": "Optional initial field metadata.",
      "Property: submitting": "Whether validation or the returned submit Effect is running.",
      "Property: values": "Initial decoded values."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/ui/src/Form.ts",
      "line": 102
    },
    "since": "1.0.0",
    "category": "State models"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/ui/index#Form.InitialState",
    "packageName": "@typed/ui",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "index",
    "consumerSpecifier": "@typed/ui/index",
    "exportName": "Form",
    "qualifiedName": "Form.InitialState",
    "declarationKey": "declaration:19452f5572727dbd0fe6f856",
    "family": "interface",
    "signatures": [
      "export interface InitialState<Values extends object> {\n    readonly id?: string;\n    readonly values: Values;\n    readonly defaultValues?: Values;\n    readonly errors?: Partial<Record<keyof Values & string, string>>;\n    readonly meta?: Partial<Record<keyof Values & string, FieldMeta>>;\n    readonly submitting?: boolean;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 102,
          "column": 1
        },
        "end": {
          "line": 127,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 114,
          "column": 3
        },
        "end": {
          "line": 114,
          "column": 35
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 118,
          "column": 3
        },
        "end": {
          "line": 118,
          "column": 68
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 106,
          "column": 3
        },
        "end": {
          "line": 106,
          "column": 24
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 122,
          "column": 3
        },
        "end": {
          "line": 122,
          "column": 69
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 126,
          "column": 3
        },
        "end": {
          "line": 126,
          "column": 33
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 110,
          "column": 3
        },
        "end": {
          "line": 110,
          "column": 27
        }
      }
    ],
    "aliases": [
      "@typed/ui#Form.InitialState",
      "@typed/ui/Form#InitialState"
    ],
    "isAlias": true,
    "parentId": "@typed/ui/index#Form",
    "static": false,
    "importedFrom": "declaration:19452f5572727dbd0fe6f856"
  },
  "declaration": {
    "declarationKey": "declaration:19452f5572727dbd0fe6f856",
    "name": "InitialState",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface InitialState<Values extends object> {\n    readonly id?: string;\n    readonly values: Values;\n    readonly defaultValues?: Values;\n    readonly errors?: Partial<Record<keyof Values & string, string>>;\n    readonly meta?: Partial<Record<keyof Values & string, FieldMeta>>;\n    readonly submitting?: boolean;\n}"
        ],
        "typeParameters": [
          "Values extends object"
        ],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 102,
              "column": 1
            },
            "end": {
              "line": 127,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly defaultValues?: Values;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 114,
              "column": 3
            },
            "end": {
              "line": 114,
              "column": 35
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly errors?: Partial<Record<keyof Values & string, string>>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 118,
              "column": 3
            },
            "end": {
              "line": 118,
              "column": 68
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly id?: string;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 106,
              "column": 3
            },
            "end": {
              "line": 106,
              "column": 24
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly meta?: Partial<Record<keyof Values & string, FieldMeta>>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 122,
              "column": 3
            },
            "end": {
              "line": 122,
              "column": 69
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly submitting?: boolean;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 126,
              "column": 3
            },
            "end": {
              "line": 126,
              "column": 33
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly values: Values;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/ui/src/Form.ts",
            "start": {
              "line": 110,
              "column": 3
            },
            "end": {
              "line": 110,
              "column": 27
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface InitialState<Values extends object> {\n    readonly id?: string;\n    readonly values: Values;\n    readonly defaultValues?: Values;\n    readonly errors?: Partial<Record<keyof Values & string, string>>;\n    readonly meta?: Partial<Record<keyof Values & string, FieldMeta>>;\n    readonly submitting?: boolean;\n}"
    ],
    "typeParameters": [
      "Values extends object"
    ],
    "summary": "Input used to construct a hydrated form state.",
    "sections": {
      "Property: defaultValues": "Exact reset-baseline reference; defaults to the same object as `values`.",
      "Property: errors": "Optional initial validation messages.",
      "Property: id": "Stable relationship/hydration id; provide it for deterministic SSR.",
      "Property: meta": "Optional initial field metadata.",
      "Property: submitting": "Whether validation or the returned submit Effect is running.",
      "Property: values": "Initial decoded values."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 102,
          "column": 1
        },
        "end": {
          "line": 127,
          "column": 2
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 114,
          "column": 3
        },
        "end": {
          "line": 114,
          "column": 35
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 118,
          "column": 3
        },
        "end": {
          "line": 118,
          "column": 68
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 106,
          "column": 3
        },
        "end": {
          "line": 106,
          "column": 24
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 122,
          "column": 3
        },
        "end": {
          "line": 122,
          "column": 69
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 126,
          "column": 3
        },
        "end": {
          "line": 126,
          "column": 33
        }
      },
      {
        "file": "packages/ui/src/Form.ts",
        "start": {
          "line": 110,
          "column": 3
        },
        "end": {
          "line": 110,
          "column": 27
        }
      }
    ],
    "since": "1.0.0",
    "category": "State models"
  }
}
