Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
39989eb481 | |||
b13bd6a85e |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@thream/api",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@thream/api",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@prisma/client": "3.12.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thream/api",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Thream's application programming interface to stay close with your friends and communities.",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
@ -8,10 +8,10 @@ export const themes = [Type.Literal('light'), Type.Literal('dark')]
|
||||
|
||||
export const userSettingsSchema = {
|
||||
id,
|
||||
language: Type.Union(languages, { default: 'en' }),
|
||||
theme: Type.Union(themes, { default: 'dark' }),
|
||||
isPublicEmail: Type.Boolean({ default: false }),
|
||||
isPublicGuilds: Type.Boolean({ default: false }),
|
||||
language: Type.Union(languages),
|
||||
theme: Type.Union(themes),
|
||||
isPublicEmail: Type.Boolean(),
|
||||
isPublicGuilds: Type.Boolean(),
|
||||
createdAt: date.createdAt,
|
||||
updatedAt: date.updatedAt,
|
||||
userId: id
|
||||
|
Reference in New Issue
Block a user