mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 12:10:24 +00:00
Initial commit of eigent-main
This commit is contained in:
commit
723df5a03e
1144 changed files with 103478 additions and 0 deletions
36
package/@stackframe/stack-shared/dist/esm/interface/crud/team-invitation.js
vendored
Normal file
36
package/@stackframe/stack-shared/dist/esm/interface/crud/team-invitation.js
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
// src/interface/crud/team-invitation.ts
|
||||
import { createCrud } from "../../crud";
|
||||
import * as schemaFields from "../../schema-fields";
|
||||
import { yupObject } from "../../schema-fields";
|
||||
var teamInvitationDetailsClientReadSchema = yupObject({
|
||||
id: schemaFields.yupString().uuid().defined(),
|
||||
team_id: schemaFields.teamIdSchema.defined(),
|
||||
expires_at_millis: schemaFields.yupNumber().defined(),
|
||||
recipient_email: schemaFields.emailSchema.defined()
|
||||
}).defined();
|
||||
var teamInvitationCrud = createCrud({
|
||||
clientReadSchema: teamInvitationDetailsClientReadSchema,
|
||||
clientDeleteSchema: schemaFields.yupMixed(),
|
||||
docs: {
|
||||
clientRead: {
|
||||
summary: "Get the team details with invitation code",
|
||||
description: "",
|
||||
tags: ["Teams"]
|
||||
},
|
||||
clientList: {
|
||||
summary: "List team invitations",
|
||||
description: "",
|
||||
tags: ["Teams"]
|
||||
},
|
||||
clientDelete: {
|
||||
summary: "Delete a team invitation",
|
||||
description: "",
|
||||
tags: ["Teams"]
|
||||
}
|
||||
}
|
||||
});
|
||||
export {
|
||||
teamInvitationCrud,
|
||||
teamInvitationDetailsClientReadSchema
|
||||
};
|
||||
//# sourceMappingURL=team-invitation.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue