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