UNPKG

@dodi-smart/ttlock-graphql-api

Version:
28 lines 837 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const builder_1 = require("../builder"); builder_1.builder.objectType('TTLockResponse', { fields: (t) => ({ errcode: t.exposeInt('errcode', { description: 'Error code', nullable: true }), errmsg: t.exposeString('errmsg', { description: 'Error message', nullable: true }) }) }); builder_1.builder.objectType('TTLockPasscodeResponse', { fields: (t) => ({ keyboardPwd: t.exposeString('keyboardPwd', { description: 'Passcode', nullable: true }), keyboardPwdId: t.exposeInt('keyboardPwdId', { description: 'Passcode ID', nullable: true }) }) }); //# sourceMappingURL=ttlock-response.js.map