@newageerp/mp-types
Advanced tools
Comparing version 1.0.29 to 1.0.30
@@ -1,2 +0,6 @@ | ||
type MpAggregateFunction = 'max' | 'min' | 'sum' | 'count' | 'countDistinct' | 'sumPercent' | 'countPercent' | 'countDistinctPercent' | 'cr'; | ||
import * as z from 'zod'; | ||
import z__default from 'zod'; | ||
declare const MpAggregateFunctionEnum: z__default.ZodEnum<["max", "min", "sum", "count", "countDistinct", "sumPercent", "countPercent", "countDistinctPercent", "cr"]>; | ||
type MpAggregateFunction = z__default.infer<typeof MpAggregateFunctionEnum>; | ||
type MpAggregateColumn = { | ||
@@ -181,2 +185,6 @@ column: string; | ||
export { type MpAggregateColumn, type MpAggregateFunction, type MpChartSettings, type MpFilterAllTypes, type MpFilterCommonTypes, type MpFilterDateTypes, type MpFilterFactoryAdvancedFilterItem, type MpFilterFactoryItem, type MpFilterFactorySetItemsOnly, type MpFilterFactorySetUniversalItem, type MpFilterNumberTypes, type MpFilterStorageListRequest, type MpFilterStorageListResponse, type MpFilterStorageListResponseData, type MpFilterStorageRemoveRequest, type MpFilterStorageSaveRequest, type MpFilterStringTypes, type MpInfoColumnAllDataType, type MpInfoColumnDataTypeDate, type MpInfoColumnDataTypeNumber, type MpInfoColumnDataTypeText, type MpInfoRequestResponse, type MpInfoRequestResponseColumn, type MpOrderColumn, type MpPivotLocalSortItem, type MpPivotLocalSortItemDirection, type MpPivotSettings, type MpSelectRequestResponse, type MpSelectRequestResponseSql, type MpTitleDataSource, type MpTitleDataSourceMap, _default as requests }; | ||
declare const enums: { | ||
MpAggregateFunctionEnum: z.ZodEnum<["max", "min", "sum", "count", "countDistinct", "sumPercent", "countPercent", "countDistinctPercent", "cr"]>; | ||
}; | ||
export { type MpAggregateColumn, type MpAggregateFunction, type MpChartSettings, type MpFilterAllTypes, type MpFilterCommonTypes, type MpFilterDateTypes, type MpFilterFactoryAdvancedFilterItem, type MpFilterFactoryItem, type MpFilterFactorySetItemsOnly, type MpFilterFactorySetUniversalItem, type MpFilterNumberTypes, type MpFilterStorageListRequest, type MpFilterStorageListResponse, type MpFilterStorageListResponseData, type MpFilterStorageRemoveRequest, type MpFilterStorageSaveRequest, type MpFilterStringTypes, type MpInfoColumnAllDataType, type MpInfoColumnDataTypeDate, type MpInfoColumnDataTypeNumber, type MpInfoColumnDataTypeText, type MpInfoRequestResponse, type MpInfoRequestResponseColumn, type MpOrderColumn, type MpPivotLocalSortItem, type MpPivotLocalSortItemDirection, type MpPivotSettings, type MpSelectRequestResponse, type MpSelectRequestResponseSql, type MpTitleDataSource, type MpTitleDataSourceMap, enums, _default as requests }; |
"use strict"; | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -18,2 +20,10 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -44,2 +54,3 @@ var __async = (__this, __arguments, generator) => { | ||
__export(src_exports, { | ||
enums: () => enums, | ||
requests: () => requests_default | ||
@@ -49,2 +60,16 @@ }); | ||
// src/types/aggregate.types.ts | ||
var import_zod = __toESM(require("zod")); | ||
var MpAggregateFunctionEnum = import_zod.default.enum([ | ||
"max", | ||
"min", | ||
"sum", | ||
"count", | ||
"countDistinct", | ||
"sumPercent", | ||
"countPercent", | ||
"countDistinctPercent", | ||
"cr" | ||
]); | ||
// src/requests/insert-request.ts | ||
@@ -94,6 +119,12 @@ var doInsert = (props) => __async(void 0, null, function* () { | ||
}; | ||
// src/index.ts | ||
var enums = { | ||
MpAggregateFunctionEnum | ||
}; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
enums, | ||
requests | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@newageerp/mp-types", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "", | ||
@@ -23,3 +23,5 @@ "main": "./dist/index.js", | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"zod": "^3.24.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
33249
377
1
9
+ Addedzod@^3.24.1
+ Addedzod@3.24.1(transitive)