@tachybase/module-message 0.23.58 → 1.0.6
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/client/index.js +2 -2
- package/dist/externalVersion.js +8 -8
- package/dist/node_modules/@alicloud/dysmsapi20170525/package.json +1 -1
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/dist/node_modules/tencentcloud-sdk-nodejs/package.json +1 -1
- package/dist/node_modules/ws/package.json +1 -1
- package/package.json +10 -10
package/dist/client/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
.ant-drawer-body {
|
|
3
3
|
background: var(--tb-box-bg);
|
|
4
4
|
}
|
|
5
|
-
`},Oe={name:"drawer",type:"void",title:C("The interface of show message detail"),"x-component":"Action.Drawer","x-component-props":{className:Ve.actionStyle},properties:{showMessageDetail:{type:"string","x-component":"ViewMessageDetail"}}},q=()=>{const t=g.useContext(e.SchemaComponentContext),[,o]=g.useState(u.uid()),{workflow:n}=x.useFlowContext(),s=g.useMemo(()=>v(f({},t),{refresh:()=>o(u.uid()),designable:!n.executed}),[t,n.executed]);return r.jsx(e.SchemaComponentContext.Provider,{value:s,children:r.jsx(e.SchemaComponent,{schema:Oe,components:{ViewMessageDetail:Ee}})})};e.createStyles({});const U={ArrayItemsStyle:e.css`
|
|
5
|
+
`},Oe={name:"drawer",type:"void",title:C("The interface of show message detail"),"x-component":"Action.Drawer","x-component-props":{className:Ve.actionStyle},properties:{showMessageDetail:{type:"string","x-component":"ViewMessageDetail"}}},q=()=>{const t=g.useContext(e.SchemaComponentContext),[,o]=g.useState(u.uid()),{workflow:n}=x.useFlowContext(),s=g.useMemo(()=>v(f({},t),{reset:()=>{},refresh:()=>{o(u.uid())},designable:!n.executed}),[t,n.executed]);return r.jsx(e.SchemaComponentContext.Provider,{value:s,children:r.jsx(e.SchemaComponent,{schema:Oe,components:{ViewMessageDetail:Ee}})})};e.createStyles({});const U={ArrayItemsStyle:e.css`
|
|
6
6
|
&[disabled] {
|
|
7
7
|
> .ant-formily-array-base-addition {
|
|
8
8
|
display: none;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
> .ant-space-item:nth-child(2) {
|
|
20
20
|
flex-grow: 1;
|
|
21
21
|
}
|
|
22
|
-
`};class Le extends x.Instruction{constructor(){super(...arguments),this.title=C("Site Messages"),this.type=L,this.group=x.BuiltinGroupType.EXTENDED,this.icon="SiteMessage",this.color="#1eca0a",this.description=C("In the workflow, notification messages can be viewed by the notified person in the notification center."),this.components={ArrayItems:P.ArrayItems,SelectNotifiedPerson:x.SelectNotifiedPerson,AdditionNotifiedPerson:x.AdditionNotifiedPerson,ConfigButtonMessage:x.ConfigButtonMessage,WorkflowVariableCodeMirror:x.WorkflowVariableCodeMirror,MessageDetail:q,ViewShowMessage:q},this.fieldset={notifiedPerson:{type:"array",title:C("The Notified Person"),required:!0,"x-decorator":"FormItem","x-component":"ArrayItems","x-component-props":{className:U.ArrayItemsStyle},items:{type:"void","x-component":"Space","x-component-props":{className:U.SpaceStyle},properties:{sort:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.SortHandle"},input:{type:"string","x-decorator":"FormItem","x-component":"SelectNotifiedPerson"},remove:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.Remove"}}},properties:{add:{type:"void",title:C("Add Notified Person"),"x-component":"AdditionNotifiedPerson"}}},title:{type:"string",title:C("Title"),required:!0,"x-decorator":"FormItem","x-component":"WorkflowVariableCodeMirror","x-component-props":{changeOnSelect:!0,height:100,options:j()}},content:{type:"string",title:C("Content"),"x-decorator":"FormItem","x-component":"WorkflowVariableCodeMirror","x-component-props":{changeOnSelect:!0,options:j()}},showMessageDetail:{type:"void",title:C("Show message detail"),"x-decorator":"FormItem","x-component":"ConfigButtonMessage",properties:{showNoticeDetail:{type:"void","x-component":"ViewShowMessage"}}}}}useCurrentFormVariables(o,n){const s=e.useCompile(),{fieldNames:a}=n;return Object.entries(this.fieldset).map(([p,l])=>({[a.label]:s(l==null?void 0:l.title)||p,[a.value]:`${p}`}))}}function j(){return[{label:C("Message variables"),value:"$messageVariables",children:[{label:C("The Notified Person"),value:"notifiedPerson",children:[{label:'{{t("Nickname")}}',value:"nickname"}]}]}]}class ze extends e.Plugin{afterAdd(){return m(this,null,function*(){yield this.app.pm.add(Pe)})}load(){return m(this,null,function*(){this.pm.get(x).registerInstruction(L,Le)})}}const k=t=>`{{t("${t}", ${JSON.stringify({ns:[y,"core"]})})}}`,F="messages",Ke={dumpRules:"required",name:F,title:k("Site Messages"),sortable:!0,createdBy:!0,updatedBy:!0,logging:!0,fields:[{name:"id",type:"bigInt",autoIncrement:!0,primaryKey:!0,allowNull:!1,interface:"id"},{name:"createdAt",interface:"createdAt",type:"date",field:"createdAt",uiSchema:{type:"datetime",title:'{{t("Created at")}}',"x-component":"DatePicker","x-component-props":{showTime:!0},"x-read-pretty":!0}},{name:"title",interface:"input",type:"string",allowNull:!1,unique:!1,uiSchema:{type:"string",title:k("Title"),"x-component":"Input",required:!0}},{name:"content",interface:"input",type:"string",allowNull:!1,unique:!1,uiSchema:{type:"string",title:k("Content"),"x-component":"Input",required:!0}},{name:"collectionName",interface:"input",type:"string"},{name:"dataKey",type:"string",interface:"input"},{name:"jsonContent",interface:"input",type:"jsonb",uiSchema:{type:"array",title:k("Content"),"x-component":"ShowJsonContent","x-component-props":{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},{type:"jsonb",name:"snapshot",defaultValue:{}},{name:"read",type:"boolean",interface:"checkbox",defaultValue:!1,description:k("Read"),uiSchema:{"x-component-props":{showUnchecked:!0},type:"boolean","x-component":"Checkbox",title:k("Read")}},{name:"userId",type:"bigInt",interface:"integer",isForeignKey:!0,uiSchema:{type:"number",title:"userId","x-component":"InputNumber","x-read-pretty":!0}},{name:"user",foreignKey:"userId",onDelete:"CASCADE",type:"belongsTo",interface:"m2o",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1,fieldNames:{label:"id",value:"id"}},title:k("User")},target:"users",targetKey:"id"},{name:"schema",type:"belongsTo",target:"uiSchemas",targetKey:"x-uid",foreignKey:"schemaName",constraints:!1}]},_e=t=>{const{collection:o,params:n={filter:{}},action:s="list",children:a}=t,c=e.useCollectionRecordData(),i={collection:o,resource:o,action:s,params:v(f({pageSize:20,sort:["-createdAt"]},n),{filter:c!=null&&c.id?f({dataKey:`${c.id}`},n.filter):f({},n.filter)}),rowKey:"id",showIndex:!0,dragSort:!1};return r.jsx(e.ExtendCollectionsProvider,{collections:[Ke],children:r.jsx(e.TableBlockProvider,v(f({name:o},i),{children:a}))})};function $e(t){const{onClick:o}=t,n=e.useAPIClient(),{refresh:s}=e.useDataBlockRequest(),a=e.useCollectionRecordData(),{id:c,read:i}=a,p=()=>m(this,null,function*(){o==null||o(),c&&!i&&(yield n.resource("messages").update({filter:{id:c},values:{read:!0}}),s())});return v(f({},t),{onClick:p})}const G=g.createContext(null),qe=G.Provider;function Ue(){return g.useContext(G)}function je(){const{snapshot:t}=Ue(),{form:o}=e.useFormBlockContext();return g.useEffect(()=>{o.setValues(t||{})},[o,t]),{form:o}}const Ge=t=>{const{record:o}=t,n=e.useSchemaComponentContext(),{schemaName:s}=o,[a,c]=g.useState({}),i={filterByTk:{}},{run:p}=e.useRequest({resource:o==null?void 0:o.collectionName,action:"get",params:i},{manual:!0,onSuccess(l){c(l.data||{})}});return g.useEffect(()=>{o!=null&&o.dataKey&&!Object.keys(a).length&&(i.filterByTk=o.dataKey,p())},[o]),Object.keys(a).length&&r.jsx(e.RecordProvider,{record:f({record:o},a),children:r.jsx(qe,{value:o,children:r.jsx(e.SchemaComponentContext.Provider,{value:v(f({},n),{designable:!1}),children:r.jsx(e.RemoteSchemaComponent,{uid:s,noForm:!0})})})})},He=t=>{const{record:o}=t;return{name:`view-${o.id}`,type:"void",title:'{{t("View", {"ns":["messages","client"]})}}',"x-action":"view","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-component-props":{openMode:"drawer"},"x-use-component-props":"usePropsCheckLink",properties:{drawer:{type:"void",title:'{{t("View record", {"ns":["messages","client"]})}}',"x-component":"Action.Drawer","x-component-props":{className:"tb-action-popup"},properties:{checkContent:{type:"void","x-component":"ViewCheckContent","x-component-props":{record:o}}}}}}},Je=()=>{const t=e.useCollectionRecordData(),o=He({record:t});return r.jsx(e.SchemaComponent,{schema:o,components:{ViewCheckContent:Ge},scope:{usePropsCheckLink:$e,usePropsShowDetail:je}})},Ye=e.createStyles(({css:t})=>({columnShowJSON:t`
|
|
22
|
+
`};class Le extends x.Instruction{constructor(){super(...arguments),this.title=C("Site Messages"),this.type=L,this.group=x.BuiltinGroupType.EXTENDED,this.icon="SiteMessage",this.color="#1eca0a",this.description=C("In the workflow, notification messages can be viewed by the notified person in the notification center."),this.components={ArrayItems:P.ArrayItems,SelectNotifiedPerson:x.SelectNotifiedPerson,AdditionNotifiedPerson:x.AdditionNotifiedPerson,ConfigButtonMessage:x.ConfigButtonMessage,WorkflowVariableCodeMirror:x.WorkflowVariableCodeMirror,MessageDetail:q,ViewShowMessage:q},this.fieldset={notifiedPerson:{type:"array",title:C("The Notified Person"),required:!0,"x-decorator":"FormItem","x-component":"ArrayItems","x-component-props":{className:U.ArrayItemsStyle},items:{type:"void","x-component":"Space","x-component-props":{className:U.SpaceStyle},properties:{sort:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.SortHandle"},input:{type:"string","x-decorator":"FormItem","x-component":"SelectNotifiedPerson"},remove:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.Remove"}}},properties:{add:{type:"void",title:C("Add Notified Person"),"x-component":"AdditionNotifiedPerson"}}},title:{type:"string",title:C("Title"),required:!0,"x-decorator":"FormItem","x-component":"WorkflowVariableCodeMirror","x-component-props":{changeOnSelect:!0,height:100,options:j()}},content:{type:"string",title:C("Content"),"x-decorator":"FormItem","x-component":"WorkflowVariableCodeMirror","x-component-props":{changeOnSelect:!0,options:j()}},showMessageDetail:{type:"void",title:C("Show message detail"),"x-decorator":"FormItem","x-component":"ConfigButtonMessage",properties:{showNoticeDetail:{type:"void","x-component":"ViewShowMessage"}}}}}useCurrentFormVariables(o,n){const s=e.useCompile(),{fieldNames:a}=n;return Object.entries(this.fieldset).map(([p,l])=>({[a.label]:s(l==null?void 0:l.title)||p,[a.value]:`${p}`}))}}function j(){return[{label:C("Message variables"),value:"$messageVariables",children:[{label:C("The Notified Person"),value:"notifiedPerson",children:[{label:'{{t("Nickname")}}',value:"nickname"}]}]}]}class ze extends e.Plugin{afterAdd(){return m(this,null,function*(){yield this.app.pm.add(Pe)})}load(){return m(this,null,function*(){this.pm.get(x).registerInstruction(L,Le)})}}const k=t=>`{{t("${t}", ${JSON.stringify({ns:[y,"core"]})})}}`,F="messages",Ke={dumpRules:"required",name:F,title:k("Site Messages"),sortable:!0,createdBy:!0,updatedBy:!0,logging:!0,fields:[{name:"id",type:"bigInt",autoIncrement:!0,primaryKey:!0,allowNull:!1,interface:"id"},{name:"createdAt",interface:"createdAt",type:"date",field:"createdAt",uiSchema:{type:"datetime",title:'{{t("Created at")}}',"x-component":"DatePicker","x-component-props":{showTime:!0},"x-read-pretty":!0}},{name:"title",interface:"input",type:"string",allowNull:!1,unique:!1,uiSchema:{type:"string",title:k("Title"),"x-component":"Input",required:!0}},{name:"content",interface:"input",type:"string",allowNull:!1,unique:!1,uiSchema:{type:"string",title:k("Content"),"x-component":"Input",required:!0}},{name:"collectionName",interface:"input",type:"string"},{name:"dataKey",type:"string",interface:"input"},{name:"jsonContent",interface:"input",type:"jsonb",uiSchema:{type:"array",title:k("Content"),"x-component":"ShowJsonContent","x-component-props":{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}},{type:"jsonb",name:"snapshot",defaultValue:{}},{name:"read",type:"boolean",interface:"checkbox",defaultValue:!1,description:k("Read"),uiSchema:{"x-component-props":{showUnchecked:!0},type:"boolean","x-component":"Checkbox",title:k("Read")}},{name:"userId",type:"bigInt",interface:"integer",isForeignKey:!0,uiSchema:{type:"number",title:"userId","x-component":"InputNumber","x-read-pretty":!0}},{name:"user",foreignKey:"userId",onDelete:"CASCADE",type:"belongsTo",interface:"m2o",uiSchema:{"x-component":"AssociationField","x-component-props":{multiple:!1,fieldNames:{label:"id",value:"id"}},title:k("User")},target:"users",targetKey:"id"},{name:"schema",type:"belongsTo",target:"uiSchemas",targetKey:"x-uid",foreignKey:"schemaName",constraints:!1}]},_e=t=>{const{collection:o,params:n={filter:{}},action:s="list",children:a}=t,c=e.useCollectionRecordData(),i={collection:o,resource:o,action:s,params:v(f({pageSize:20,sort:["-createdAt"]},n),{filter:c!=null&&c.id?f({dataKey:`${c.id}`},n.filter):f({},n.filter)}),rowKey:"id",showIndex:!0,dragSort:!1};return r.jsx(e.ExtendCollectionsProvider,{collections:[Ke],children:r.jsx(e.TableBlockProvider,v(f({name:o},i),{children:a}))})};function $e(t){const{onClick:o}=t,n=e.useAPIClient(),{refresh:s}=e.useDataBlockRequest(),a=e.useCollectionRecordData(),{id:c,read:i}=a,p=()=>m(this,null,function*(){o==null||o(),c&&!i&&(yield n.resource("messages").update({filter:{id:c},values:{read:!0}}),s())});return v(f({},t),{onClick:p})}const G=g.createContext(null),qe=G.Provider;function Ue(){return g.useContext(G)}function je(){const{snapshot:t}=Ue(),{form:o}=e.useFormBlockContext();return g.useEffect(()=>{o.setValues(t||{})},[o,t]),{form:o}}const Ge=t=>{const{record:o}=t,n=e.useSchemaComponentContext(),{schemaName:s}=o,[a,c]=g.useState({}),i={filterByTk:{}},{run:p}=e.useRequest({resource:o==null?void 0:o.collectionName,action:"get",params:i},{manual:!0,onSuccess(l){c(l.data||{})}});return g.useEffect(()=>{o!=null&&o.dataKey&&!Object.keys(a).length&&(i.filterByTk=o.dataKey,p())},[o]),(Object.keys(a).length||!o.dataKey)&&r.jsx(e.RecordProvider,{record:f({record:o},a),children:r.jsx(qe,{value:o,children:r.jsx(e.SchemaComponentContext.Provider,{value:v(f({},n),{designable:!1}),children:r.jsx(e.RemoteSchemaComponent,{uid:s,noForm:!0})})})})},He=t=>{const{record:o}=t;return{name:`view-${o.id}`,type:"void",title:'{{t("View", {"ns":["messages","client"]})}}',"x-action":"view","x-decorator":"ACLActionProvider","x-component":"Action.Link","x-component-props":{openMode:"drawer"},"x-use-component-props":"usePropsCheckLink",properties:{drawer:{type:"void",title:'{{t("View record", {"ns":["messages","client"]})}}',"x-component":"Action.Drawer","x-component-props":{className:"tb-action-popup"},properties:{checkContent:{type:"void","x-component":"ViewCheckContent","x-component-props":{record:o}}}}}}},Je=()=>{const t=e.useCollectionRecordData(),o=He({record:t});return r.jsx(e.SchemaComponent,{schema:o,components:{ViewCheckContent:Ge},scope:{usePropsCheckLink:$e,usePropsShowDetail:je}})},Ye=e.createStyles(({css:t})=>({columnShowJSON:t`
|
|
23
23
|
text-align: left;
|
|
24
24
|
.json-item {
|
|
25
25
|
display: flex;
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "0.
|
|
3
|
-
"@tachybase/utils": "0.
|
|
4
|
-
"@tachybase/database": "0.
|
|
5
|
-
"@tachybase/server": "0.
|
|
6
|
-
"@tachybase/module-workflow": "0.
|
|
2
|
+
"@tachybase/client": "1.0.6",
|
|
3
|
+
"@tachybase/utils": "1.0.6",
|
|
4
|
+
"@tachybase/database": "1.0.6",
|
|
5
|
+
"@tachybase/server": "1.0.6",
|
|
6
|
+
"@tachybase/module-workflow": "1.0.6",
|
|
7
7
|
"jsonwebtoken": "8.5.1",
|
|
8
|
-
"@tachybase/components": "0.
|
|
8
|
+
"@tachybase/components": "1.0.6",
|
|
9
9
|
"react": "18.3.1",
|
|
10
|
-
"@tachybase/actions": "0.
|
|
11
|
-
"@tachybase/schema": "0.
|
|
10
|
+
"@tachybase/actions": "1.0.6",
|
|
11
|
+
"@tachybase/schema": "1.0.6",
|
|
12
12
|
"antd": "5.22.5",
|
|
13
13
|
"lodash": "4.17.21",
|
|
14
14
|
"@ant-design/icons": "5.3.7",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@alicloud/dysmsapi20170525","version":"2.0.24","description":"","main":"dist/client.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Alibaba Cloud SDK","license":"Apache-2.0","devDependencies":{"@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.7","@alicloud/openapi-client":"^0.4.4","@alicloud/openapi-util":"^0.3.1","@alicloud/endpoint-util":"^0.0.1"},"files":["dist","src"],"_lastModified":"2025-
|
|
1
|
+
{"name":"@alicloud/dysmsapi20170525","version":"2.0.24","description":"","main":"dist/client.js","scripts":{"test":"mocha --reporter spec --timeout 3000 test/*.test.js","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Alibaba Cloud SDK","license":"Apache-2.0","devDependencies":{"@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.7","@alicloud/openapi-client":"^0.4.4","@alicloud/openapi-util":"^0.3.1","@alicloud/endpoint-util":"^0.0.1"},"files":["dist","src"],"_lastModified":"2025-04-02T03:01:54.653Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@alicloud/openapi-client","version":"0.4.12","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts --timeout=10000","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"","license":"ISC","devDependencies":{"@types/mocha":"^5.2.7","mocha":"^6.2.0","@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5","@alicloud/gateway-pop":"0.0.6"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.9","@alicloud/credentials":"^2.3.1","@alicloud/openapi-util":"^0.3.2","@alicloud/gateway-spi":"^0.0.8","@alicloud/tea-xml":"0.0.3"},"files":["dist","src"],"repository":"git@github.com:aliyun/darabonba-openapi.git","_lastModified":"2025-
|
|
1
|
+
{"name":"@alicloud/openapi-client","version":"0.4.12","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts --timeout=10000","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"","license":"ISC","devDependencies":{"@types/mocha":"^5.2.7","mocha":"^6.2.0","@types/node":"^12.12.26","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5","@alicloud/gateway-pop":"0.0.6"},"dependencies":{"@alicloud/tea-typescript":"^1.7.1","@alicloud/tea-util":"^1.4.9","@alicloud/credentials":"^2.3.1","@alicloud/openapi-util":"^0.3.2","@alicloud/gateway-spi":"^0.0.8","@alicloud/tea-xml":"0.0.3"},"files":["dist","src"],"repository":"git@github.com:aliyun/darabonba-openapi.git","_lastModified":"2025-04-02T03:01:55.301Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@alicloud/tea-util","version":"1.4.9","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"repository":"git@github.com:aliyun/tea-util.git","_lastModified":"2025-
|
|
1
|
+
{"name":"@alicloud/tea-util","version":"1.4.9","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"repository":"git@github.com:aliyun/tea-util.git","_lastModified":"2025-04-02T03:01:55.417Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"tencentcloud-sdk-nodejs","version":"4.0.996","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0","uuid":"^9.0.1"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@types/uuid":"^9.0.8","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2025-
|
|
1
|
+
{"name":"tencentcloud-sdk-nodejs","version":"4.0.996","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0","uuid":"^9.0.1"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@types/uuid":"^9.0.8","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2025-04-02T03:01:59.619Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"ws","version":"8.18.0","description":"Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js","keywords":["HyBi","Push","RFC-6455","WebSocket","WebSockets","real-time"],"homepage":"https://github.com/websockets/ws","bugs":"https://github.com/websockets/ws/issues","repository":{"type":"git","url":"git+https://github.com/websockets/ws.git"},"author":"Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)","license":"MIT","main":"index.js","exports":{".":{"browser":"./browser.js","import":"./wrapper.mjs","require":"./index.js"},"./package.json":"./package.json"},"browser":"browser.js","engines":{"node":">=10.0.0"},"files":["browser.js","index.js","lib/*.js","wrapper.mjs"],"scripts":{"test":"nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js","integration":"mocha --throw-deprecation test/*.integration.js","lint":"eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""},"peerDependencies":{"bufferutil":"^4.0.1","utf-8-validate":">=5.0.2"},"peerDependenciesMeta":{"bufferutil":{"optional":true},"utf-8-validate":{"optional":true}},"devDependencies":{"benchmark":"^2.1.4","bufferutil":"^4.0.1","eslint":"^9.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","globals":"^15.0.0","mocha":"^8.4.0","nyc":"^15.0.0","prettier":"^3.0.0","utf-8-validate":"^6.0.0"},"_lastModified":"2025-
|
|
1
|
+
{"name":"ws","version":"8.18.0","description":"Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js","keywords":["HyBi","Push","RFC-6455","WebSocket","WebSockets","real-time"],"homepage":"https://github.com/websockets/ws","bugs":"https://github.com/websockets/ws/issues","repository":{"type":"git","url":"git+https://github.com/websockets/ws.git"},"author":"Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)","license":"MIT","main":"index.js","exports":{".":{"browser":"./browser.js","import":"./wrapper.mjs","require":"./index.js"},"./package.json":"./package.json"},"browser":"browser.js","engines":{"node":">=10.0.0"},"files":["browser.js","index.js","lib/*.js","wrapper.mjs"],"scripts":{"test":"nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js","integration":"mocha --throw-deprecation test/*.integration.js","lint":"eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""},"peerDependencies":{"bufferutil":"^4.0.1","utf-8-validate":">=5.0.2"},"peerDependenciesMeta":{"bufferutil":{"optional":true},"utf-8-validate":{"optional":true}},"devDependencies":{"benchmark":"^2.1.4","bufferutil":"^4.0.1","eslint":"^9.0.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","globals":"^15.0.0","mocha":"^8.4.0","nyc":"^15.0.0","prettier":"^3.0.0","utf-8-validate":"^6.0.0"},"_lastModified":"2025-04-02T03:01:53.780Z"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/module-message",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"dependencies": {},
|
|
6
6
|
"devDependencies": {
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"react-router-dom": "6.28.1",
|
|
17
17
|
"tencentcloud-sdk-nodejs": "^4.0.996",
|
|
18
18
|
"ws": "^8.18.0",
|
|
19
|
-
"@tachybase/actions": "0.
|
|
20
|
-
"@tachybase/
|
|
21
|
-
"@tachybase/
|
|
19
|
+
"@tachybase/actions": "1.0.6",
|
|
20
|
+
"@tachybase/components": "1.0.6",
|
|
21
|
+
"@tachybase/utils": "1.0.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@tachybase/client": "0.
|
|
25
|
-
"@tachybase/
|
|
26
|
-
"@tachybase/
|
|
27
|
-
"@tachybase/server": "0.
|
|
28
|
-
"@tachybase/
|
|
29
|
-
"@tachybase/test": "0.
|
|
24
|
+
"@tachybase/client": "1.0.6",
|
|
25
|
+
"@tachybase/database": "1.0.6",
|
|
26
|
+
"@tachybase/module-workflow": "1.0.6",
|
|
27
|
+
"@tachybase/server": "1.0.6",
|
|
28
|
+
"@tachybase/schema": "1.0.6",
|
|
29
|
+
"@tachybase/test": "1.0.6"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tachybase-build --no-dts @tachybase/module-message"
|