feat(messages): add animations (#31)

This commit is contained in:
Walid
2022-08-31 20:44:33 +01:00
committed by GitHub
parent d51de554d6
commit cd164538de
98 changed files with 1133 additions and 551 deletions

View File

@ -1,4 +1,5 @@
import { Type, Static } from '@sinclair/typebox'
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import { date, id } from './utils'

View File

@ -1,4 +1,5 @@
import { Type, Static } from '@sinclair/typebox'
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import { channelSchema } from './Channel'
import { memberSchema } from './Member'

View File

@ -1,7 +1,8 @@
import { Type, Static } from '@sinclair/typebox'
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import { date, id } from './utils'
import { UserPublicWithoutSettings } from './User'
import type { UserPublicWithoutSettings } from './User'
export const memberSchema = {
id,

View File

@ -1,7 +1,8 @@
import { Type, Static } from '@sinclair/typebox'
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import { date, id } from './utils'
import { MemberWithPublicUser } from './Member'
import type { MemberWithPublicUser } from './Member'
export const types = [Type.Literal('text'), Type.Literal('file')]

View File

@ -5,12 +5,12 @@ import { date, id } from './utils'
export const providers = ['Google', 'GitHub', 'Discord'] as const
export const strategies = [...providers, 'Local'] as const
export const strategiesTypebox = strategies.map((strategy) =>
Type.Literal(strategy)
)
export const providersTypebox = providers.map((provider) =>
Type.Literal(provider)
)
export const strategiesTypebox = strategies.map((strategy) => {
return Type.Literal(strategy)
})
export const providersTypebox = providers.map((provider) => {
return Type.Literal(provider)
})
export type ProviderOAuth = typeof providers[number]
export type AuthenticationStrategy = typeof strategies[number]

View File

@ -1,4 +1,5 @@
import { Static, Type } from '@sinclair/typebox'
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import { strategiesTypebox } from './OAuth'
import { userSettingsSchema } from './UserSettings'

View File

@ -1,4 +1,5 @@
import { Type, Static } from '@sinclair/typebox'
import type { Static } from '@sinclair/typebox'
import { Type } from '@sinclair/typebox'
import { date, id } from './utils'