Merge pull request #1113 from Superalgos/next-version
Next version into Develop
No files matched your search
@@ -102,94 +102,94 @@
|
||||
<div id="menu" class="docs-menu-table">
|
||||
<div class="menu-row">
|
||||
<div class="menu-item" onClick="window.contextMenu.editParagraph()">
|
||||
<img src="Icons/Superalgos/docs-action-edit-paragraph.png" class="menu-img" title="Edit">
|
||||
<img src="Icons/Superalgos/Docs/docs-action-edit-paragraph.png" class="menu-img" title="Edit">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toTitle()">
|
||||
<img src="Icons/Superalgos/docs-title-style.png" class="menu-img" title="Title">
|
||||
<img src="Icons/Superalgos/Docs/docs-title-style.png" class="menu-img" title="Title">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toSubtitle()">
|
||||
<img src="Icons/Superalgos/docs-subtitle-style.png" class="menu-img" title="Subtitle">
|
||||
<img src="Icons/Superalgos/Docs/docs-subtitle-style.png" class="menu-img" title="Subtitle">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toNote()">
|
||||
<img src="Icons/Superalgos/docs-note-style.png" class="menu-img" title="Note">
|
||||
<img src="Icons/Superalgos/Docs/docs-note-style.png" class="menu-img" title="Note">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toJavascript()">
|
||||
<img src="Icons/Superalgos/docs-js-code-style.png" class="menu-img" title="Javascript">
|
||||
<img src="Icons/Superalgos/Docs/docs-js-code-style.png" class="menu-img" title="Javascript">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toYouTubeVideo()">
|
||||
<img src="Icons/Superalgos/docs-youtube-video-style.png" class="menu-img" title="Youtube">
|
||||
<img src="Icons/Superalgos/Docs/docs-youtube-video-style.png" class="menu-img" title="Youtube">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toBlock()">
|
||||
<img src="Icons/Superalgos/docs-block-style.png" class="menu-img" title="Block">
|
||||
<img src="Icons/Superalgos/Docs/docs-block-style.png" class="menu-img" title="Block">
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu-row">
|
||||
<div class="menu-item" onClick="window.contextMenu.copyLink()">
|
||||
<img src="Icons/Superalgos/docs-action-copy-to-clipboard.png" class="menu-img" title="Copy">
|
||||
<img src="Icons/Superalgos/Docs/docs-action-copy-to-clipboard.png" class="menu-img" title="Copy">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toText()">
|
||||
<img src="Icons/Superalgos/docs-text-style.png" class="menu-img" title="Text">
|
||||
<img src="Icons/Superalgos/Docs/docs-text-style.png" class="menu-img" title="Text">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toList()">
|
||||
<img src="Icons/Superalgos/docs-list-style.png" class="menu-img" title="List">
|
||||
<img src="Icons/Superalgos/Docs/docs-list-style.png" class="menu-img" title="List">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toSuccess()">
|
||||
<img src="Icons/Superalgos/docs-success-style.png" class="menu-img" title="Success">
|
||||
<img src="Icons/Superalgos/Docs/docs-success-style.png" class="menu-img" title="Success">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toJson()">
|
||||
<img src="Icons/Superalgos/docs-json-code-style.png" class="menu-img" title="Json">
|
||||
<img src="Icons/Superalgos/Docs/docs-json-code-style.png" class="menu-img" title="Json">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toGif()">
|
||||
<img src="Icons/Superalgos/docs-gif-style.png" class="menu-img" title="Gif">
|
||||
<img src="Icons/Superalgos/Docs/docs-gif-style.png" class="menu-img" title="Gif">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toInclude()">
|
||||
<img src="Icons/Superalgos/docs-include-style.png" class="menu-img" title="Include">
|
||||
<img src="Icons/Superalgos/Docs/docs-include-style.png" class="menu-img" title="Include">
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu-row">
|
||||
<div class="menu-item" onClick="window.contextMenu.toPlaceholder()">
|
||||
<img src="Icons/Superalgos/docs-placeholder-style.png" class="menu-img" title="Placeholder">
|
||||
<img src="Icons/Superalgos/Docs/docs-placeholder-style.png" class="menu-img" title="Placeholder">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toSummary()">
|
||||
<img src="Icons/Superalgos/docs-summary-style.png" class="menu-img" title="Summary">
|
||||
<img src="Icons/Superalgos/Docs/docs-summary-style.png" class="menu-img" title="Summary">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toCallout()">
|
||||
<img src="Icons/Superalgos/docs-callout-style.png" class="menu-img" title="Callout">
|
||||
<img src="Icons/Superalgos/Docs/docs-callout-style.png" class="menu-img" title="Callout">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toImportant()">
|
||||
<img src="Icons/Superalgos/docs-important-style.png" class="menu-img" title="Important">
|
||||
<img src="Icons/Superalgos/Docs/docs-important-style.png" class="menu-img" title="Important">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toTable()">
|
||||
<img src="Icons/Superalgos/docs-table-style.png" class="menu-img" title="Table">
|
||||
<img src="Icons/Superalgos/Docs/docs-table-style.png" class="menu-img" title="Table">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toPng()">
|
||||
<img src="Icons/Superalgos/docs-png-style.png" class="menu-img" title="Png">
|
||||
<img src="Icons/Superalgos/Docs/docs-png-style.png" class="menu-img" title="Png">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toSection()">
|
||||
<img src="Icons/Superalgos/docs-section-style.png" class="menu-img" title="Section">
|
||||
<img src="Icons/Superalgos/Docs/docs-section-style.png" class="menu-img" title="Section">
|
||||
</div>
|
||||
</div>
|
||||
<div class="menu-row">
|
||||
<div class="menu-item" onClick="window.contextMenu.deleteParagraph()">
|
||||
<img src="Icons/Superalgos/docs-action-delete-paragraph.png" class="menu-img" title="Delete">
|
||||
<img src="Icons/Superalgos/Docs/docs-action-delete-paragraph.png" class="menu-img" title="Delete">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toWebPageLink()">
|
||||
<img src="Icons/Superalgos/docs-web-page-link-style.png" class="menu-img" title="Link">
|
||||
<img src="Icons/Superalgos/Docs/docs-web-page-link-style.png" class="menu-img" title="Link">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toAnchor()">
|
||||
<img src="Icons/Superalgos/docs-anchor-style.png" class="menu-img" title="Anchor">
|
||||
<img src="Icons/Superalgos/Docs/docs-anchor-style.png" class="menu-img" title="Anchor">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toWarning()">
|
||||
<img src="Icons/Superalgos/docs-warning-style.png" class="menu-img" title="Warning">
|
||||
<img src="Icons/Superalgos/Docs/docs-warning-style.png" class="menu-img" title="Warning">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toHierarchy()">
|
||||
<img src="Icons/Superalgos/docs-hierarchy-style.png" class="menu-img" title="Hierarchy">
|
||||
<img src="Icons/Superalgos/Docs/docs-hierarchy-style.png" class="menu-img" title="Hierarchy">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toError()">
|
||||
<img src="Icons/Superalgos/docs-error-style.png" class="menu-img" title="Error">
|
||||
<img src="Icons/Superalgos/Docs/docs-error-style.png" class="menu-img" title="Error">
|
||||
</div>
|
||||
<div class="menu-item" onClick="window.contextMenu.toChapter()">
|
||||
<img src="Icons/Superalgos/docs-chapter-style.png" class="menu-img" title="Chapter">
|
||||
<img src="Icons/Superalgos/Docs/docs-chapter-style.png" class="menu-img" title="Chapter">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -505,40 +505,64 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
|
||||
for (let i = 0; i < docsSchema.length; i++) {
|
||||
let schemaDocument = docsSchema[i]
|
||||
/*
|
||||
For some type of schemas we will save the file at an extra
|
||||
folder derived from the document's type.
|
||||
*/
|
||||
let fileName = schemaDocument.type.toLowerCase()
|
||||
for (let j = 0; j < 10; j++) {
|
||||
fileName = cleanFileName(fileName)
|
||||
}
|
||||
let pageNumber = '00' + schemaDocument.pageNumber
|
||||
|
||||
let newFilepath = filePath
|
||||
switch (category) {
|
||||
case 'Topic': {
|
||||
fileName = schemaDocument.topic.toLowerCase() + '-' + pageNumber.substring(pageNumber.length - 3, pageNumber.length) + '-' + schemaDocument.type.toLowerCase()
|
||||
fileName = cleanFileName(fileName)
|
||||
newFilepath = createPrefixDirectories(filePath, schemaDocument.topic)
|
||||
break
|
||||
}
|
||||
case 'Tutorial': {
|
||||
fileName = schemaDocument.tutorial.toLowerCase() + '-' + pageNumber.substring(pageNumber.length - 3, pageNumber.length) + '-' + schemaDocument.type.toLowerCase()
|
||||
fileName = cleanFileName(fileName)
|
||||
newFilepath = createPrefixDirectories(filePath, schemaDocument.tutorial)
|
||||
break
|
||||
}
|
||||
case 'Review': {
|
||||
fileName = schemaDocument.review.toLowerCase() + '-' + pageNumber.substring(pageNumber.length - 3, pageNumber.length) + '-' + schemaDocument.type.toLowerCase()
|
||||
fileName = cleanFileName(fileName)
|
||||
newFilepath = createPrefixDirectories(filePath, schemaDocument.review)
|
||||
break
|
||||
}
|
||||
case 'Node': {
|
||||
newFilepath = createPrefixDirectories(filePath, schemaDocument.type)
|
||||
break
|
||||
}
|
||||
case 'Concept': {
|
||||
newFilepath = createPrefixDirectories(filePath, schemaDocument.type)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
function createPrefixDirectories(filePath, schemaTextToUse) {
|
||||
let firstLetter = schemaTextToUse.substring(0, 1)
|
||||
createNewDir(filePath + '/' + firstLetter)
|
||||
let extraWord = schemaTextToUse.split(' ')[0]
|
||||
createNewDir(filePath + '/' + firstLetter + '/' + extraWord)
|
||||
return filePath + '/' + firstLetter + '/' + extraWord + '/' + cleanFileName(schemaTextToUse)
|
||||
}
|
||||
|
||||
fileName = fileName + '.json'
|
||||
|
||||
if (schemaDocument.deleted === true) {
|
||||
try {
|
||||
fs.unlinkSync(filePath + '/' + fileName)
|
||||
console.log('[SUCCESS] ' + filePath + '/' + fileName + ' deleted.')
|
||||
fs.unlinkSync(newFilepath + '/' + fileName)
|
||||
console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' deleted.')
|
||||
} catch (err) {
|
||||
noErrorsDuringSaving = false
|
||||
console.log('[ERROR] httpInterface -> Docs -> Save -> ' + filePath + '/' + fileName + ' could not be deleted.')
|
||||
console.log('[ERROR] httpInterface -> Docs -> Save -> Resolve the issue that is preventing the Client to delete this file. Look at the error message below as a guide. At the UI you will need to delete this page again in order for the Client to retry next time you execute the docs.save command.')
|
||||
console.log('[ERROR] httpInterface -> Docs -> Save -> err.stack = ' + err.stack)
|
||||
console.log('[ERROR] httpInterface -> Docs -> Delete -> ' + newFilepath + '/' + fileName + ' could not be deleted.')
|
||||
console.log('[ERROR] httpInterface -> Docs -> Delete -> Resolve the issue that is preventing the Client to delete this file. Look at the error message below as a guide. At the UI you will need to delete this page again in order for the Client to retry next time you execute the docs.save command.')
|
||||
console.log('[ERROR] httpInterface -> Docs -> Delete -> err.stack = ' + err.stack)
|
||||
}
|
||||
} else {
|
||||
if (schemaDocument.updated === true || schemaDocument.created === true) {
|
||||
@@ -548,28 +572,32 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
schemaDocument.updated = undefined
|
||||
schemaDocument.created = undefined
|
||||
let fileContent = JSON.stringify(schemaDocument, undefined, 4)
|
||||
try {
|
||||
fs.mkdirSync(filePath)
|
||||
} catch (err) {
|
||||
if (err.message.indexOf('file already exists') < 0) {
|
||||
throw (err)
|
||||
}
|
||||
}
|
||||
fs.writeFileSync(filePath + '/' + fileName, fileContent)
|
||||
createNewDir(newFilepath)
|
||||
fs.writeFileSync(newFilepath + '/' + fileName, fileContent)
|
||||
if (created === true) {
|
||||
console.log('[SUCCESS] ' + filePath + '/' + fileName + ' created.')
|
||||
console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' created.')
|
||||
} else {
|
||||
if (updated === true) {
|
||||
console.log('[SUCCESS] ' + filePath + '/' + fileName + ' updated.')
|
||||
console.log('[SUCCESS] ' + newFilepath + '/' + fileName + ' updated.')
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
noErrorsDuringSaving = false
|
||||
console.log('[ERROR] httpInterface -> Docs -> Save -> ' + filePath + '/' + fileName + ' could not be created / updated.')
|
||||
console.log('[ERROR] httpInterface -> Docs -> Save -> ' + newFilepath + '/' + fileName + ' could not be created / updated.')
|
||||
console.log('[ERROR] httpInterface -> Docs -> Save -> err.stack = ' + err.stack)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function createNewDir(path) {
|
||||
try {
|
||||
fs.mkdirSync(path)
|
||||
} catch (err) {
|
||||
if (err.message.indexOf('file already exists') < 0) {
|
||||
throw (err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return noErrorsDuringSaving
|
||||
@@ -948,6 +976,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
}
|
||||
|
||||
path = unescape(path)
|
||||
|
||||
respondWithImage(path, httpResponse)
|
||||
}
|
||||
break
|
||||
@@ -1068,23 +1097,19 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
|
||||
const folder = global.env.PATH_TO_PROJECTS + '/' + project + '/Icons/'
|
||||
|
||||
fs.readdir(folder, (err, files) => {
|
||||
if (err) {
|
||||
console.log('[ERROR] Error reading IconNames.', err.stack)
|
||||
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse)
|
||||
return
|
||||
} else {
|
||||
for (let j = 0; j < files.length; j++) {
|
||||
let file = files[j]
|
||||
icons.push([project, file])
|
||||
}
|
||||
getAllFilesInDirectoryAndSubdirectories(folder, onFilesReady)
|
||||
|
||||
projectCounter++
|
||||
if (projectCounter === totalProjects) {
|
||||
respondWithContent(JSON.stringify(icons), httpResponse)
|
||||
}
|
||||
function onFilesReady(files) {
|
||||
for (let j = 0; j < files.length; j++) {
|
||||
let file = files[j]
|
||||
icons.push([project, file])
|
||||
}
|
||||
})
|
||||
|
||||
projectCounter++
|
||||
if (projectCounter === totalProjects) {
|
||||
respondWithContent(JSON.stringify(icons), httpResponse)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break
|
||||
@@ -1098,13 +1123,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
let folder = global.env.PATH_TO_PROJECTS + '/' + project + '/Plugins/' + pluginType
|
||||
|
||||
fs.readdir(folder, (err, files) => {
|
||||
if (err) {
|
||||
console.log('[ERROR] Error reading PluginFileNames.', err.stack)
|
||||
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse)
|
||||
return
|
||||
} else {
|
||||
respondWithContent(JSON.stringify(files), httpResponse)
|
||||
if (files === undefined) {
|
||||
files = []
|
||||
}
|
||||
respondWithContent(JSON.stringify(files), httpResponse)
|
||||
})
|
||||
}
|
||||
break
|
||||
@@ -1540,17 +1562,32 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
break
|
||||
}
|
||||
}
|
||||
getAllFilesInDirectoryAndSubdirectories(filePath + folder, onFilesReady)
|
||||
function onFilesReady(files) {
|
||||
|
||||
let schemaArray = []
|
||||
let fileList = fs.readdirSync(filePath + '/' + folder)
|
||||
for (let k = 0; k < fileList.length; k++) {
|
||||
let name = fileList[k]
|
||||
let fileContent = fs.readFileSync(filePath + '/' + folder + '/' + name)
|
||||
let schemaDocument = JSON.parse(fileContent)
|
||||
schemaArray.push(schemaDocument)
|
||||
let schemaArray = []
|
||||
// let fileList = fs.readdirSync(filePath + '/' + folder)
|
||||
for (let k = 0; k < files.length; k++) {
|
||||
let name = files[k]
|
||||
let nameSplitted = name.split(folder)
|
||||
let fileName = nameSplitted[1]
|
||||
for (let i = 0; i < 10; i++) {
|
||||
fileName = fileName.replace('\\', '/')
|
||||
}
|
||||
let fileToRead = filePath + folder + fileName
|
||||
|
||||
let fileContent = fs.readFileSync(fileToRead)
|
||||
let schemaDocument = JSON.parse(fileContent)
|
||||
schemaArray.push(schemaDocument)
|
||||
}
|
||||
let schema = JSON.stringify(schemaArray)
|
||||
respondWithContent(schema, httpResponse)
|
||||
}
|
||||
let schema = JSON.stringify(schemaArray)
|
||||
respondWithContent(schema, httpResponse)
|
||||
|
||||
// console.log(filePath + '/' + folder)
|
||||
|
||||
|
||||
|
||||
} catch (err) {
|
||||
if (err.message.indexOf('no such file or directory') < 0) {
|
||||
console.log('Could not send Schema:', filePath, schemaType)
|
||||
@@ -1739,4 +1776,39 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
function getAllFilesInDirectoryAndSubdirectories(dir, callback) {
|
||||
const { promisify } = require('util');
|
||||
const { resolve } = require('path');
|
||||
const fs = require('fs');
|
||||
const readdir = promisify(fs.readdir);
|
||||
const stat = promisify(fs.stat);
|
||||
|
||||
getFiles(dir)
|
||||
.then(files => {
|
||||
let splittedDir = dir.split('/')
|
||||
let lastFolder = splittedDir[splittedDir.length - 2]
|
||||
let pathAndNames = []
|
||||
for (let i = 0; i < files.length; i++) {
|
||||
let file = files[i]
|
||||
let filesSplitted = file.split(lastFolder)
|
||||
let pathName = filesSplitted[1]
|
||||
pathName = pathName.substring(1, pathName.length)
|
||||
pathAndNames.push(pathName)
|
||||
}
|
||||
callback(pathAndNames)
|
||||
})
|
||||
.catch(e => {
|
||||
callback([])
|
||||
});
|
||||
|
||||
async function getFiles(dir) {
|
||||
const subdirs = await readdir(dir);
|
||||
const files = await Promise.all(subdirs.map(async (subdir) => {
|
||||
const res = resolve(dir, subdir);
|
||||
return (await stat(res)).isDirectory() ? getFiles(res) : res;
|
||||
}));
|
||||
return files.reduce((a, f) => a.concat(f), []);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "Luis Fernando Molina",
|
||||
"superalgosUserName": "Luis Fernando Molina",
|
||||
"githubUserName": "Luis-Fernando-Molina",
|
||||
"socialProfiles": {
|
||||
"telegram": "luis_fernando_molina",
|
||||
"twitter": "Luis_Fer_Molina"
|
||||
},
|
||||
"contributions": [
|
||||
{
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"assetName": "Whole Project",
|
||||
"description": "Superalgos as a project has built over time several assets.",
|
||||
"assetWeight": 100,
|
||||
"innerAssets": [
|
||||
{
|
||||
"assetName": "Software",
|
||||
"description": "Superalgos Software is all the sorftare written for the project in any form.",
|
||||
"assetWeight": 85
|
||||
},
|
||||
{
|
||||
"assetName": "Marketing",
|
||||
"description": "All marketing related assets.",
|
||||
"assetWeight": 10,
|
||||
"innerAssets": [
|
||||
{
|
||||
"assetName": "Web Site",
|
||||
"description": "The official Superalgos Website.",
|
||||
"assetWeight": 10,
|
||||
"innerAssets": [
|
||||
{
|
||||
"assetName": "Home Page",
|
||||
"assetWeight": 85
|
||||
},
|
||||
{
|
||||
"assetName": "Token",
|
||||
"assetWeight": 85
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"assetName": "Articles",
|
||||
"assetWeight": 5
|
||||
},
|
||||
{
|
||||
"assetName": "Documentation",
|
||||
"assetWeight": 5
|
||||
},
|
||||
{
|
||||
"assetName": "Tutorials",
|
||||
"assetWeight": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"assetName": "Community",
|
||||
"assetWeight": 5
|
||||
},
|
||||
{
|
||||
"assetName": "Teams",
|
||||
"assetWeight": 5,
|
||||
"innerAssets": [
|
||||
{
|
||||
"assetName": "Core Team",
|
||||
"assetWeight": 5
|
||||
},
|
||||
{
|
||||
"assetName": "Core Devs Team",
|
||||
"assetWeight": 5
|
||||
},
|
||||
{
|
||||
"assetName": "Marketing Team",
|
||||
"assetWeight": 5
|
||||
},
|
||||
{
|
||||
"assetName": "Legal Team",
|
||||
"assetWeight": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 9.7 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
@@ -0,0 +1 @@
|
||||
{"type":"Workspace","name":"Governance Demo","rootNodes":[{"type":"Plugins","name":"New Plugins","project":"Superalgos","pluginProjects":[{"type":"Plugin Project","name":"Superalgos","config":"{ \n \"codeName\": \"Superalgos\"\n}","project":"Superalgos","id":"c4e402d7-5228-408c-9d67-379d6ef40bae","savedPayload":{"position":{"x":36401.378281255034,"y":10710.552375894946},"targetPosition":{"x":36101.378281255034,"y":10710.552375894946},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Plugin Project","name":"Governance","config":"{\"codeName\":\"Governance\"}","project":"Superalgos","id":"22eadd2a-38ab-4c0c-a49d-48747c927855","savedPayload":{"position":{"x":35801.378281255034,"y":10710.552375894946},"targetPosition":{"x":36101.378281255034,"y":10710.552375894946},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}}],"id":"bfb0b514-3b9f-4e9a-85ca-d0ca714b09f6","savedPayload":{"position":{"x":36101.378281255034,"y":10710.552375894946},"targetPosition":{"x":36101.378281255034,"y":10710.552375894946},"floatingObject":{"isPinned":true,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Design Space","name":"My Design Space","project":"Superalgos","spaceStyle":{"type":"Space Style","name":"My Space Style","config":"{\n \"backgroundColor\": \"UI_COLOR.BLACK\",\n \"node\": {\n \"fontSize\": 16,\n \"imageSize\": 60,\n \"type\": {\n \"fontColor\": \"UI_COLOR.WHITE\"\n },\n \"name\": {\n \"fontColor\": \"UI_COLOR.WHITE\"\n },\n \"menuItem\": {\n \"backgroundColor\": \"UI_COLOR.BLACK\",\n \"fontColor\": \"UI_COLOR.WHITE\",\n \"fontSize\": 14,\n \"imageSize\": 14\n }\n }\n}","project":"Superalgos","id":"fad0e429-f7a7-4b62-a2a5-2ead29b8f695","savedPayload":{"position":{"x":25240.875,"y":10717.347826086958},"targetPosition":{"x":24940.875,"y":10717.347826086958},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"spaceSettings":{"type":"Space Settings","name":"New Space Settings","config":"{\n \"node\": {\n \"distancePercentage\": 60,\n \"radiusPercentage\": 85,\n \"massPercentage\": 100,\n \"animationSteps\": 2,\n \"menuItem\": {\n \"widthPercentage\": 100,\n \"heightPercentage\": 60,\n \"radiusPercentage\": 90\n }\n },\n \"physics\": false\n}","project":"Superalgos","id":"05c9d6d5-24c4-4eec-9aca-9668d6486fdd","savedPayload":{"position":{"x":24640.875,"y":10717.347826086958},"targetPosition":{"x":24940.875,"y":10717.347826086958},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"id":"f8485ce5-67f3-4476-b9e2-80994e49c318","savedPayload":{"position":{"x":24940.875,"y":10717.347826086958},"targetPosition":{"x":24940.875,"y":10717.347826086958},"floatingObject":{"isPinned":true,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false},"frame":{"position":{"x":255,"y":588.3125}}}},{"type":"APIs","name":"New APIs","project":"Superalgos","githubAPI":{"type":"Github API","name":"New Github API","config":"{\n \"username\": \"\",\n \"token\": \"\"\n}","project":"Superalgos","id":"90d121ab-9f19-4437-a051-1222287085fc","savedPayload":{"position":{"x":30630.458333333332,"y":10730.006707946337},"targetPosition":{"x":30330.458333333332,"y":10730.006707946337},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":true,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"id":"23021bb7-9997-4fe6-8199-71ebf70aef76","savedPayload":{"position":{"x":30330.458333333332,"y":10730.006707946337},"targetPosition":{"x":30330.458333333332,"y":10730.006707946337},"floatingObject":{"isPinned":true,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{"isRunning":false}}},{"type":"Governance Project","name":"New Governance Project","project":"Governance","projectDefinition":{"type":"Project Definition","name":"Governance","config":"{ \n \"codeName\": \"Governance\"\n}","project":"Superalgos","id":"ba1aa656-d184-493a-b332-e4db109065f0","savedPayload":{"position":{"x":13832,"y":10738.5},"targetPosition":{"x":13532,"y":10738.5},"floatingObject":{"isPinned":false,"isFrozen":false,"isCollapsed":false,"angleToParent":1,"distanceToParent":3,"arrangementStyle":0},"uiObject":{}}},"id":"db380c52-cf90-475b-87df-c005dd51cdf6","savedPayload":{"position":{"x":13532,"y":1073Line truncated
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Asset Claim Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Reference Parent Find In Parents Node Type->User Profile",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Asset Contribution Claim->"
|
||||
},
|
||||
"propertyNameAtParent": "assetClaimVotes"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"type": "Asset Class",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Class",
|
||||
"relatedUiObject": "Asset Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset",
|
||||
"relatedUiObject": "Asset"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Assets->Asset Class->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position Class->Position->"
|
||||
},
|
||||
"propertyNameAtParent": "assetClasses",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "assetClasses",
|
||||
"type": "array",
|
||||
"childType": "Asset Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "assets",
|
||||
"type": "array",
|
||||
"childType": "Asset",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "Asset Contribution Claim",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent Parent Parent",
|
||||
"Use Reference Parent Parent",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{\n \"description\": \"\"\n}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Asset Contributions Folder->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Asset->"
|
||||
},
|
||||
"propertyNameAtParent": "assetContributionClaims"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Asset Contributions Folder",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Contributions Folder",
|
||||
"relatedUiObject": "Asset Contributions Folder"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Contribution Claim",
|
||||
"relatedUiObject": "Asset Contribution Claim"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Contribution Claims->Asset Contributions Folder->"
|
||||
},
|
||||
"propertyNameAtParent": "assetContributionsFolder",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "assetContributionsFolder",
|
||||
"type": "array",
|
||||
"childType": "Asset Contributions Folder",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "assetContributionClaims",
|
||||
"type": "array",
|
||||
"childType": "Asset Contribution Claim",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"type": "Asset Weight Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent Parent Parent Parent",
|
||||
"Use Reference Parent Parent Parent",
|
||||
"Use Reference Parent Parent",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Asset Class->Asset->"
|
||||
},
|
||||
"propertyNameAtParent": "assetWeightVotes"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Asset",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Class",
|
||||
"relatedUiObject": "Asset Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset",
|
||||
"relatedUiObject": "Asset"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Asset Class->Asset->"
|
||||
},
|
||||
"propertyNameAtParent": "assets",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "assetClasses",
|
||||
"type": "array",
|
||||
"childType": "Asset Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "assets",
|
||||
"type": "array",
|
||||
"childType": "Asset",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"type": "Assets",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Class",
|
||||
"relatedUiObject": "Asset Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset",
|
||||
"relatedUiObject": "Asset"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"isHierarchyHead": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 0,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "assetClasses",
|
||||
"type": "array",
|
||||
"childType": "Asset Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "assets",
|
||||
"type": "array",
|
||||
"childType": "Asset",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"type": "Contribution Claims",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Asset Contributions Folder",
|
||||
"relatedUiObject": "Asset Contributions Folder",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Contributions Folder",
|
||||
"relatedUiObject": "Feature Contributions Folder"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Contributions Folder",
|
||||
"relatedUiObject": "Position Contributions Folder"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->User Profile->"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 1,
|
||||
"propertyNameAtParent": "contributionClaims",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "assetContributionsFolder",
|
||||
"type": "array",
|
||||
"childType": "Asset Contributions Folder",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "featureContributionsFolder",
|
||||
"type": "array",
|
||||
"childType": "Feature Contributions Folder",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positionContributionsFolder",
|
||||
"type": "array",
|
||||
"childType": "Position Contributions Folder",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Feature Claim Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Reference Parent Find In Parents Node Type->User Profile",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Feature Contribution Claim->"
|
||||
},
|
||||
"propertyNameAtParent": "featureClaimVotes"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"type": "Feature Class",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Class",
|
||||
"relatedUiObject": "Feature Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature",
|
||||
"relatedUiObject": "Feature"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Features->Feature Class->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position Class->Position->"
|
||||
},
|
||||
"propertyNameAtParent": "featureClasses",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "featureClasses",
|
||||
"type": "array",
|
||||
"childType": "Feature Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "features",
|
||||
"type": "array",
|
||||
"childType": "Feature",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Feature Contribution Claim",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent",
|
||||
"Use Reference Parent Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Feature Contributions Folder->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Feature->"
|
||||
},
|
||||
"propertyNameAtParent": "featureContributionClaims"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Feature Contributions Folder",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Contributions Folder",
|
||||
"relatedUiObject": "Feature Contributions Folder"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Contribution Claim",
|
||||
"relatedUiObject": "Feature Contribution Claim"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Contribution Claims->Feature Contributions Folder->"
|
||||
},
|
||||
"propertyNameAtParent": "featureContributionsFolder",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "featureContributionsFolder",
|
||||
"type": "array",
|
||||
"childType": "Feature Contributions Folder",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "featureContributionClaims",
|
||||
"type": "array",
|
||||
"childType": "Feature Contribution Claim",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "Feature Weight Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent Parent Parent",
|
||||
"Use Reference Parent Parent",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Feature Class->Feature->"
|
||||
},
|
||||
"propertyNameAtParent": "featureWeightVotes"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Feature",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Class",
|
||||
"relatedUiObject": "Feature Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature",
|
||||
"relatedUiObject": "Feature"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Feature Class->Feature->"
|
||||
},
|
||||
"propertyNameAtParent": "features",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "featureClasses",
|
||||
"type": "array",
|
||||
"childType": "Feature Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "features",
|
||||
"type": "array",
|
||||
"childType": "Feature",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"type": "Features",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Class",
|
||||
"relatedUiObject": "Feature Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature",
|
||||
"relatedUiObject": "Feature"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"isHierarchyHead": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 0,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "featureClasses",
|
||||
"type": "array",
|
||||
"childType": "Feature Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "features",
|
||||
"type": "array",
|
||||
"childType": "Feature",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Governance Project",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Pools",
|
||||
"relatedUiObject": "Pools",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Assets",
|
||||
"relatedUiObject": "Assets",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Features",
|
||||
"relatedUiObject": "Features",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Positions",
|
||||
"relatedUiObject": "Positions",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add User Profile",
|
||||
"relatedUiObject": "User Profile",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity"
|
||||
}
|
||||
],
|
||||
"isProjectHead": true,
|
||||
"isTitleAllwaysVisible": false,
|
||||
"addLeftIcons": true,
|
||||
"isPinned": true,
|
||||
"positionLocked": true,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "projectDefinition",
|
||||
"type": "node",
|
||||
"childType": "Project Definition",
|
||||
"project": "Superalgos",
|
||||
"autoAdd": true
|
||||
}
|
||||
],
|
||||
"icon": "Governance Project"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"type": "Pool Class",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool Class",
|
||||
"relatedUiObject": "Pool Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool",
|
||||
"relatedUiObject": "Pool"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Pools->Pool Class->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position Class->Position->"
|
||||
},
|
||||
"propertyNameAtParent": "poolClasses",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "poolClasses",
|
||||
"type": "array",
|
||||
"childType": "Pool Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "pools",
|
||||
"type": "array",
|
||||
"childType": "Pool",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Pool Weight Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent",
|
||||
"Use Reference Parent Type"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Pool Class->Pool->"
|
||||
},
|
||||
"propertyNameAtParent": "poolWeightVotes"
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"type": "Pool",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool Class",
|
||||
"relatedUiObject": "Pool Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool",
|
||||
"relatedUiObject": "Pool"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Pool Class->Pool->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Positions->Assets->Features->"
|
||||
},
|
||||
"propertyNameAtParent": "pools",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "poolClasses",
|
||||
"type": "array",
|
||||
"childType": "Pool Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "pools",
|
||||
"type": "array",
|
||||
"childType": "Pool",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"type": "Pools",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool Class",
|
||||
"relatedUiObject": "Pool Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool",
|
||||
"relatedUiObject": "Pool"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{\n \"tokens\": \"\"\n}"
|
||||
},
|
||||
"isHierarchyHead": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 0,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "poolClasses",
|
||||
"type": "array",
|
||||
"childType": "Pool Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "pools",
|
||||
"type": "array",
|
||||
"childType": "Pool",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Position Claim Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Reference Parent Find In Parents Node Type->User Profile",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position Contribution Claim->"
|
||||
},
|
||||
"propertyNameAtParent": "positionClaimVotes"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Position Class",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position",
|
||||
"relatedUiObject": "Position"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Class",
|
||||
"relatedUiObject": "Position Class"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Position->Position Class->"
|
||||
},
|
||||
"propertyNameAtParent": "positionClasss",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "positions",
|
||||
"type": "array",
|
||||
"childType": "Position",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positionClasss",
|
||||
"type": "array",
|
||||
"childType": "Position Class",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Position Contribution Claim",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent",
|
||||
"Use Reference Parent Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Position Contributions Folder->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position->"
|
||||
},
|
||||
"propertyNameAtParent": "positionContributionClaims"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Position Contributions Folder",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Contributions Folder",
|
||||
"relatedUiObject": "Position Contributions Folder"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Contribution Claim",
|
||||
"relatedUiObject": "Position Contribution Claim"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Contribution Claims->Position Contributions Folder->"
|
||||
},
|
||||
"propertyNameAtParent": "positionContributionsFolder",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "positionContributionsFolder",
|
||||
"type": "array",
|
||||
"childType": "Position Contributions Folder",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positionContributionClaims",
|
||||
"type": "array",
|
||||
"childType": "Position Contribution Claim",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"type": "Position Weight Vote",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent Parent",
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->Position Class->Position->"
|
||||
},
|
||||
"propertyNameAtParent": "positionWeightVotes"
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"type": "Position",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position",
|
||||
"relatedUiObject": "Position"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Class",
|
||||
"relatedUiObject": "Position Class"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Positions->Position->Position Class->"
|
||||
},
|
||||
"propertyNameAtParent": "positions",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "positions",
|
||||
"type": "array",
|
||||
"childType": "Position",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positionClasss",
|
||||
"type": "array",
|
||||
"childType": "Position Class",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"type": "Positions",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Class",
|
||||
"relatedUiObject": "Position Class"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"label": "Add Position",
|
||||
"relatedUiObject": "Position",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"isHierarchyHead": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 0,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "positionClasss",
|
||||
"type": "array",
|
||||
"childType": "Position Class",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positions",
|
||||
"type": "array",
|
||||
"childType": "Position",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"type": "User Profile",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "contributionClaims",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Contribution Claims",
|
||||
"relatedUiObject": "Contribution Claims"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "votesDistribution",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Votes Distribution",
|
||||
"relatedUiObject": "Votes Distribution"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "userReferrer",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add User Referrer",
|
||||
"relatedUiObject": "User Referrer"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{\n\"codeName\": \"\"\n}"
|
||||
},
|
||||
"isTitleAllwaysVisible": false,
|
||||
"isHierarchyHead": true,
|
||||
"addLeftIcons": true,
|
||||
"level": 0,
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "contributionClaims",
|
||||
"type": "node",
|
||||
"childType": "Contribution Claims",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "votesDistribution",
|
||||
"type": "node",
|
||||
"childType": "Votes Distribution",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "userReferrer",
|
||||
"type": "node",
|
||||
"childType": "User Referrer",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"type": "User Referrer",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{\n \"description\": \"\"\n}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->User Profile->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->User Profile->"
|
||||
},
|
||||
"propertyNameAtParent": "userReferrer"
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"type": "User Vote Transfer",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
"Use Reference Parent"
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Switch->"
|
||||
},
|
||||
"referencingRules": {
|
||||
"compatibleTypes": "->User Profile->"
|
||||
},
|
||||
"propertyNameAtParent": "userVoteTransfers"
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"type": "Votes Distribution",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Votes Switch",
|
||||
"relatedUiObject": "Votes Switch"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "userReferrer",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add User Referrer",
|
||||
"relatedUiObject": "User Referrer"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->User Profile->"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 1,
|
||||
"propertyNameAtParent": "votesDistribution",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "votesSwitch",
|
||||
"type": "array",
|
||||
"childType": "Votes Switch",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"type": "Votes Switch",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"actionFunction": "uiObject.configEditor.activate",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Votes Switch",
|
||||
"relatedUiObject": "Votes Switch"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Pool Weight Vote",
|
||||
"relatedUiObject": "Pool Weight Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Weight Vote",
|
||||
"relatedUiObject": "Position Weight Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Weight Vote",
|
||||
"relatedUiObject": "Asset Weight Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Weight Vote",
|
||||
"relatedUiObject": "Feature Weight Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Position Claim Vote",
|
||||
"relatedUiObject": "Position Claim Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Asset Claim Vote",
|
||||
"relatedUiObject": "Asset Claim Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add Feature Claim Vote",
|
||||
"relatedUiObject": "Feature Claim Vote"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"actionFunction": "payload.executeAction",
|
||||
"label": "Add User Vote Transfer",
|
||||
"relatedUiObject": "User Vote Transfer"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 2,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Votes Distribution->Votes Switch->"
|
||||
},
|
||||
"propertyNameAtParent": "votesSwitch",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "votesSwitch",
|
||||
"type": "array",
|
||||
"childType": "Votes Switch",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "poolWeightVotes",
|
||||
"type": "array",
|
||||
"childType": "Pool Weight Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "assetWeightVotes",
|
||||
"type": "array",
|
||||
"childType": "Asset Weight Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "featureWeightVotes",
|
||||
"type": "array",
|
||||
"childType": "Feature Weight Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positionClaimVotes",
|
||||
"type": "array",
|
||||
"childType": "Position Claim Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "assetClaimVotes",
|
||||
"type": "array",
|
||||
"childType": "Asset Claim Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "featureClaimVotes",
|
||||
"type": "array",
|
||||
"childType": "Feature Claim Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "positionWeightVotes",
|
||||
"type": "array",
|
||||
"childType": "Position Weight Vote",
|
||||
"autoAdd": false
|
||||
},
|
||||
{
|
||||
"name": "userVoteTransfers",
|
||||
"type": "array",
|
||||
"childType": "User Vote Transfer",
|
||||
"autoAdd": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "Claim",
|
||||
"definition": {
|
||||
"text": "The token distribution is based on claims made by contributors that they have done something for the project. Anyone can make a claim, but without votes from the community, that claim will not be rewareded with tokens. ",
|
||||
"updated": 1623007004449
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Claim Explained",
|
||||
"updated": 1623007932348
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Assets, Features, Positions, etc. defines rewards offered to contributors by the community. Contributors later needs to make claims to get those rewards, and it is the same community the one who desides which claims to support with their votes."
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "How does this work?"
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "1. Weight Votes: The community uses Weight Votes to define what is more important. "
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "2. Weights: These Weight Votes: end up generating a weight for each relevant node."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "3. Token Rewards: Based on Weights, Token Rewards are calculated. ",
|
||||
"updated": 1623007443739
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "4. Claims: Contributos post claims towards Token Rewards."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "5. Claims Votes: The community vote on claims that believe are true."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "6. Token Awarded: Based on all claims towards each Token Rewards, Token Awarded is calculated for each Claim.",
|
||||
"updated": 1623007602133
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "7. Token Distribution: The distribution is made to users based on the Tokens Awarded to each of their claims."
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Calculation Code"
|
||||
},
|
||||
{
|
||||
"style": "Javascript",
|
||||
"text": "/*\nWe will use the concept of Vote Ratio for the situation in which the total votes in claims exeeds the\namount of votes for wigthing. When this happen the Votes Ratio will be used to redude the amount of \ntokens awarded proportionally to how much was exeeded.\n*/\nlet votesRatio = node.payload.referenceParent.payload.votes / node.payload.referenceParent.payload.claimsVotes\nif (votesRatio > 1) { votesRatio = 1 }\n/*\n Share Count means the amount to claims pointing to the same potential tokens reward.\n*/\nlet shareCount = node.payload.referenceParent.payload.claimsCount\nlet sharePercentage = node.payload.votes * 100 / node.payload.referenceParent.payload.claimsVotes\nlet awarded = node.payload.votes / node.payload.referenceParent.payload.votes * node.payload.referenceParent.payload.tokens * votesRatio\nlet awardedPercentage = node.payload.votes / node.payload.referenceParent.payload.votes * 100 * votesRatio",
|
||||
"updated": 1623007674072
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Asset Claim Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to an Asset Contribution Claim made by a user, in order to support that claim and allow the user making the claim to receive tokens for contributing either with the creation of that an asset or it's mantainance.",
|
||||
"updated": 1622988917379
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Asset Class",
|
||||
"definition": {
|
||||
"text": "This node acts as a folder helping organize the different assets of a certain Assets hierarchy. It can receive votes, and when it does, it distribute them among it's children.",
|
||||
"updated": 1622986499181
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "Asset Contribution Claim",
|
||||
"definition": {
|
||||
"text": "This node represents a claim by a user that has contributed in the creation or mantainance of an Asset, and has not yet be compensated in tokens enough accoring to the user's own beliefs. Anyone can make these claims, but it is the community that will activate them with votes, allowing or not the user to receive tokens through this claim. Users are expected to remove a claim once their are satisfied with the compensation or they gave up trying to convince the community to support their claim.",
|
||||
"updated": 1622989779632
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Include",
|
||||
"text": "Governance->Concept->Claim->Claim Explained",
|
||||
"updated": 1623007980090
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Asset Contributions Folder",
|
||||
"definition": {
|
||||
"text": "This folder type of node, help users organize their Asset contributions claims.",
|
||||
"updated": 1622989520560
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Asset Weight Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to an Asset or Asset Class, in order to influence the weight the recipient node will have in relation to other nodes belonging to the same hierarchy.",
|
||||
"updated": 1622988481251
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Asset",
|
||||
"definition": {
|
||||
"text": "An Asset is any artifact that belongs to the project. It can be a piece of software, a configuration, a plugin, some marketing material, a social media account, etc. Users votes on assets to influence their relative weight between each other. Those weight will then influence how many token will be given to the contributors who built or mantain that asset.",
|
||||
"updated": 1622986734958
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Assets",
|
||||
"definition": {
|
||||
"text": "These hierarchies define the different assets Superalgos as a project has accumulated over time. Assets could be anything tangible and not only software modules. ",
|
||||
"updated": 1622986422593
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Contribution Claims",
|
||||
"definition": {
|
||||
"text": "This node helps define the section of the User Profiel hierarchy that is going to be used to define the claims users make for the contributions they have done. These claims need later to be voted by other users in order to be considered during the token distribution process.",
|
||||
"updated": 1622989461838
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Feature Claim Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to a Feature Contribution Claim made by a user, in order to support that claim and allow the user making the claim to receive tokens for contributing either with the creation of that an feature or it's mantainance.",
|
||||
"updated": 1622988841078
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Feature Class",
|
||||
"definition": {
|
||||
"text": "This node helps organize features in hierarchical way. This node my receive votes, and when it does, it will pass them to their children.",
|
||||
"updated": 1622986135148
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "Feature Contribution Claim",
|
||||
"definition": {
|
||||
"text": "This node represents a claim by a user that has contributed in the creation or mantainance of a Feature, and has not yet be compensated in tokens enough accoring to the user's own beliefs. Anyone can make these claims, but it is the community that will activate them with votes, allowing or not the user to receive tokens through this claim. Users are expected to remove a claim once their are satisfied with the compensation or they gave up trying to convince the community to support their claim.",
|
||||
"updated": 1622989767496
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Include",
|
||||
"text": "Governance->Concept->Claim->Claim Explained",
|
||||
"updated": 1623007999063
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Feature Contributions Folder",
|
||||
"definition": {
|
||||
"text": "This folder type of node, help users organize their Feature contributions claims.",
|
||||
"updated": 1622989537182
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Feature Weight Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to a Feature or Feature Class, in order to influence the weight the recipient node will have in relation to other nodes belonging to the same hierarchy.",
|
||||
"updated": 1622988542593
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Feature",
|
||||
"definition": {
|
||||
"text": "A Feature is a functionality of the Superalgos software that matches a single use case. Users can vote on features to increase their relative weight to other features. These weight will ultimatelly influence how many tokens are given to the people implementing or mantaining these features.",
|
||||
"updated": 1622986275998
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Features",
|
||||
"definition": {
|
||||
"text": "As a software, Superalgos has features. This type hierarchies is used to describe the software's features with the objective to allow users to vote on those features and by doing so influencing how many tokens will receive contributors that mantain those features or, if the feature is yet to be added, the token it will receive whoeven contribute it to the project.",
|
||||
"updated": 1622986032804
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Pool Class",
|
||||
"definition": {
|
||||
"text": "This node is like a folder. It facilitates the organization of the Pools structure. Votes received at this node will be split evenly on it's children.",
|
||||
"updated": 1622985466839
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Pool Weight Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to a Pool or Pool Class, in order to influence the weight the recipient node will have in relation to other nodes belonging to the same hierarchy.",
|
||||
"updated": 1622988573063
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Pool",
|
||||
"definition": {
|
||||
"text": "A Pool represents the highest level container of tokens. They are used to route tokens to specific hierarchies via references. Users votes on pools to influence how many tokens will be routed and then distributed at the referenced hierarchy.",
|
||||
"updated": 1622985663794
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Pools",
|
||||
"definition": {
|
||||
"text": "At this hierarchy is where Token distribution starts. All the tokens to be distributed at the next release start flowing from here down this hierarchy, until they reach individual pools. Nodes will received tokens acording to the votes / weight each one of them have.",
|
||||
"updated": 1622985349549
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Position Claim Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to a Position Claim made by a user, in order to support that claim and allow the user making the claim to receive tokens for playing a role at the said position.",
|
||||
"updated": 1622988653975
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Position Class",
|
||||
"definition": {
|
||||
"text": "This node is like a folder that helps organize the Positions hierarchies. It can receive votes, and when it does, it distribute them among it's children.",
|
||||
"updated": 1622987556789
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "Position Contribution Claim",
|
||||
"definition": {
|
||||
"text": "This node represents a claim by users that have contributed their time to the project playing certain role at a certain position within the project's organization, and has not yet be compensated in tokens enough accoring to the user's own beliefs. Anyone can make these claims, but it is the community that will activate them with votes, allowing or not the user to receive tokens through this claim. Users are expected to remove a claim once their are satisfied with the compensation or they gave up trying to convince the community to support their claim.",
|
||||
"updated": 1622989856726
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Include",
|
||||
"text": "Governance->Concept->Claim->Claim Explained",
|
||||
"updated": 1623007917321
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Position Contributions Folder",
|
||||
"definition": {
|
||||
"text": "This folder type of node, help users organize their Position contributions claims.",
|
||||
"updated": 1622989549721
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Position Weight Vote",
|
||||
"definition": {
|
||||
"text": "This node is used to pass votes, via a reference, to a Position or Position Class, in order to influence the weight the recipient node will have in relation to other nodes belonging to the same hierarchy.",
|
||||
"updated": 1622988519639
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Position",
|
||||
"definition": {
|
||||
"text": "A position is a role a user can play within the project. Noone holds a position. Users can make claims that they spent time performing a role and they need community confirmation via getting votes at their claims, in order for them to receive tokens for playing that role. The amount of tokens to receive is also influenced by how the community voted the position itself and how much weight that position acquired relative to others.",
|
||||
"updated": 1622987462908
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Positions",
|
||||
"definition": {
|
||||
"text": "These hierarchies are used to define different position or roles contributors can take at the project organization chart. Once defined, users can claim having spent time at an specific position or role and when those claims are supported by votes, they receive tokens according to the position relative weight.",
|
||||
"updated": 1622987207926
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Right click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||