Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
@@ -0,0 +1,21 @@
|
||||
export const queueNames = {
|
||||
email: "toolctrl.email",
|
||||
notifications: "toolctrl.notifications",
|
||||
maintenance: "toolctrl.maintenance",
|
||||
aiChatbot: "toolctrl.ai-chatbot",
|
||||
browserAutomation: "toolctrl.browser-automation",
|
||||
fileScan: "toolctrl.file-scan",
|
||||
filePreview: "toolctrl.file-preview",
|
||||
exports: "toolctrl.exports",
|
||||
imports: "toolctrl.imports",
|
||||
pluginInvoke: "toolctrl.plugin-invoke",
|
||||
} as const;
|
||||
|
||||
export type QueueKey = keyof typeof queueNames;
|
||||
export type QueueName = (typeof queueNames)[QueueKey];
|
||||
|
||||
const queueNameValues = new Set<string>(Object.values(queueNames));
|
||||
|
||||
export function isQueueName(value: string): value is QueueName {
|
||||
return queueNameValues.has(value);
|
||||
}
|
||||
Reference in new issue
Block a user