rename mixan to OPENPANEL!
This commit is contained in:
@@ -5,8 +5,8 @@ import type { WorkerOptions } from 'bullmq';
|
||||
import { Worker } from 'bullmq';
|
||||
import express from 'express';
|
||||
|
||||
import { connection, eventsQueue } from '@mixan/queue';
|
||||
import { cronQueue } from '@mixan/queue/src/queues';
|
||||
import { connection, eventsQueue } from '@openpanel/queue';
|
||||
import { cronQueue } from '@openpanel/queue/src/queues';
|
||||
|
||||
import { cronJob } from './jobs/cron';
|
||||
import { eventsJob } from './jobs/events';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { generateSalt } from '@mixan/common';
|
||||
import { db, getCurrentSalt } from '@mixan/db';
|
||||
import { generateSalt } from '@openpanel/common';
|
||||
import { db, getCurrentSalt } from '@openpanel/db';
|
||||
|
||||
export async function salt() {
|
||||
const oldSalt = await getCurrentSalt();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Job } from 'bullmq';
|
||||
|
||||
import type { CronQueuePayload } from '@mixan/queue/src/queues';
|
||||
import type { CronQueuePayload } from '@openpanel/queue/src/queues';
|
||||
|
||||
import { salt } from './cron.salt';
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { Job } from 'bullmq';
|
||||
|
||||
import { getTime } from '@mixan/common';
|
||||
import { createEvent, getEvents } from '@mixan/db';
|
||||
import type { EventsQueuePayloadCreateSessionEnd } from '@mixan/queue/src/queues';
|
||||
import { getTime } from '@openpanel/common';
|
||||
import { createEvent, getEvents } from '@openpanel/db';
|
||||
import type { EventsQueuePayloadCreateSessionEnd } from '@openpanel/queue/src/queues';
|
||||
|
||||
export async function createSessionEnd(
|
||||
job: Job<EventsQueuePayloadCreateSessionEnd>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { Job } from 'bullmq';
|
||||
|
||||
import { createEvent } from '@mixan/db';
|
||||
import { createEvent } from '@openpanel/db';
|
||||
import type {
|
||||
EventsQueuePayload,
|
||||
EventsQueuePayloadCreateSessionEnd,
|
||||
} from '@mixan/queue/src/queues';
|
||||
} from '@openpanel/queue/src/queues';
|
||||
|
||||
import { createSessionEnd } from './events.create-session-end';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user