UNPKG

weaviate-client

Version:
18 lines (17 loc) • 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const commandBase_js_1 = require("../validation/commandBase.js"); class TenantsGetter extends commandBase_js_1.CommandBase { className; constructor(client, className) { super(client); this.className = className; } validate = () => { // nothing to validate }; do = () => { return this.client.get(`/schema/${this.className}/tenants`); }; } exports.default = TenantsGetter;