@qubejs/cms-admin
Advanced tools
Comparing version 0.5.0-beta.13 to 0.5.0-next.1
@@ -0,1 +1,25 @@ | ||
/// <reference types="mongoose/types/aggregate" /> | ||
/// <reference types="mongoose/types/callback" /> | ||
/// <reference types="mongoose/types/collection" /> | ||
/// <reference types="mongoose/types/connection" /> | ||
/// <reference types="mongoose/types/cursor" /> | ||
/// <reference types="mongoose/types/document" /> | ||
/// <reference types="mongoose/types/error" /> | ||
/// <reference types="mongoose/types/expressions" /> | ||
/// <reference types="mongoose/types/helpers" /> | ||
/// <reference types="mongoose/types/middlewares" /> | ||
/// <reference types="mongoose/types/indexes" /> | ||
/// <reference types="mongoose/types/models" /> | ||
/// <reference types="mongoose/types/mongooseoptions" /> | ||
/// <reference types="mongoose/types/pipelinestage" /> | ||
/// <reference types="mongoose/types/populate" /> | ||
/// <reference types="mongoose/types/query" /> | ||
/// <reference types="mongoose/types/schemaoptions" /> | ||
/// <reference types="mongoose/types/schematypes" /> | ||
/// <reference types="mongoose/types/session" /> | ||
/// <reference types="mongoose/types/types" /> | ||
/// <reference types="mongoose/types/utility" /> | ||
/// <reference types="mongoose/types/validation" /> | ||
/// <reference types="mongoose/types/virtuals" /> | ||
/// <reference types="mongoose/types/inferschematype" /> | ||
import mongoose from 'mongoose'; | ||
@@ -2,0 +26,0 @@ declare const _default: { |
@@ -181,4 +181,4 @@ "use strict"; | ||
} | ||
search(payload, { sortBy = 'createdOn', sortDir = 'ASC', pageSize = 25, pageNo = 1 } = {}) { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
search(payload_1) { | ||
return tslib_1.__awaiter(this, arguments, void 0, function* (payload, { sortBy = 'createdOn', sortDir = 'ASC', pageSize = 25, pageNo = 1 } = {}) { | ||
pageSize = pageSize * 1; | ||
@@ -185,0 +185,0 @@ pageNo = pageNo * 1; |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import fs from 'fs'; | ||
@@ -2,0 +3,0 @@ declare class MockServer { |
{ | ||
"name": "@qubejs/cms-admin", | ||
"version": "0.5.0-beta.13", | ||
"version": "0.5.0-next.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "tslib": "^2.3.0" |
export * as features from './lib/features'; | ||
export * as database from './lib/database'; | ||
export * as repositories from './lib/repositories'; | ||
export * as dbutils from './lib/dbutils'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.repositories = exports.database = exports.features = void 0; | ||
exports.dbutils = exports.repositories = exports.database = exports.features = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -8,1 +8,2 @@ exports.features = tslib_1.__importStar(require("./lib/features")); | ||
exports.repositories = tslib_1.__importStar(require("./lib/repositories")); | ||
exports.dbutils = tslib_1.__importStar(require("./lib/dbutils")); |
declare const _default: { | ||
contentType: import("../../../../dist/libs/cms/core/src/utils/global-options").GlobalOptions; | ||
contentStatus: import("../../../../dist/libs/cms/core/src/utils/global-options").GlobalOptions; | ||
contentType: import("dist/libs/cms/core/src/utils").GlobalOptions; | ||
contentStatus: import("dist/libs/cms/core/src/utils").GlobalOptions; | ||
}; | ||
export default _default; |
declare const _default: (allModels: any, db: any) => { | ||
contents: import("../../../../../dist/libs/cms/src/lib/datalayer/collection").default; | ||
users: import("../../../../../dist/libs/cms/src/lib/datalayer/collection").default; | ||
emailTemplates: import("../../../../../dist/libs/cms/src/lib/datalayer/collection").default; | ||
userSessions: import("../../../../../dist/libs/cms/src/lib/datalayer/collection").default; | ||
userPreferences: import("../../../../../dist/libs/cms/src/lib/datalayer/collection").default; | ||
contents: import("dist/libs/cms/src/lib/datalayer/collection").default; | ||
users: import("dist/libs/cms/src/lib/datalayer/collection").default; | ||
emailTemplates: import("dist/libs/cms/src/lib/datalayer/collection").default; | ||
userSessions: import("dist/libs/cms/src/lib/datalayer/collection").default; | ||
userPreferences: import("dist/libs/cms/src/lib/datalayer/collection").default; | ||
}; | ||
export default _default; |
@@ -0,1 +1,25 @@ | ||
/// <reference types="mongoose/types/aggregate" /> | ||
/// <reference types="mongoose/types/callback" /> | ||
/// <reference types="mongoose/types/collection" /> | ||
/// <reference types="mongoose/types/connection" /> | ||
/// <reference types="mongoose/types/cursor" /> | ||
/// <reference types="mongoose/types/document" /> | ||
/// <reference types="mongoose/types/error" /> | ||
/// <reference types="mongoose/types/expressions" /> | ||
/// <reference types="mongoose/types/helpers" /> | ||
/// <reference types="mongoose/types/middlewares" /> | ||
/// <reference types="mongoose/types/indexes" /> | ||
/// <reference types="mongoose/types/models" /> | ||
/// <reference types="mongoose/types/mongooseoptions" /> | ||
/// <reference types="mongoose/types/pipelinestage" /> | ||
/// <reference types="mongoose/types/populate" /> | ||
/// <reference types="mongoose/types/query" /> | ||
/// <reference types="mongoose/types/schemaoptions" /> | ||
/// <reference types="mongoose/types/schematypes" /> | ||
/// <reference types="mongoose/types/session" /> | ||
/// <reference types="mongoose/types/types" /> | ||
/// <reference types="mongoose/types/utility" /> | ||
/// <reference types="mongoose/types/validation" /> | ||
/// <reference types="mongoose/types/virtuals" /> | ||
/// <reference types="mongoose/types/inferschematype" /> | ||
import mongoose from 'mongoose'; | ||
@@ -2,0 +26,0 @@ declare const _default: { |
@@ -51,4 +51,4 @@ "use strict"; | ||
} | ||
searchSiteMaps(paths, type = 'SITE_MAP') { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
searchSiteMaps(paths_1) { | ||
return tslib_1.__awaiter(this, arguments, void 0, function* (paths, type = 'SITE_MAP') { | ||
const result = yield this.aggregate({ | ||
@@ -108,4 +108,4 @@ match: { | ||
copyContent(data) { | ||
var _a; | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
const pathToCopy = yield this.findOne({ path: data.from }); | ||
@@ -112,0 +112,0 @@ const pathVars = this.extractPath(`${data.to.toLowerCase()}`, data.type); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10836055
119437