
# Conflicts: # src/components/Feed/Row3.tsx # src/components/Nav/AuthModal/EmailConfirm.tsx # src/components/Nav/AuthModal/ForgotPasswordForm.tsx # src/components/Nav/AuthModal/LoginForm.tsx # src/components/Nav/AuthModal/RegisterForm.tsx # src/components/Nav/AuthModal/index.tsx # src/components/Nav/Header.tsx # src/components/Nav/Modal.tsx # src/components/Nav/Popup.tsx # src/components/Nav/Private.tsx # src/components/Root.tsx # src/components/Topic/Card.tsx # src/components/Views/AllAuthors.tsx # src/components/Views/Author.tsx # src/components/Views/Home.tsx # src/components/Views/Topic.tsx # src/graphql/mutation/auth-confirm-email.ts # src/locales/ru.json # src/pages/welcome.astro # src/stores/auth.ts # src/stores/ui.ts # src/stores/zine/authors.ts # src/utils/apiClient.ts # src/utils/config.ts
20 lines
504 B
TypeScript
20 lines
504 B
TypeScript
// in a separate file to avoid circular dependencies
|
|
import type { Author, Chat, Shout, Topic } from '../graphql/types.gen'
|
|
|
|
// all the things (she said) that could be passed from the server
|
|
export type PageProps = {
|
|
randomTopics?: Topic[]
|
|
article?: Shout
|
|
authorArticles?: Shout[]
|
|
topicArticles?: Shout[]
|
|
homeArticles?: Shout[]
|
|
author?: Author
|
|
allAuthors?: Author[]
|
|
topic?: Topic
|
|
allTopics?: Topic[]
|
|
searchQuery?: string
|
|
// other types?
|
|
searchResults?: Shout[]
|
|
chats?: Chat[]
|
|
}
|