{"version":3,"sources":["../../../src/window/types/user-team-role.ts"],"names":["UserTeamRoles"],"mappings":"AAQY,IAAA,aAAA,qBAAAA,cAAL,KAAA;AAEL,EAAAA,cAAAA,CAAAA,cAAAA,CAAA,WAAQ,CAAR,CAAA,GAAA,OAAA;AAGA,EAAAA,cAAAA,CAAAA,cAAAA,CAAA,UAAO,CAAP,CAAA,GAAA,MAAA;AAGA,EAAAA,cAAAA,CAAAA,cAAAA,CAAA,WAAQ,CAAR,CAAA,GAAA,OAAA;AARU,EAAAA,OAAAA,cAAAA;AAAA,CAAA,EAAA,aAAA,IAAA,EAAA;AAWL,SAAS,gBAAgB,KAAoC,EAAA;AAClE,EAAA,OAAO,KAAU,KAAA,CAAA,eAAsB,OAAU,GAAA,KAAA,KAAU,eAAqB,MAAS,GAAA,OAAA;AAC3F","file":"user-team-role.mjs","sourcesContent":["/**\n * Indicates the various types of roles of a user in a team.\n */\nexport type UserTeamRole = 'admin' | 'user' | 'guest';\n\n/**\n * Indicates the various types of roles of a user in a team.\n */\nexport enum UserTeamRoles {\n  /** Represents that the user is an owner or administrator of the team. */\n  Admin = 0,\n\n  /** Represents that the user is a standard member of the team. */\n  User = 1,\n\n  /** Represents that the user does not have any role in the team. */\n  Guest = 2,\n}\n\nexport function mapUserTeamRole(value: UserTeamRoles): UserTeamRole {\n  return value === UserTeamRoles.Admin ? 'admin' : value === UserTeamRoles.User ? 'user' : 'guest';\n}\n"]}