* v1 * don't need to search DB for user * return early if no user * use one deleteMany to ensure only 1 credential * rm expiration * fix API request * proper type * Update packages/app-store/jelly/lib/VideoApiAdapter.ts Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> * Update packages/app-store/jelly/lib/VideoApiAdapter.ts Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> * Update packages/app-store/jelly/lib/VideoApiAdapter.ts Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> * Update packages/app-store/jelly/api/callback.ts Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> * Fix callback URL --------- Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com>
9 lines
182 B
TypeScript
9 lines
182 B
TypeScript
import { z } from "zod";
|
|
|
|
export const appDataSchema = z.object({});
|
|
|
|
export const appKeysSchema = z.object({
|
|
client_id: z.string().min(1),
|
|
client_secret: z.string().min(1),
|
|
});
|