@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
62 lines • 2.84 kB
JavaScript
;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FetchSetting = void 0;
const ta_json_1 = require("ta-json");
let FetchSetting = class FetchSetting {
};
exports.FetchSetting = FetchSetting;
__decorate([
(0, ta_json_1.JsonProperty)("file_provider_name"),
__metadata("design:type", String)
], FetchSetting.prototype, "fileProviderName", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("location_name"),
__metadata("design:type", String)
], FetchSetting.prototype, "locationName", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("allowed_types"),
(0, ta_json_1.JsonElementType)(String),
__metadata("design:type", Array)
], FetchSetting.prototype, "allowedTypes", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("allowed_web_locations"),
(0, ta_json_1.JsonElementType)(String),
__metadata("design:type", Array)
], FetchSetting.prototype, "allowedWebLocations", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("allowed_file_locations"),
(0, ta_json_1.JsonElementType)(String),
__metadata("design:type", Array)
], FetchSetting.prototype, "allowedFileLocations", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("allowed_azure_locations"),
(0, ta_json_1.JsonElementType)(String),
__metadata("design:type", Array)
], FetchSetting.prototype, "allowedAzureLocations", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("allowed_extensions"),
(0, ta_json_1.JsonElementType)(String),
__metadata("design:type", Array)
], FetchSetting.prototype, "allowedExtensions", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("disallowed_extensions"),
(0, ta_json_1.JsonElementType)(String),
__metadata("design:type", Array)
], FetchSetting.prototype, "disallowedExtensions", void 0);
__decorate([
(0, ta_json_1.JsonProperty)("delete_when_done"),
__metadata("design:type", Object)
], FetchSetting.prototype, "deleteWhenDone", void 0);
exports.FetchSetting = FetchSetting = __decorate([
(0, ta_json_1.JsonObject)()
], FetchSetting);
//# sourceMappingURL=fetch-setting.js.map