GHHG10's picture
download
raw
598 Bytes
import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core"
import { Timestamps } from "../database/schema.sql"
import type { IntegrationSchema } from "../integration/schema"
import type { Credential } from "../credential"
export const CredentialTable = sqliteTable("credential", {
id: text().$type<Credential.ID>().primaryKey(),
integration_id: text().$type<IntegrationSchema.ID>(),
label: text().notNull(),
value: text({ mode: "json" }).$type<Credential.Info>().notNull(),
connector_id: text(),
method_id: text(),
active: integer({ mode: "boolean" }),
...Timestamps,
})

Xet Storage Details

Size:
598 Bytes
·
Xet hash:
b96d057e8dbb0ee8a68d44e9d28c74fde42904a5042ee00391ceea10cf7f840b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.