UNPKG

@wepublish/api

Version:
19 lines 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GraphQLSubscriptionPeriod = void 0; const graphql_1 = require("graphql"); const graphql_scalars_1 = require("graphql-scalars"); const memberPlan_1 = require("./memberPlan"); exports.GraphQLSubscriptionPeriod = new graphql_1.GraphQLObjectType({ name: 'SubscriptionPeriod', fields: { id: { type: new graphql_1.GraphQLNonNull(graphql_1.GraphQLID) }, invoiceID: { type: new graphql_1.GraphQLNonNull(graphql_1.GraphQLID) }, amount: { type: new graphql_1.GraphQLNonNull(graphql_1.GraphQLInt) }, createdAt: { type: new graphql_1.GraphQLNonNull(graphql_scalars_1.GraphQLDateTime) }, startsAt: { type: new graphql_1.GraphQLNonNull(graphql_scalars_1.GraphQLDateTime) }, endsAt: { type: new graphql_1.GraphQLNonNull(graphql_scalars_1.GraphQLDateTime) }, paymentPeriodicity: { type: new graphql_1.GraphQLNonNull(memberPlan_1.GraphQLPaymentPeriodicity) } } }); //# sourceMappingURL=subscriptionPeriods.js.map