mirror of
https://github.com/hanzoai/init.git
synced 2026-10-30 18:33:49 +00:00
187 lines
5.1 KiB
YAML
187 lines
5.1 KiB
YAML
- name: 'huly'
|
|
default: true
|
|
steps:
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-calendar'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-recruit'
|
|
enabled: false
|
|
space: 'core:space:Model'
|
|
- type: 'create'
|
|
_class: 'contact:class:Person'
|
|
resultVariable: userPerson
|
|
data:
|
|
space: contact:space:Contacts
|
|
name: 'New User'
|
|
city: ''
|
|
avatarType: 'color'
|
|
avatarProps:
|
|
color: '#f868bc'
|
|
- type: 'mixin'
|
|
_class: 'contact:class:Person'
|
|
mixin: 'contact:mixin:Employee'
|
|
data:
|
|
space: contact:space:Contacts
|
|
_id: ${userPerson}
|
|
active: true
|
|
- type: 'create'
|
|
_class: 'contact:class:PersonAccount'
|
|
resultVariable: userAccount
|
|
data:
|
|
email: '[email protected]'
|
|
role: 'OWNER'
|
|
space: 'core:space:Model'
|
|
person: ${userPerson}
|
|
- type: 'import'
|
|
path: './huly'
|
|
- name: 'staging-dev'
|
|
steps:
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-calendar'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-recruit'
|
|
enabled: false
|
|
space: 'core:space:Model'
|
|
- type: 'create'
|
|
_class: 'contact:class:Person'
|
|
resultVariable: creatorPerson
|
|
data:
|
|
space: contact:space:Contacts
|
|
name: ${creatorName@global}
|
|
personUuid: ${creatorUuid@global}
|
|
city: ''
|
|
avatarType: 'color'
|
|
avatarProps:
|
|
color: '#f868bc'
|
|
- type: 'mixin'
|
|
_class: 'contact:class:Person'
|
|
mixin: 'contact:mixin:Employee'
|
|
data:
|
|
space: contact:space:Contacts
|
|
_id: ${creatorPerson}
|
|
active: true
|
|
- type: 'create'
|
|
_class: 'contact:class:SocialIdentity'
|
|
data:
|
|
space: 'contact:space:Contacts'
|
|
collection: 'socialIds'
|
|
attachedTo: ${creatorPerson}
|
|
attachedToClass: 'contact:class:Person'
|
|
key: ${creatorSocialKey@global}
|
|
type: ${creatorSocialType@global}
|
|
value: ${creatorSocialValue@global}
|
|
confirmed: true
|
|
- type: 'import'
|
|
path: './huly'
|
|
- name: 'tracex-init'
|
|
default: false
|
|
steps:
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-calendar'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-documents'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-training'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-products'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-recruit'
|
|
enabled: false
|
|
space: 'core:space:Model'
|
|
- type: 'create'
|
|
_class: 'contact:class:Person'
|
|
resultVariable: userPerson
|
|
data:
|
|
space: contact:space:Contacts
|
|
name: 'New User'
|
|
city: ''
|
|
avatarType: 'color'
|
|
avatarProps:
|
|
color: '#f868bc'
|
|
- type: 'mixin'
|
|
_class: 'contact:class:Person'
|
|
mixin: 'contact:mixin:Employee'
|
|
data:
|
|
space: contact:space:Contacts
|
|
_id: ${userPerson}
|
|
active: true
|
|
- type: 'create'
|
|
_class: 'contact:class:PersonAccount'
|
|
resultVariable: userAccount
|
|
data:
|
|
email: '[email protected]'
|
|
role: 'OWNER'
|
|
space: 'core:space:Model'
|
|
person: ${userPerson}
|
|
- name: 'bold'
|
|
steps:
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-calendar'
|
|
enabled: true
|
|
space: 'core:space:Model'
|
|
- type: 'update'
|
|
_class: 'core:class:PluginConfiguration'
|
|
data:
|
|
_id: 'plugin-configuration-recruit'
|
|
enabled: false
|
|
space: 'core:space:Model'
|
|
- type: 'create'
|
|
_class: 'contact:class:Person'
|
|
resultVariable: userPerson
|
|
data:
|
|
space: contact:space:Contacts
|
|
name: 'New User'
|
|
city: ''
|
|
avatarType: 'color'
|
|
avatarProps:
|
|
color: '#f868bc'
|
|
- type: 'mixin'
|
|
_class: 'contact:class:Person'
|
|
mixin: 'contact:mixin:Employee'
|
|
data:
|
|
space: contact:space:Contacts
|
|
_id: ${userPerson}
|
|
active: true
|
|
- type: 'create'
|
|
_class: 'contact:class:PersonAccount'
|
|
resultVariable: userAccount
|
|
data:
|
|
email: '[email protected]'
|
|
role: 'OWNER'
|
|
space: 'core:space:Model'
|
|
person: ${userPerson}
|
|
- type: 'import'
|
|
path: './bold'
|