Type alias MakeSchemaFrom<S>

MakeSchemaFrom<S>: ((schema_obj: {
    [key: string]: any;
} & {
    type: S["type"];
}) => S)

Type Parameters

Type declaration

    • (schema_obj: {
          [key: string]: any;
      } & {
          type: S["type"];
      }): S
    • create a schema class instance based off of a simple javascript object

      Parameters

      • schema_obj: {
            [key: string]: any;
        } & {
            type: S["type"];
        }

      Returns S

Generated using TypeDoc