stacker.news/api/typeDefs/lnurl.js

20 lines
293 B
JavaScript
Raw Normal View History

2021-06-27 03:18:32 +00:00
import { gql } from 'apollo-server-micro'
export default gql`
extend type Query {
lnAuth(k1: String!): LnAuth!
}
extend type Mutation {
createAuth: LnAuth!
}
type LnAuth {
id: ID!
createdAt: String!
k1: String!
pubkey: String
encodedUrl: String!
}
`