Compare commits
6 Commits
release/1.
...
release/1.
| Author | SHA1 | Date | |
|---|---|---|---|
| cd4ac54da4 | |||
| 3059e37a2e | |||
| 50384fa477 | |||
| ad74a635d4 | |||
| b9c15a7e80 | |||
| b6481e9134 |
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"moduleCode": "demo",
|
||||
"candidateVersion": "1.0.5-rc.6",
|
||||
"buildRevision": 6,
|
||||
"buildChecksum": "30baf6a51a836e286954b14d92da606faa24c879be68c8fabd18b8de2cda1a4c",
|
||||
"schemaInputChecksum": "8a55cecb643f802ef0f39ade2f31fe8313ad437d72d12b64525c0b1a6892813d",
|
||||
"branchName": "release/1.0.5-rc.6"
|
||||
"candidateVersion": "1.0.10-rc.10",
|
||||
"buildRevision": 10,
|
||||
"buildChecksum": "e4556add96ae3edd54c453115fb677f52d7f9eccb2232093e13f78fb92bed762",
|
||||
"schemaInputChecksum": "5a47ef42d5af4736ae307150625beb1cea177c191c30864747f3a4a66f9aad23",
|
||||
"branchName": "release/1.0.10-rc.10"
|
||||
}
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@cool-midway/module-runtime": "9.1.0",
|
||||
"@cool-midway/rpc": "9.1.0",
|
||||
"@cool-midway/module-runtime": "9.1.1",
|
||||
"@cool-midway/rpc": "9.1.2",
|
||||
"@midwayjs/bootstrap": "^3.20.3",
|
||||
"@midwayjs/core": "^3.20.3",
|
||||
"@midwayjs/koa": "^3.20.3",
|
||||
|
||||
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
@@ -9,11 +9,11 @@ importers:
|
||||
.:
|
||||
dependencies:
|
||||
'@cool-midway/module-runtime':
|
||||
specifier: 9.1.0
|
||||
version: 9.1.0(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)
|
||||
specifier: 9.1.1
|
||||
version: 9.1.1(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)
|
||||
'@cool-midway/rpc':
|
||||
specifier: 9.1.0
|
||||
version: 9.1.0(@cool-midway/module-runtime@9.1.0(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)
|
||||
specifier: 9.1.2
|
||||
version: 9.1.2(@cool-midway/module-runtime@9.1.1(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)
|
||||
'@midwayjs/bootstrap':
|
||||
specifier: ^3.20.3
|
||||
version: 3.20.24
|
||||
@@ -72,16 +72,16 @@ packages:
|
||||
resolution: {integrity: sha512-Kf4x3IrWnBM5o2k3hdHhDt7ujBG7MLn5JXV4o8glKEh4pqdzgoe/HgTcEvtdpIRvy80MsnIt5ZlH1Eq54qV4uQ==}
|
||||
hasBin: true
|
||||
|
||||
'@cool-midway/module-runtime@9.1.0':
|
||||
resolution: {integrity: sha512-8pWWQpzaR28gOLuZ8aQV+RVFmuFqtIfz8VHgu4uMMDnp4Jo3qPtKonQB6AV8BUNex2CBCkyFhmrZ8D+3YVNNeA==}
|
||||
'@cool-midway/module-runtime@9.1.1':
|
||||
resolution: {integrity: sha512-OHJzqJX6ktnelL1J6k/7forr6TujDuLHBQ/Z21ueGiEdtvfQ3cHKjhYFEp6WwgeISECxGOxGdGyASPP3cV6jXQ==}
|
||||
peerDependencies:
|
||||
'@midwayjs/core': '>=3.20.0'
|
||||
typeorm: '>=0.3.20'
|
||||
|
||||
'@cool-midway/rpc@9.1.0':
|
||||
resolution: {integrity: sha512-G9auVH/bvCHrxVXVeDV17ejiUTEBvrnA54B/W6NtDFF0HaT0nk3lz8thrzFESACeHzwWppA0FAC51upwVCyxzA==}
|
||||
'@cool-midway/rpc@9.1.2':
|
||||
resolution: {integrity: sha512-WVR+zsMtojllK9LsI1Kx3VUMgEzvKLuxWVkOudyxzjLwWF4VU2/hnRN6tPJA1mBoSSJCxaSrbF0tZwbeWxcgzQ==}
|
||||
peerDependencies:
|
||||
'@cool-midway/module-runtime': '>=9.1.0 <10'
|
||||
'@cool-midway/module-runtime': '>=9.1.1 <10'
|
||||
'@midwayjs/validate': '>=3.20.0'
|
||||
|
||||
'@cool-midway/typeorm@0.3.20':
|
||||
@@ -2493,14 +2493,14 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@cool-midway/module-runtime@9.1.0(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)':
|
||||
'@cool-midway/module-runtime@9.1.1(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)':
|
||||
dependencies:
|
||||
'@midwayjs/core': 3.20.24
|
||||
typeorm: '@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7))'
|
||||
|
||||
'@cool-midway/rpc@9.1.0(@cool-midway/module-runtime@9.1.0(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)':
|
||||
'@cool-midway/rpc@9.1.2(@cool-midway/module-runtime@9.1.1(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24))(@midwayjs/validate@3.20.24)(debug@4.4.3)':
|
||||
dependencies:
|
||||
'@cool-midway/module-runtime': 9.1.0(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)
|
||||
'@cool-midway/module-runtime': 9.1.1(@cool-midway/typeorm@0.3.20(ioredis@5.11.1)(mysql2@3.24.3(@types/node@22.10.7)))(@midwayjs/core@3.20.24)
|
||||
'@midwayjs/validate': 3.20.24
|
||||
ioredis: 5.11.1
|
||||
moleculer: 0.14.36(debug@4.4.3)(ioredis@5.11.1)
|
||||
|
||||
@@ -111,31 +111,31 @@
|
||||
},
|
||||
{
|
||||
"name": "@cool-midway/module-runtime",
|
||||
"version": "9.1.0",
|
||||
"sha256": "88caa11bb651e146b877809c5dbbe43a8161844b8f8f1f04f38437dcddc4ef0b",
|
||||
"integrity": "sha512-8pWWQpzaR28gOLuZ8aQV+RVFmuFqtIfz8VHgu4uMMDnp4Jo3qPtKonQB6AV8BUNex2CBCkyFhmrZ8D+3YVNNeA==",
|
||||
"version": "9.1.1",
|
||||
"sha256": "b4ef3ceb929ec2575f1858be5f85b5cc470e4e942b6a00fb25886874993a8144",
|
||||
"integrity": "sha512-OHJzqJX6ktnelL1J6k/7forr6TujDuLHBQ/Z21ueGiEdtvfQ3cHKjhYFEp6WwgeISECxGOxGdGyASPP3cV6jXQ==",
|
||||
"files": {
|
||||
"dist/action.js": "86b35ec3d9d020f253cfa42f8030444da39a9742f6480c94010cc342056e0e4a",
|
||||
"dist/adapter.js": "d43aa81f5bc89faa359e0f97c814ba25155591ff078fbb9bfd40f8c7c9683230",
|
||||
"dist/business-reject.js": "1bea195b38fbcce97512400be8fe43f01596a03aa5ea5d6546346064c2cd1b03",
|
||||
"dist/configuration.js": "fed0a7dc7e6aa6e233f8d66109589b15ccd6b0f3fdd46dc6d55bbd8c38b45311",
|
||||
"dist/connection.js": "dc44aef513160623b1282b174e5bd17bc5ddeefcdaac1d328b23e061d7516f67",
|
||||
"dist/consumer.js": "18189e798ccaab3a0809f2d49430ec48361f0f705645b91dd0d889210cbf38e3",
|
||||
"dist/consumer.js": "2f3b54f49775eacdf977642cb0a06505fffaaff6300527fd283751ad9c7c27d0",
|
||||
"dist/context.js": "eb2b3c97119f94c7f52498b591b7e63fe51b1ef8194b3b9cf6dbea6d0af555e7",
|
||||
"dist/crud-host.js": "19ab92b9744f8cb671c4dcbfce288160c60e008f14a0b018f38a1c0de55aa4b8",
|
||||
"dist/crud.js": "235a6ce66b54373c80bbba8ea444162ef44e8fa34863cb30be59b62b8a008043",
|
||||
"dist/data.js": "e54a8d582fadefd9dc75eec049d3eee1c80fb92ed656d46d384fc48d8ae4d7d0",
|
||||
"dist/error.js": "f2dced066aef06c895d00285ecf69d52203bfce1635539a4b8c88d9de2a733d3",
|
||||
"dist/event-writer-migration.js": "deee4d33d7c3049f2ab9f6a9605cfea17aaf9536db7d3d1305f4903d48ff5e4f",
|
||||
"dist/event-writer.js": "0c4a2f270ba868b772d83d002255cf60bf3c3f69425881121c3639184e5e17ac",
|
||||
"dist/event-writer.js": "e45f62209d263b2be11a25680352c4e8dd7690b655f2f9ee007d9f1f6b8646b0",
|
||||
"dist/decorator/event.js": "3801cf45836398239734611d4c58ea0261d32e870544a770e7ad667704aad143",
|
||||
"dist/executor.js": "e65ec1d28ee63bfc75b56a58485640a5c2f2e4af6f60122974bd73d047ceda0b",
|
||||
"dist/executor.js": "4dc904785a8bd385e98f239e1517cc33fb3e4c96807fffd1393b22ec93ff025a",
|
||||
"dist/generated-module.js": "84739644067c446863ad34166602d0dcec9212661c61cbeea5bfe85a113b4c0a",
|
||||
"dist/index.js": "c0de3d4fae6a2f28f5ee89519c1daf7c36dc7bcc13aeccc0372999fec4b703c9",
|
||||
"dist/injected-action.js": "3fdee7be7fee4e07c41884cbc43cb23bbd1dd4ef0ffe49fee37c53f2a8d8ca97",
|
||||
"dist/injected-crud.js": "5f4593c1b12a50765f4112381a0db9f732202b908f84b6f13225da7a567eba0c",
|
||||
"dist/internal.js": "2d5ee68295abbaaf9a74aa7fb805cb1be70702354e1c058a2eb02fa11d1561e1",
|
||||
"dist/inventory.js": "c97c12ecb113302e4d21deef52a6d6b6b477ae2e192853d664211e19f539cd74",
|
||||
"dist/inventory.js": "7c6ce797200ad627dd9374e1ad70638ff11f7483c5fd98e9adef6992b1a1aee9",
|
||||
"dist/json-schema.js": "ef1a378710cfc285679fdb8130750169bc09e19611a2e577ef081b44e5f2eeb0",
|
||||
"dist/managed-action.js": "fb42b5f0b1992e2b2b3f5176081a2de06cac020ca3ed744f46d93f094cfe96dd",
|
||||
"dist/model.js": "9e548ad45b0cac4642ae9437cbcd52a6deb5dd316de5242ce601c2765f68554a",
|
||||
@@ -157,7 +157,7 @@
|
||||
"dist/workflow-reply-authority.js": "90ad7bbd35bcc4a0a788d33721cdbc3ec54f5c28ebce288317a40152de50bb10",
|
||||
"dist/workflow.js": "79e25c6e0dc24c6b2277c18b02bedf4fda60754947ae1917b0b9cb2eecb53af3",
|
||||
"dist/write-fence.js": "95c6af20da75ca92a0149023ebbc515525ddbcd50da3e284209b77536bc2a5f2",
|
||||
"package.json": "f3638ab357be8eee6b01228a7e8f24dee63fe47f31382f45000abcec18df7fd2",
|
||||
"package.json": "62519527981f22831f9ade24a8c38f8541fb64ebcfdc0905386f9b2dc5fc802c",
|
||||
"dist/action.d.ts": "8d0c6d6055c1acc4a6a6e70fdb83a70a81693965b20adf2afa0290245cd649cd",
|
||||
"adapter.d.ts": "ffa850716087cae3e3ef5f5bb54835143d16bcb3ad42b044c0f16aba08209074",
|
||||
"dist/adapter.d.ts": "f70f53cb90da78d4423f46debfea6d922068ea4f70fb063b53135d6538af1eb2",
|
||||
@@ -207,13 +207,13 @@
|
||||
"fileCount": 90,
|
||||
"credentialScanPassed": true,
|
||||
"registry": "https://npm.blendercg.art/",
|
||||
"tarball": "https://npm.blendercg.art/@cool-midway/module-runtime/-/module-runtime-9.1.0.tgz"
|
||||
"tarball": "https://npm.blendercg.art/@cool-midway/module-runtime/-/module-runtime-9.1.1.tgz"
|
||||
},
|
||||
{
|
||||
"name": "@cool-midway/rpc",
|
||||
"version": "9.1.0",
|
||||
"sha256": "7b5b5ce502888a500659cbf6030376dd5d93e57aab2567d53063d1725592653a",
|
||||
"integrity": "sha512-G9auVH/bvCHrxVXVeDV17ejiUTEBvrnA54B/W6NtDFF0HaT0nk3lz8thrzFESACeHzwWppA0FAC51upwVCyxzA==",
|
||||
"version": "9.1.2",
|
||||
"sha256": "624b6bfa6f6ae05bfee779acf22913492a1a3bd7e6ca36c1670da08e6de232d6",
|
||||
"integrity": "sha512-WVR+zsMtojllK9LsI1Kx3VUMgEzvKLuxWVkOudyxzjLwWF4VU2/hnRN6tPJA1mBoSSJCxaSrbF0tZwbeWxcgzQ==",
|
||||
"files": {
|
||||
"dist/action-registry.js": "04f77c61445d47f66eaad984ee8e059a38bb0e610d2f584f5754d5a0ead105c5",
|
||||
"dist/saas-host/bootstrap.js": "a53eb6f40c7a7c2427fbcd0cde78e8985f64dda15fcff1843e8957f5e7086271",
|
||||
@@ -230,7 +230,7 @@
|
||||
"dist/event-transport.js": "c056c6c1ab9e5aa9b24b659f03045f64c852ec9e5ac2603d92dcb1baedbc88c2",
|
||||
"dist/identity.js": "063718c26403ad5d8c6f8737f7351332f6ce5ddde9ee7ebf128e2085d8d70b25",
|
||||
"dist/index.js": "26d61f60277e769fa7f9379fc2a98af9840296ea7c4d0e65c8c354bf70d37bdd",
|
||||
"dist/saas-host/index.js": "ca038796a56260424afbea02215180fa319208403ddd2e5027901eb927277823",
|
||||
"dist/saas-host/index.js": "897d19161dac81262025c9533d4b7cafe0c163198d91f8a792173314c796a97e",
|
||||
"dist/injected-action.js": "92fdaaa784e64b0babbcba16a941d3569367a47ccdc2137d7afc415e542f7bc9",
|
||||
"dist/managed-runtime.js": "1985cb709666c9f6bba561b1756cbc2420fd068e138f82180712a3c577760373",
|
||||
"dist/mode.js": "b986fe6d3623d6baad7ecd44496c1fa681203c934013af8baaa330ba371fc75d",
|
||||
@@ -246,7 +246,7 @@
|
||||
"dist/test.js": "5386504311845b9dc3fe230d3c5a3b5ab3c6d36154add15e91d32d8442c25157",
|
||||
"dist/types.js": "d43aa81f5bc89faa359e0f97c814ba25155591ff078fbb9bfd40f8c7c9683230",
|
||||
"dist/workflow-recovery.js": "d423e33df1cca07250036ec6b61aaa7fcddea1e1440450487da13f01b16b26f0",
|
||||
"package.json": "6d210735ca72b9bc64983370af7f8d1245849500fd717c19858b4fa0496331ef",
|
||||
"package.json": "42ed936eafa84ce842c19bcb62970688fa9dee3030c071fc7eff5d33424e646f",
|
||||
"dist/action-registry.d.ts": "40231dd8299c0bfae1b006105d49945eb2f20a40334856db32e4b7cc2851398b",
|
||||
"dist/saas-host/bootstrap.d.ts": "f639edef99770f091ac90e737a0ab2c857830241a8996171492768d108ad43f0",
|
||||
"dist/caller-context.d.ts": "3f58cb5d653e2d5179996c3302dddc5c4bfdc3ff2ac501ca8d6dcedb4cb606d5",
|
||||
@@ -262,7 +262,7 @@
|
||||
"dist/event-transport.d.ts": "db3aad6cb1ed297c3cbc785101a26577beabae23e8255e18e993a9c0d42849e8",
|
||||
"dist/identity.d.ts": "5e7a2f9cbe80816cad22f678663f814f89e2295ecfb0b6d7436a8a1efb166f7c",
|
||||
"dist/index.d.ts": "d4ac7f2d87a93a50263ccbb3da781dcf4d3db9775ae5ba316327862f0c007d69",
|
||||
"dist/saas-host/index.d.ts": "2e5e01089a7a42c312456f44054a33a426ef18572affd687e79a90acb58956c9",
|
||||
"dist/saas-host/index.d.ts": "14845d92d00654415eaccca39da6ec4f347ac98ca2c3ed2f0df7aa36db8fdf2c",
|
||||
"index.d.ts": "b764a7488d90d3db5bc04ed44bbe06994574d25c052a139c15e9b11ffe1be954",
|
||||
"dist/injected-action.d.ts": "10954865dd4ddd1f1bfd867e151d4fda993547fc206346d5ccf39a241d40527e",
|
||||
"dist/managed-runtime.d.ts": "f9c4f933c09ee7488d05cad68cd411de8239998a48738f2a90988aff6f691379",
|
||||
@@ -283,7 +283,7 @@
|
||||
"fileCount": 66,
|
||||
"credentialScanPassed": true,
|
||||
"registry": "https://npm.blendercg.art/",
|
||||
"tarball": "https://npm.blendercg.art/@cool-midway/rpc/-/rpc-9.1.0.tgz"
|
||||
"tarball": "https://npm.blendercg.art/@cool-midway/rpc/-/rpc-9.1.2.tgz"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import {
|
||||
import type { SaasCrudAfterChange, SaasCrudBeforeChange, SaasEventEnvelope } from '@cool-midway/module-runtime';
|
||||
|
||||
export type GoodsAddInput = {
|
||||
description?: string | null;
|
||||
price: string;
|
||||
status?: number;
|
||||
stock?: number;
|
||||
@@ -15,6 +16,7 @@ export type GoodsAddInput = {
|
||||
};
|
||||
|
||||
export type GoodsAddOutput = {
|
||||
description?: string | null;
|
||||
id: string;
|
||||
price: string;
|
||||
status: number;
|
||||
@@ -43,6 +45,7 @@ export type GoodsInfoInput = {
|
||||
};
|
||||
|
||||
export type GoodsInfoOutput = {
|
||||
description?: string | null;
|
||||
id: string;
|
||||
price: string;
|
||||
status: number;
|
||||
@@ -66,13 +69,14 @@ export type GoodsListInput = {
|
||||
};
|
||||
};
|
||||
|
||||
export type GoodsListOutput = {
|
||||
export type GoodsListOutput = ({
|
||||
description?: string | null;
|
||||
id: string;
|
||||
price: string;
|
||||
status: number;
|
||||
stock: number;
|
||||
title: string;
|
||||
}[];
|
||||
})[];
|
||||
|
||||
export type GoodsPageInput = {
|
||||
keyword?: string;
|
||||
@@ -92,13 +96,14 @@ export type GoodsPageInput = {
|
||||
};
|
||||
|
||||
export type GoodsPageOutput = {
|
||||
list: {
|
||||
list: ({
|
||||
description?: string | null;
|
||||
id: string;
|
||||
price: string;
|
||||
status: number;
|
||||
stock: number;
|
||||
title: string;
|
||||
}[];
|
||||
})[];
|
||||
pagination: {
|
||||
page: number;
|
||||
size: number;
|
||||
@@ -128,6 +133,7 @@ export type GoodsReserveStockOutput = {
|
||||
};
|
||||
|
||||
export type GoodsUpdateInput = {
|
||||
description?: string | null;
|
||||
id: string;
|
||||
price?: string;
|
||||
status?: number;
|
||||
@@ -192,6 +198,13 @@ export const Actions = {
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -199,7 +212,7 @@ export const Actions = {
|
||||
"price"
|
||||
]
|
||||
},
|
||||
"inputChecksum": "c2984884419729416e6cd81e4cddc6d82486b6dde2d9de0ca17533f69f55816a",
|
||||
"inputChecksum": "1631b9abe9afce3e828787e355f4c380fc3d6210f58260797109014763bddab7",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -221,6 +234,13 @@ export const Actions = {
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -231,7 +251,7 @@ export const Actions = {
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:add"
|
||||
@@ -240,6 +260,7 @@ export const Actions = {
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -456,6 +477,13 @@ export const Actions = {
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -466,7 +494,7 @@ export const Actions = {
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:info"
|
||||
@@ -475,6 +503,7 @@ export const Actions = {
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -587,6 +616,13 @@ export const Actions = {
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -598,7 +634,7 @@ export const Actions = {
|
||||
]
|
||||
}
|
||||
},
|
||||
"outputChecksum": "2182ab26245d80a9a40216cce7cadbe8217ea12813f1cf536b7a59ba0a4ed4ae",
|
||||
"outputChecksum": "909ff0a80769ea17a9a6159097c45c5097286e53f5010a514491df4d1f177518",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:list"
|
||||
@@ -607,6 +643,7 @@ export const Actions = {
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -727,6 +764,13 @@ export const Actions = {
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -768,7 +812,7 @@ export const Actions = {
|
||||
"pagination"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "15ee81575d900276aaa2437afa5ee6f41321e5b00ab58706322e5d5c0809bf8d",
|
||||
"outputChecksum": "476124b6a81b38277a80b1f773dffad01acee546c6140689abea6532d4216d2f",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:page"
|
||||
@@ -777,6 +821,7 @@ export const Actions = {
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -964,6 +1009,13 @@ export const Actions = {
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -971,7 +1023,7 @@ export const Actions = {
|
||||
],
|
||||
"minProperties": 2
|
||||
},
|
||||
"inputChecksum": "ced49f501c83dd1dce9725c913a1761566828004c851779a5db85ddd2bb9123c",
|
||||
"inputChecksum": "103a179289c7ad50a87b38efeb58b281ee2cc03c3dabbe20814e26f2b804cee8",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -994,6 +1046,7 @@ export const Actions = {
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -1044,7 +1097,7 @@ export const Crud = {
|
||||
moduleCode: "demo",
|
||||
tableCode: "goods",
|
||||
operations: ["add","delete","update","info","list","page"],
|
||||
descriptorChecksum: "22211efee07c5c1aada51d508d9c053e0d7388ad6fc0da12c95a4d1de2e3ca53",
|
||||
descriptorChecksum: "57f429f54ea377c92d648e4ffcc92611cbc288f227790cc1ff386f083bb7ce29",
|
||||
actions: {
|
||||
add: Actions.GoodsAdd,
|
||||
delete: Actions.GoodsDelete,
|
||||
|
||||
@@ -12,15 +12,16 @@ export interface GoodsRow extends Record<string, unknown> {
|
||||
price: string;
|
||||
stock: number;
|
||||
status: number;
|
||||
description?: string | null;
|
||||
}
|
||||
|
||||
export class Goods extends SaasTableModel<GoodsRow> {
|
||||
static readonly definition = defineSaasTableModel({
|
||||
"kind": "table",
|
||||
"moduleCode": "demo",
|
||||
"revision": 6,
|
||||
"schemaVersion": 6,
|
||||
"schemaInputChecksum": "8a55cecb643f802ef0f39ade2f31fe8313ad437d72d12b64525c0b1a6892813d",
|
||||
"revision": 10,
|
||||
"schemaVersion": 10,
|
||||
"schemaInputChecksum": "5a47ef42d5af4736ae307150625beb1cea177c191c30864747f3a4a66f9aad23",
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
{
|
||||
@@ -72,6 +73,16 @@ export class Goods extends SaasTableModel<GoodsRow> {
|
||||
"writable": true,
|
||||
"filterable": true,
|
||||
"sortable": true
|
||||
},
|
||||
{
|
||||
"code": "description",
|
||||
"type": "varchar",
|
||||
"nullable": true,
|
||||
"primary": false,
|
||||
"readable": true,
|
||||
"writable": true,
|
||||
"filterable": false,
|
||||
"sortable": false
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
@@ -4,9 +4,9 @@ import { defineGeneratedSaasModule } from '@cool-midway/module-runtime';
|
||||
export const GeneratedSaasModule = defineGeneratedSaasModule({
|
||||
"formatVersion": 2,
|
||||
"moduleCode": "demo",
|
||||
"revision": 6,
|
||||
"schemaVersion": 6,
|
||||
"schemaInputChecksum": "8a55cecb643f802ef0f39ade2f31fe8313ad437d72d12b64525c0b1a6892813d",
|
||||
"runtimeContractChecksum": "c1327810dd08dfd0cc1afeee99d7e9707fe14595272a3aa92ee13fc1d54aa0e5",
|
||||
"revision": 10,
|
||||
"schemaVersion": 10,
|
||||
"schemaInputChecksum": "5a47ef42d5af4736ae307150625beb1cea177c191c30864747f3a4a66f9aad23",
|
||||
"runtimeContractChecksum": "9ec90874dd2f0087423106ecffa0c17c9aa4362c597eca9eef9f25326b556c1e",
|
||||
"implementationManifestChecksum": "d18964a3d40e3c9a65d83996ca3141a56043986c395f5d4cac57c60aa72f4236"
|
||||
});
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"manifestVersion": 1,
|
||||
"moduleCode": "demo",
|
||||
"revision": 6,
|
||||
"revision": 10,
|
||||
"schemaChecksum": null,
|
||||
"schemaInputChecksum": "8a55cecb643f802ef0f39ade2f31fe8313ad437d72d12b64525c0b1a6892813d",
|
||||
"schemaInputChecksum": "5a47ef42d5af4736ae307150625beb1cea177c191c30864747f3a4a66f9aad23",
|
||||
"actionManifestChecksum": null,
|
||||
"runtimeContractChecksum": "c1327810dd08dfd0cc1afeee99d7e9707fe14595272a3aa92ee13fc1d54aa0e5",
|
||||
"runtimeContractChecksum": "9ec90874dd2f0087423106ecffa0c17c9aa4362c597eca9eef9f25326b556c1e",
|
||||
"implementationManifestChecksum": "d18964a3d40e3c9a65d83996ca3141a56043986c395f5d4cac57c60aa72f4236",
|
||||
"actions": [
|
||||
"GoodsAdd",
|
||||
@@ -50,7 +50,7 @@
|
||||
"list",
|
||||
"page"
|
||||
],
|
||||
"descriptorChecksum": "22211efee07c5c1aada51d508d9c053e0d7388ad6fc0da12c95a4d1de2e3ca53",
|
||||
"descriptorChecksum": "57f429f54ea377c92d648e4ffcc92611cbc288f227790cc1ff386f083bb7ce29",
|
||||
"actions": {
|
||||
"add": "GoodsAdd",
|
||||
"delete": "GoodsDelete",
|
||||
@@ -86,6 +86,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -93,7 +100,7 @@
|
||||
"price"
|
||||
]
|
||||
},
|
||||
"inputChecksum": "c2984884419729416e6cd81e4cddc6d82486b6dde2d9de0ca17533f69f55816a",
|
||||
"inputChecksum": "1631b9abe9afce3e828787e355f4c380fc3d6210f58260797109014763bddab7",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -115,6 +122,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -125,7 +139,7 @@
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:add"
|
||||
@@ -134,6 +148,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -343,6 +358,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -353,7 +375,7 @@
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:info"
|
||||
@@ -362,6 +384,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -472,6 +495,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -483,7 +513,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"outputChecksum": "2182ab26245d80a9a40216cce7cadbe8217ea12813f1cf536b7a59ba0a4ed4ae",
|
||||
"outputChecksum": "909ff0a80769ea17a9a6159097c45c5097286e53f5010a514491df4d1f177518",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:list"
|
||||
@@ -492,6 +522,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -610,6 +641,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -651,7 +689,7 @@
|
||||
"pagination"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "15ee81575d900276aaa2437afa5ee6f41321e5b00ab58706322e5d5c0809bf8d",
|
||||
"outputChecksum": "476124b6a81b38277a80b1f773dffad01acee546c6140689abea6532d4216d2f",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:page"
|
||||
@@ -660,6 +698,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -842,6 +881,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -849,7 +895,7 @@
|
||||
],
|
||||
"minProperties": 2
|
||||
},
|
||||
"inputChecksum": "ced49f501c83dd1dce9725c913a1761566828004c851779a5db85ddd2bb9123c",
|
||||
"inputChecksum": "103a179289c7ad50a87b38efeb58b281ee2cc03c3dabbe20814e26f2b804cee8",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -872,6 +918,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"formatVersion": 2,
|
||||
"moduleCode": "demo",
|
||||
"revision": 6,
|
||||
"revision": 10,
|
||||
"releaseVersion": null,
|
||||
"schemaVersion": 6,
|
||||
"schemaInputChecksum": "8a55cecb643f802ef0f39ade2f31fe8313ad437d72d12b64525c0b1a6892813d",
|
||||
"schemaVersion": 10,
|
||||
"schemaInputChecksum": "5a47ef42d5af4736ae307150625beb1cea177c191c30864747f3a4a66f9aad23",
|
||||
"schemaChecksum": null,
|
||||
"actionManifestChecksum": null,
|
||||
"runtimeContractChecksum": "c1327810dd08dfd0cc1afeee99d7e9707fe14595272a3aa92ee13fc1d54aa0e5",
|
||||
"runtimeContractChecksum": "9ec90874dd2f0087423106ecffa0c17c9aa4362c597eca9eef9f25326b556c1e",
|
||||
"implementationManifestChecksum": "d18964a3d40e3c9a65d83996ca3141a56043986c395f5d4cac57c60aa72f4236",
|
||||
"models": [
|
||||
{
|
||||
@@ -65,6 +65,16 @@
|
||||
"writable": true,
|
||||
"filterable": true,
|
||||
"sortable": true
|
||||
},
|
||||
{
|
||||
"code": "description",
|
||||
"type": "varchar",
|
||||
"nullable": true,
|
||||
"primary": false,
|
||||
"readable": true,
|
||||
"writable": true,
|
||||
"filterable": false,
|
||||
"sortable": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -128,6 +138,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -135,7 +152,7 @@
|
||||
"price"
|
||||
]
|
||||
},
|
||||
"inputChecksum": "c2984884419729416e6cd81e4cddc6d82486b6dde2d9de0ca17533f69f55816a",
|
||||
"inputChecksum": "1631b9abe9afce3e828787e355f4c380fc3d6210f58260797109014763bddab7",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -157,6 +174,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -167,7 +191,7 @@
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:add"
|
||||
@@ -176,6 +200,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -236,6 +261,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -243,7 +275,7 @@
|
||||
"price"
|
||||
]
|
||||
},
|
||||
"inputChecksum": "c2984884419729416e6cd81e4cddc6d82486b6dde2d9de0ca17533f69f55816a",
|
||||
"inputChecksum": "1631b9abe9afce3e828787e355f4c380fc3d6210f58260797109014763bddab7",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -265,6 +297,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -275,7 +314,7 @@
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:add"
|
||||
@@ -284,6 +323,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -626,6 +666,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -636,7 +683,7 @@
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:info"
|
||||
@@ -645,6 +692,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -696,6 +744,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -706,7 +761,7 @@
|
||||
"status"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "bb691ac7eaa19bb231f9da14a80848262965255fb37726ab155fb9804c9a55b1",
|
||||
"outputChecksum": "744f5d2ad90a1c4e21a1ff66eaae83a3f900cdd685d6ee409f03555336c9a067",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:info"
|
||||
@@ -715,6 +770,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -828,6 +884,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -839,7 +902,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"outputChecksum": "2182ab26245d80a9a40216cce7cadbe8217ea12813f1cf536b7a59ba0a4ed4ae",
|
||||
"outputChecksum": "909ff0a80769ea17a9a6159097c45c5097286e53f5010a514491df4d1f177518",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:list"
|
||||
@@ -848,6 +911,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -956,6 +1020,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -967,7 +1038,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"outputChecksum": "2182ab26245d80a9a40216cce7cadbe8217ea12813f1cf536b7a59ba0a4ed4ae",
|
||||
"outputChecksum": "909ff0a80769ea17a9a6159097c45c5097286e53f5010a514491df4d1f177518",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:list"
|
||||
@@ -976,6 +1047,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -1097,6 +1169,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1138,7 +1217,7 @@
|
||||
"pagination"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "15ee81575d900276aaa2437afa5ee6f41321e5b00ab58706322e5d5c0809bf8d",
|
||||
"outputChecksum": "476124b6a81b38277a80b1f773dffad01acee546c6140689abea6532d4216d2f",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:page"
|
||||
@@ -1147,6 +1226,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -1263,6 +1343,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1304,7 +1391,7 @@
|
||||
"pagination"
|
||||
]
|
||||
},
|
||||
"outputChecksum": "15ee81575d900276aaa2437afa5ee6f41321e5b00ab58706322e5d5c0809bf8d",
|
||||
"outputChecksum": "476124b6a81b38277a80b1f773dffad01acee546c6140689abea6532d4216d2f",
|
||||
"callerPolicy": {
|
||||
"kind": "permission",
|
||||
"permission": "demo:goods:page"
|
||||
@@ -1313,6 +1400,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -1642,6 +1730,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1649,7 +1744,7 @@
|
||||
],
|
||||
"minProperties": 2
|
||||
},
|
||||
"inputChecksum": "ced49f501c83dd1dce9725c913a1761566828004c851779a5db85ddd2bb9123c",
|
||||
"inputChecksum": "103a179289c7ad50a87b38efeb58b281ee2cc03c3dabbe20814e26f2b804cee8",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -1672,6 +1767,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -1736,6 +1832,13 @@
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"maxLength": 500
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1743,7 +1846,7 @@
|
||||
],
|
||||
"minProperties": 2
|
||||
},
|
||||
"inputChecksum": "ced49f501c83dd1dce9725c913a1761566828004c851779a5db85ddd2bb9123c",
|
||||
"inputChecksum": "103a179289c7ad50a87b38efeb58b281ee2cc03c3dabbe20814e26f2b804cee8",
|
||||
"outputSchema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -1766,6 +1869,7 @@
|
||||
{
|
||||
"tableCode": "goods",
|
||||
"fields": [
|
||||
"description",
|
||||
"id",
|
||||
"price",
|
||||
"status",
|
||||
@@ -1821,7 +1925,7 @@
|
||||
"list",
|
||||
"page"
|
||||
],
|
||||
"descriptorChecksum": "22211efee07c5c1aada51d508d9c053e0d7388ad6fc0da12c95a4d1de2e3ca53",
|
||||
"descriptorChecksum": "57f429f54ea377c92d648e4ffcc92611cbc288f227790cc1ff386f083bb7ce29",
|
||||
"actions": {
|
||||
"add": "GoodsAdd",
|
||||
"delete": "GoodsDelete",
|
||||
|
||||
Reference in New Issue
Block a user