Practic Passkey - v1.0.0
    Preparing search index...

    Function readRecord

    • Check a stored record against its schema. A record that fails was edited into a shape the server cannot use, which is the server's error, not the request's.

      Type Parameters

      • Schema extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

      Parameters

      • schema: Schema

        What the record must be.

      • record: StorageRecord

        Record as the engine returned it.

      Returns output<Schema>