deno.land / x / netzo@0.5.16 / plugins / types.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// NOTE: avoid importing from @netzo/api package which bloats bundle
export type User = { _id: string; auth0Id?: string; profile?: { sub: string; nickname: string; name: string; picture: string; updated_at: string; email: string; email_verified: boolean; }; email: string; // normalized profile.email for UI name: string; avatar: string; roles?: Record<string, "owner" | "admin" | "developer" | "user">; // populated in external resolver createdAt: string; updatedAt: string; deletedAt: "" | string;};
export type Project = { _id: string; workspaceId: string; uid: string; name: string; description: string; labels: string[]; avatar: string; markdown: string; userIds: string[]; denoProductionDeploymentId: string; denoLatestDeploymentId: string; apiKeyId: string; env: { development: Record<string, string | { _id: string }>; // preview: Record<string, string | { _id: string }>; // TODO: once preview envs land in DD (see production: Record<string, string | { _id: string }>; }; envVars?: { development: Record<string, string>; // preview: Record<string, string>; production: Record<string, string>; }; [k: string]: unknown;};
netzo

Version Info

Tagged at
3 weeks ago