mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Added secret reminder to queue service
This commit is contained in:
committed by
Akhil Mohan
parent
2dae59c6be
commit
c1662d6db5
@@ -9,6 +9,7 @@ import {
|
||||
|
||||
export enum QueueName {
|
||||
SecretRotation = "secret-rotation",
|
||||
SecretReminder = "secret-reminder",
|
||||
AuditLog = "audit-log",
|
||||
IntegrationSync = "sync-integrations",
|
||||
SecretWebhook = "secret-webhook",
|
||||
@@ -17,6 +18,7 @@ export enum QueueName {
|
||||
}
|
||||
|
||||
export enum QueueJobs {
|
||||
SecretReminder = "secret-reminder-job",
|
||||
SecretRotation = "secret-rotation-job",
|
||||
AuditLog = "audit-log-job",
|
||||
SecWebhook = "secret-webhook-trigger",
|
||||
@@ -25,6 +27,16 @@ export enum QueueJobs {
|
||||
}
|
||||
|
||||
export type TQueueJobTypes = {
|
||||
[QueueName.SecretReminder]: {
|
||||
payload: {
|
||||
projectId: string;
|
||||
secretId: string;
|
||||
repeatDays: number;
|
||||
note: string | undefined | null;
|
||||
};
|
||||
name: QueueJobs.SecretReminder;
|
||||
};
|
||||
|
||||
[QueueName.SecretRotation]: {
|
||||
payload: { rotationId: string };
|
||||
name: QueueJobs.SecretRotation;
|
||||
|
||||
Reference in New Issue
Block a user