mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-05 23:41:06 +00:00
initial commit
This commit is contained in:
commit
f6dd426830
1145 changed files with 102834 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