In the docs I read about label permissions but in the SDK I can only find these:
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?
What version of the node SDK do you have?
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
Oooh yes that is a bug that was fixed recently but we still need to deploy it
Ah I see, thank you 🙂
[SOLVED] No label permissions in Node.js SDK?
Recommended threads
- Restoring Project
Hi, I’m encountering a **“Suspicious access pattern detected”** error when attempting to restore the project. I’ve already tried connecting through different ne...
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...
- Dart 3.10 runtime on self-host 1.8.1
I added dart-3.10 runtime in .env file, applied the changes, but cannot see such option on console. is dart 3.10 not supported by self hosted 1.8.1? if not, whe...