@ruiapp/rapid-core 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +0 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
- package/src/plugins/sequence/SequencePlugin.ts +1 -3
- package/src/plugins/sequence/SequenceService.ts +1 -1
- /package/dist/plugins/sequence/{sequence-types.d.ts → SequencePluginTypes.d.ts} +0 -0
- /package/src/plugins/sequence/{sequence-types.ts → SequencePluginTypes.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { default as MetaManagePlugin } from "./plugins/metaManage/MetaManagePlug
|
|
|
11
11
|
export { default as DataManagePlugin } from "./plugins/dataManage/DataManagePlugin";
|
|
12
12
|
export { default as RouteManagePlugin } from "./plugins/routeManage/RouteManagePlugin";
|
|
13
13
|
export { default as SequencePlugin } from "./plugins/sequence/SequencePlugin";
|
|
14
|
+
export * from "./plugins/sequence/SequencePluginTypes";
|
|
14
15
|
export { default as WebhooksPlugin } from "./plugins/webhooks/WebhooksPlugin";
|
|
15
16
|
export { default as AuthPlugin } from "./plugins/auth/AuthPlugin";
|
|
16
17
|
export { default as FileManagePlugin } from "./plugins/fileManage/FileManagePlugin";
|
package/dist/index.js
CHANGED
|
@@ -3989,7 +3989,6 @@ class SequencePlugin {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
}
|
|
3991
3991
|
async beforeCreateEntity(server, model, options) {
|
|
3992
|
-
debugger;
|
|
3993
3992
|
const entity = options.entity;
|
|
3994
3993
|
for (const property of model.properties) {
|
|
3995
3994
|
const sequenceConfig = property.config?.sequence;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export { default as MetaManagePlugin } from "./plugins/metaManage/MetaManagePlug
|
|
|
18
18
|
export { default as DataManagePlugin } from "./plugins/dataManage/DataManagePlugin";
|
|
19
19
|
export { default as RouteManagePlugin } from "./plugins/routeManage/RouteManagePlugin";
|
|
20
20
|
export { default as SequencePlugin } from "./plugins/sequence/SequencePlugin";
|
|
21
|
+
export * from "./plugins/sequence/SequencePluginTypes";
|
|
21
22
|
export { default as WebhooksPlugin } from "./plugins/webhooks/WebhooksPlugin";
|
|
22
23
|
export { default as AuthPlugin } from "./plugins/auth/AuthPlugin";
|
|
23
24
|
export { default as FileManagePlugin } from "./plugins/fileManage/FileManagePlugin";
|
|
@@ -25,4 +26,4 @@ export { default as ServerOperationPlugin } from "./plugins/serverOperation/Serv
|
|
|
25
26
|
export * from "./plugins/serverOperation/ServerOperationPluginTypes";
|
|
26
27
|
export { default as EntityWatchPlugin } from "./plugins/entityWatch/EntityWatchPlugin";
|
|
27
28
|
export * from "./plugins/entityWatch/EntityWatchPluginTypes";
|
|
28
|
-
export { default as EntityAccessControlPlugin } from "./plugins/entityAccessControl/EntityAccessControlPlugin";
|
|
29
|
+
export { default as EntityAccessControlPlugin } from "./plugins/entityAccessControl/EntityAccessControlPlugin";
|
|
@@ -13,8 +13,7 @@ import { IRpdServer, RapidPlugin, RpdConfigurationItemOptions, RpdServerPluginCo
|
|
|
13
13
|
import pluginActionHandlers from "./actionHandlers";
|
|
14
14
|
import pluginModels from "./models";
|
|
15
15
|
import pluginRoutes from "./routes";
|
|
16
|
-
import {
|
|
17
|
-
import { PropertySequenceConfig } from "./sequence-types";
|
|
16
|
+
import { PropertySequenceConfig } from "./SequencePluginTypes";
|
|
18
17
|
import { isNull, isUndefined } from "lodash";
|
|
19
18
|
import { generateSn } from "./SequenceService";
|
|
20
19
|
|
|
@@ -94,7 +93,6 @@ class SequencePlugin implements RapidPlugin {
|
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
async beforeCreateEntity(server: IRpdServer, model: RpdDataModel, options: CreateEntityOptions) {
|
|
97
|
-
debugger;
|
|
98
96
|
const entity = options.entity;
|
|
99
97
|
for (const property of model.properties) {
|
|
100
98
|
const sequenceConfig: PropertySequenceConfig = property.config?.sequence;
|
|
@@ -2,7 +2,7 @@ import { IRpdServer } from "~/core/server";
|
|
|
2
2
|
import { SequenceSegmentConfig } from "~/types";
|
|
3
3
|
import segmentResolvers from "./segments";
|
|
4
4
|
import { find } from "lodash";
|
|
5
|
-
import { SequenceRuleConfig } from "./
|
|
5
|
+
import { SequenceRuleConfig } from "./SequencePluginTypes";
|
|
6
6
|
|
|
7
7
|
export interface GenerateSequenceNumbersInput {
|
|
8
8
|
ruleCode: string;
|
|
File without changes
|
|
File without changes
|