stacker.news/api/typeDefs/index.js

37 lines
772 B
JavaScript
Raw Normal View History

import { gql } from 'graphql-tag'
2021-03-25 19:29:24 +00:00
import user from './user'
import message from './message'
2021-04-12 18:05:09 +00:00
import item from './item'
2021-04-30 21:42:51 +00:00
import wallet from './wallet'
2021-06-27 03:09:39 +00:00
import lnurl from './lnurl'
2021-08-17 18:15:24 +00:00
import notifications from './notifications'
2021-10-12 23:49:04 +00:00
import invite from './invite'
2022-02-17 17:23:43 +00:00
import sub from './sub'
2022-05-12 18:44:21 +00:00
import upload from './upload'
2022-06-10 19:20:33 +00:00
import growth from './growth'
2022-12-08 00:04:02 +00:00
import rewards from './rewards'
2022-12-19 22:27:52 +00:00
import referrals from './referrals'
import price from './price'
2023-06-20 01:26:34 +00:00
import admin from './admin'
2021-03-25 19:29:24 +00:00
2023-07-27 00:18:42 +00:00
const common = gql`
2021-03-25 19:29:24 +00:00
type Query {
_: Boolean
}
type Mutation {
_: Boolean
}
type Subscription {
_: Boolean
}
2023-07-27 00:18:42 +00:00
scalar JSONObject
scalar Date
2021-03-25 19:29:24 +00:00
`
2023-07-27 00:18:42 +00:00
export default [common, user, item, message, wallet, lnurl, notifications, invite,
2023-06-20 01:26:34 +00:00
sub, upload, growth, rewards, referrals, price, admin]