UNPKG

@dodi-smart/nuki-graphql-api

Version:
32 lines 1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const builder_1 = require("../builder"); builder_1.builder.objectType('NukiAccountProfile', { fields: (t) => ({ firstName: t.exposeString('firstName', { description: 'The first name', nullable: false }), lastName: t.exposeString('lastName', { description: 'The last name', nullable: false }), address: t.exposeString('address', { description: 'The address', nullable: false }), zip: t.exposeString('zip', { description: 'The zip or postal code', nullable: false }), city: t.exposeString('city', { description: 'The city', nullable: false }), country: t.exposeString('country', { description: 'The 2-letter country code', nullable: false }) }) }); //# sourceMappingURL=account-profile.js.map