agentlang
Version:
The easiest way to build the most reliable AI agents - enterprise-grade teams of AI agents that collaborate with each other and humans
14 lines • 584 B
JavaScript
export class ResolverAuthInfo {
constructor(userId, readForUpdate, readForDelete) {
this.readForUpdate = false;
this.readForDelete = false;
this.userId = userId;
if (readForUpdate !== undefined)
this.readForUpdate = readForUpdate;
if (readForDelete !== undefined)
this.readForDelete = readForDelete;
}
}
// This user-id is only for testing. Override per session from the HTTP layer.
export const DefaultAuthInfo = new ResolverAuthInfo('9459a305-5ee6-415d-986d-caaf6d6e2828');
//# sourceMappingURL=authinfo.js.map