UNPKG

@upstart.gg/sdk

Version:

You can test the CLI without recompiling by running:

18 lines (16 loc) 573 B
import { StringEnum } from "../../../../utils/string-enum.js"; import { buildOAuthConfigSchema } from "../../../../oauth.js"; import { Type } from "@sinclair/typebox"; //#region src/shared/datasources/external/meta/oauth/config.ts const metaOAuthConfig = Type.Object({ type: StringEnum(["short-lived", "long-lived"]), accessToken: Type.String(), userId: Type.String(), permissions: Type.Array(Type.String()), expiresIn: Type.Number(), tokenType: Type.String() }); buildOAuthConfigSchema(metaOAuthConfig); //#endregion export { }; //# sourceMappingURL=config.js.map