Skip to content

How to give permissions to dependency package? #11

Closed Answered by FreePhoenix888
FreePhoenix888 asked this question in Q&A
Discussion options

You must be logged in to vote

My problem was existing because I have mixed up from_id and to_id. Here is what I had to use:

const joinTypeLinkId = await deep.id("@deep-foundation/core", "Join");
const packageLinkId = await deep.id("@freephoenix888/object-to-links-async-converter");
await deep.insert([
  {
    type_id: joinTypeLinkId,
    from_id: packageLinkId,
    to_id: await deep.id("@deep-foundation/capacitor-device"),
  },
])
const joinTypeLinkId = await deep.id("@deep-foundation/core", "Join");
const packageLinkId = await deep.id("@deep-foundation/capacitor-device");
await deep.insert([
  {
    type_id: joinTypeLinkId,
    from_id: packageLinkId,
    to_id: await deep.id("@deep-foundation/deep-memo"),
  },
])
const

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@FreePhoenix888
Comment options

FreePhoenix888 May 8, 2023
Maintainer Author

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by FreePhoenix888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants