Back

[SOLVED] No label permissions in Node.js SDK?

  • 0
  • General
  • Self Hosted
WhiteWalker72
10 Nov, 2023, 14:43

In the docs I read about label permissions but in the SDK I can only find these:

TypeScript
  export class Role {
    static any(): string;
    static user(id: string, status?: string): string;
    static users(status?: string): string;
    static guests(): string;
    static team(id: string, role?: string): string;
    static member(id: string): string;
  }

Am I missing something?

TL;DR
The user is asking about the lack of label permissions in the Node.js SDK. Another user suggests checking a GitHub pull request (link provided) that fixes a bug related to this issue. The user mentions that the latest version of the SDK (11.0.0) still does not have the label function exported in the index.d.ts file. The user asks for the version of the SDK the other user has. The original user mentions that they can only find certain functions in the SDK, and asks if they are missing something. Solution: It is implied that the issue has been solved in a pull request on GitHub, but it has
Drake
10 Nov, 2023, 19:25

What version of the node SDK do you have?

WhiteWalker72
11 Nov, 2023, 08:46

Latest version (11.0.0). I looked more into the library and I can see that the role.js file does have label as a function but the index.d.ts file does not export it

Drake
11 Nov, 2023, 16:01

Oooh yes that is a bug that was fixed recently but we still need to deploy it

WhiteWalker72
12 Nov, 2023, 09:29

Ah I see, thank you πŸ™‚

WhiteWalker72
12 Nov, 2023, 09:30

[SOLVED] No label permissions in Node.js SDK?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more