GHHG10's picture
download
raw
634 Bytes
export * as IntegrationConnection from "./connection"
import { Schema } from "effect"
import { Credential } from "../credential"
export class CredentialInfo extends Schema.Class<CredentialInfo>("Connection.CredentialInfo")({
type: Schema.Literal("credential"),
id: Credential.ID,
label: Schema.String,
}) {}
export class EnvInfo extends Schema.Class<EnvInfo>("Connection.EnvInfo")({
type: Schema.Literal("env"),
name: Schema.String,
}) {}
export const Info = Schema.Union([CredentialInfo, EnvInfo])
.pipe(Schema.toTaggedUnion("type"))
.annotate({ identifier: "Connection.Info" })
export type Info = typeof Info.Type

Xet Storage Details

Size:
634 Bytes
·
Xet hash:
d650f1d992a463a41f06f6a5f480964e8fa3802a1186d6abf566cfa901c69673

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