UNPKG

@ragnaraven/zitadel-node-dual

Version:

Library for API access to ZITADEL with modern ES import syntax. Works everywhere - NestJS, Node.js, any TypeScript environment. No more require()!

66 lines 2.49 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var feature_exports = {}; __export(feature_exports, { InstanceFeature: () => InstanceFeature, instanceFeatureFromJSON: () => instanceFeatureFromJSON, instanceFeatureToJSON: () => instanceFeatureToJSON, protobufPackage: () => protobufPackage }); module.exports = __toCommonJS(feature_exports); const protobufPackage = "zitadel.feature.v1"; var InstanceFeature = /* @__PURE__ */ ((InstanceFeature2) => { InstanceFeature2[InstanceFeature2["INSTANCE_FEATURE_UNSPECIFIED"] = 0] = "INSTANCE_FEATURE_UNSPECIFIED"; InstanceFeature2[InstanceFeature2["INSTANCE_FEATURE_LOGIN_DEFAULT_ORG"] = 1] = "INSTANCE_FEATURE_LOGIN_DEFAULT_ORG"; InstanceFeature2[InstanceFeature2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; return InstanceFeature2; })(InstanceFeature || {}); function instanceFeatureFromJSON(object) { switch (object) { case 0: case "INSTANCE_FEATURE_UNSPECIFIED": return 0 /* INSTANCE_FEATURE_UNSPECIFIED */; case 1: case "INSTANCE_FEATURE_LOGIN_DEFAULT_ORG": return 1 /* INSTANCE_FEATURE_LOGIN_DEFAULT_ORG */; case -1: case "UNRECOGNIZED": default: return -1 /* UNRECOGNIZED */; } } function instanceFeatureToJSON(object) { switch (object) { case 0 /* INSTANCE_FEATURE_UNSPECIFIED */: return "INSTANCE_FEATURE_UNSPECIFIED"; case 1 /* INSTANCE_FEATURE_LOGIN_DEFAULT_ORG */: return "INSTANCE_FEATURE_LOGIN_DEFAULT_ORG"; case -1 /* UNRECOGNIZED */: default: return "UNRECOGNIZED"; } } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { InstanceFeature, instanceFeatureFromJSON, instanceFeatureToJSON, protobufPackage }); //# sourceMappingURL=feature.js.map