mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-10-23 10:36:09 +00:00
🎨 chore: re-sort imports after dev rebase
Post-rebase sort-imports against the merge target — six audit-log files landed with stale import ordering relative to the current scripts/sort-imports.mts rules on dev. CI's import-order job flagged the drift; running the script locally rewrites them in place. No semantic changes.
This commit is contained in:
parent
956245b064
commit
56ef8781d3
5 changed files with 6 additions and 6 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import { EventEmitter } from 'events';
|
||||
import { Types } from 'mongoose';
|
||||
import { EventEmitter } from 'events';
|
||||
import { PrincipalType } from 'librechat-data-provider';
|
||||
import type { AdminAuditLogEntry, AuditLogPage } from '@librechat/data-schemas';
|
||||
import type { Response } from 'express';
|
||||
import type { ServerRequest } from '~/types/http';
|
||||
import type { AdminAuditLogDeps } from './auditLog';
|
||||
import type { ServerRequest } from '~/types/http';
|
||||
import { createAdminAuditLogHandlers } from './auditLog';
|
||||
|
||||
jest.mock('@librechat/data-schemas', () => ({
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import mongoose, { Types } from 'mongoose';
|
||||
import { PrincipalType } from 'librechat-data-provider';
|
||||
import { MongoMemoryServer } from 'mongodb-memory-server';
|
||||
import type * as t from '~/types';
|
||||
import type { RecordAuditEntryInput } from '~/types';
|
||||
import type * as t from '~/types';
|
||||
import { createAuditLogMethods } from './auditLog';
|
||||
import auditLogSchema from '~/schema/auditLog';
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ import { createSkillFileModel } from './skillFile';
|
|||
import { createConversationModel } from './convo';
|
||||
import { createToolCallModel } from './toolCall';
|
||||
import { createAclEntryModel } from './aclEntry';
|
||||
import { createAuditLogModel } from './auditLog';
|
||||
import { createSessionModel } from './session';
|
||||
import { createBalanceModel } from './balance';
|
||||
import { createMessageModel } from './message';
|
||||
|
|
@ -24,7 +25,6 @@ import { createBannerModel } from './banner';
|
|||
import { createPresetModel } from './preset';
|
||||
import { createPromptModel } from './prompt';
|
||||
import { createMemoryModel } from './memory';
|
||||
import { createAuditLogModel } from './auditLog';
|
||||
import { createConfigModel } from './config';
|
||||
import { createTokenModel } from './token';
|
||||
import { createAgentModel } from './agent';
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { Schema } from 'mongoose';
|
||||
import { PrincipalType } from 'librechat-data-provider';
|
||||
import { AUDIT_ACTIONS } from '~/types/admin';
|
||||
import type { IAuditLog } from '~/types';
|
||||
import { AUDIT_ACTIONS } from '~/types/admin';
|
||||
|
||||
/**
|
||||
* Append-only by schema contract: every field is `immutable`, every
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import type { Document, Types } from 'mongoose';
|
||||
import type { PrincipalType } from 'librechat-data-provider';
|
||||
import type { Document, Types } from 'mongoose';
|
||||
import type { AdminAuditLogEntry, AuditAction } from './admin';
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue