Skip to content

Update Project structure#245

Merged
elliotBraem merged 5 commits intoNEARBuilders:developfrom
Megha-Dev-19:project-structure
Apr 17, 2024
Merged

Update Project structure#245
elliotBraem merged 5 commits intoNEARBuilders:developfrom
Megha-Dev-19:project-structure

Conversation

@Megha-Dev-19
Copy link
Copy Markdown
Collaborator

Current project structure:
image

Current task structure:
image

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gateway ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 3:51am

const project = getProjectMeta(id);
const app = props.app || "testing122.near";
const type = props.type || "task";
const userTask = props.userTask || "user-task";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be "project"?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thenproject will have both tasks and project data which has different structure
for projects

[app]: {
      project: {
        [`${context.accountId}_user-project_${projectID}`]: "",
      },
    },

for tasks

  "project": {
        [projectID]: {
          [type]: {
            [`${context.accountId}_user-task_${taskId}`]: "",
          },
        },
      },

@elliotBraem elliotBraem merged commit ac69268 into NEARBuilders:develop Apr 17, 2024
@Megha-Dev-19 Megha-Dev-19 deleted the project-structure branch June 24, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants