UNPKG

realm-object-server

Version:

Realm Object Server

24 lines 769 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const RealmFactory_1 = require("../RealmFactory"); const realmUtil_1 = require("../shared/realmUtil"); class TokenRevocation extends realmUtil_1.BaseRealmClass { } TokenRevocation.schema = { name: "TokenRevocation", primaryKey: "token", properties: { expires: { type: "date", optional: true }, revoked: { type: "date", optional: true }, token: { type: "string", optional: false }, } }; exports.TokenRevocation = TokenRevocation; exports.TokenRevocationRealm = { remotePath: "/__revocation", syncLabel: "default", schema: [ RealmFactory_1.createRealmSchema(TokenRevocation), ], }; //# sourceMappingURL=TokenRevocationRealm.js.map