DbSchema: {
    format: string;
    indexes: {
        primary: {
            hash: string;
            sort: string;
        };
    };
    models: {
        Membership: {
            from: {
                required: true;
                type: NumberConstructor;
            };
            Id: {
                required: true;
                type: StringConstructor;
                value: "${userId}";
            };
            roomId: {
                required: true;
                type: StringConstructor;
            };
            Sort: {
                required: true;
                type: StringConstructor;
                value: "membership:${roomId}:${from}";
            };
            status: {
                enum: readonly [None, Joined, PendingInvite, PendingApproval, Revoked];
                required: true;
                type: StringConstructor;
            };
            until: {
                type: NumberConstructor;
            };
            userId: {
                required: true;
                type: StringConstructor;
            };
        };
        Message: {
            authorId: {
                required: true;
                type: StringConstructor;
            };
            content: {
                required: true;
                type: StringConstructor;
            };
            Id: {
                required: true;
                type: StringConstructor;
                value: "${roomId}";
            };
            recipientId: {
                type: StringConstructor;
            };
            roomId: {
                required: true;
                type: StringConstructor;
            };
            Sort: {
                required: true;
                type: StringConstructor;
                value: "message:${uuid}";
            };
            time: {
                required: true;
                type: NumberConstructor;
            };
            updatedEntities: {
                type: ArrayConstructor;
            };
            uuid: {
                generate: "ulid";
                required: true;
                type: StringConstructor;
            };
        };
        Room: {
            contentPolicy: {
                enum: readonly [Public, Private];
                required: true;
                type: StringConstructor;
            };
            Id: {
                required: true;
                type: StringConstructor;
                value: "room:${uuid}";
            };
            joinPolicy: {
                enum: readonly [Anyone, Request, Invite];
                required: true;
                type: StringConstructor;
            };
            name: {
                required: true;
                type: StringConstructor;
            };
            ownerId: {
                required: true;
                type: StringConstructor;
            };
            Sort: {
                required: true;
                type: StringConstructor;
                value: "room";
            };
            uuid: {
                generate: "ulid";
                required: true;
                type: StringConstructor;
            };
        };
        User: {
            email: {
                required: true;
                type: StringConstructor;
                unique: true;
            };
            Id: {
                required: true;
                type: StringConstructor;
                value: "user:${sub}";
            };
            name: {
                required: true;
                type: StringConstructor;
            };
            picture: {
                type: StringConstructor;
            };
            Sort: {
                required: true;
                type: StringConstructor;
                value: "user";
            };
            sub: {
                required: true;
                type: StringConstructor;
            };
        };
    };
    params: {
        timestamps: boolean;
    };
    version: string;
} = ...