Skip to content

Commit

Permalink
[Task]: 标准对象中的 accounts, contacts 分拆到单独的软件包 @steedos/standard-accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhaolin committed Dec 29, 2023
1 parent 649a779 commit df6d571
Show file tree
Hide file tree
Showing 108 changed files with 995 additions and 916 deletions.
614 changes: 0 additions & 614 deletions packages/standard-objects/community-users/accounts.object.yml

This file was deleted.

276 changes: 0 additions & 276 deletions packages/standard-objects/community-users/contacts.object.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
position: absolute
}

.relative {
position: relative
}

.sticky {
position: sticky
}
Expand All @@ -65,6 +69,10 @@
left: 0px
}

.isolate {
isolation: isolate
}

.z-20 {
z-index: 20
}
Expand Down
60 changes: 34 additions & 26 deletions services/service-steedos-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,32 +36,7 @@ module.exports = {
apiServer: {
enabled: true
},
built_in_plugins: [
"@steedos/standard-space",
"@steedos/standard-object-database",
"@steedos/standard-process-approval",
"@steedos/standard-collaboration",
"@steedos/standard-ui",
"@steedos/standard-permission",
// "@steedos/webapp-public",
// "@steedos/service-ui",
"@steedos/service-cachers-manager", // 依赖了 steedos/core
"@steedos/workflow",
"@steedos/accounts",
"@steedos/plugin-company",
// "@steedos/word-template",
"@steedos/metadata-api", // ? TODO: 为啥使用meteor package load
"@steedos/data-import", // main 文件不是 package.service.js
"@steedos/service-fields-indexs", // 依赖了meteor collection
// "@steedos/service-accounts",
// "@steedos/service-charts",
// "@steedos/service-pages",
// "@steedos/service-workflow",
// "@steedos/service-plugin-amis",
// "@steedos/standard-process"
// "@steedos/service-files",
// "@steedos/steedos-plugin-schema-builder",
],
built_in_plugins: getBuiltinPlugins(),
plugins: [
]
},
Expand Down Expand Up @@ -459,3 +434,36 @@ module.exports = {
schema.name = 'steedos-server'; //steedo-server 服务禁止修改name
}
};

function getBuiltinPlugins () {
const plugins = [
"@steedos/standard-space",
"@steedos/standard-object-database",
"@steedos/standard-process-approval",
"@steedos/standard-collaboration",
"@steedos/standard-ui",
"@steedos/standard-permission",
// "@steedos/webapp-public",
// "@steedos/service-ui",
"@steedos/service-cachers-manager", // 依赖了 steedos/core
"@steedos/workflow",
"@steedos/accounts",
"@steedos/plugin-company",
// "@steedos/word-template",
"@steedos/metadata-api", // ? TODO: 为啥使用meteor package load
"@steedos/data-import", // main 文件不是 package.service.js
"@steedos/service-fields-indexs", // 依赖了meteor collection
// "@steedos/service-accounts",
// "@steedos/service-charts",
// "@steedos/service-pages",
// "@steedos/service-workflow",
// "@steedos/service-plugin-amis",
// "@steedos/standard-process"
// "@steedos/service-files",
// "@steedos/steedos-plugin-schema-builder",
]
if ("true" != process.env.STEEDOS_ENABLE_STANDARD_ACCOUNTS) {
plugins.unshift("@steedos/standard-accounts");
}
return plugins
}
1 change: 1 addition & 0 deletions services/service-steedos-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@steedos/service-plugin-amis": "2.6.2-beta.26",
"@steedos/service-ui": "2.6.2-beta.26",
"@steedos/service-workflow": "2.6.2-beta.26",
"@steedos/standard-accounts": "2.6.2-beta.26",
"@steedos/standard-collaboration": "2.6.2-beta.26",
"@steedos/standard-object-database": "2.6.2-beta.26",
"@steedos/standard-permission": "2.6.2-beta.26",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: accounts
label: 业务伙伴
icon: account
enable_files: true
enable_search: true
enable_events: true
enable_tasks: true
enable_api: true
enable_share: true
enable_audit: true
enable_enhanced_lookup: true
version: 2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: account_division
label: 业务伙伴分部
type: text
hidden: true
sort_no: 360
Loading

0 comments on commit df6d571

Please sign in to comment.