Vana SDK - v2.2.2
    Preparing search index...

    Interface CreateSchemaParams

    Parameters for creating a new schema with automatic IPFS upload.

    This interface is used with the high-level schemas.create() method which automatically uploads the schema definition to IPFS and registers it on-chain.

    interface CreateSchemaParams {
        name: string;
        dialect: "json" | "sqlite";
        schema: string | object;
    }
    Index

    Properties

    Properties

    name: string

    The name of the schema

    dialect: "json" | "sqlite"

    The dialect of the schema (e.g., 'json' or 'sqlite')

    schema: string | object

    The schema definition object or JSON string