Skip to content

Commit

Permalink
Merge fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo committed Feb 27, 2025
1 parent e96f026 commit 533e327
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 258 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/measurements/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ export function metricsToJson (metrics: Metrics): any {
return toJson(metricsAggregate(metrics))
}

export function metricsToJson (metrics: Metrics): any {
return toJson(metricsAggregate(metrics))
}

function printMetricsParamsRows (
params: Record<string, Record<string, MetricsData>>,
offset: number
Expand Down
13 changes: 0 additions & 13 deletions server/middleware/src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,6 @@ export class ModelMiddleware extends BaseMiddleware implements Middleware {
return this.provideFindAll(ctx, _class, query, options)
}

findAll<T extends Doc>(
ctx: MeasureContext<SessionData>,
_class: Ref<Class<T>>,
query: DocumentQuery<T>,
options?: FindOptions<T>
): Promise<FindResult<T>> {
const d = this.context.hierarchy.findDomain(_class)
if (d === DOMAIN_MODEL) {
return this.context.modelDb.findAll(_class, query, options)
}
return this.provideFindAll(ctx, _class, query, options)
}

async init (ctx: MeasureContext): Promise<void> {
if (this.context.adapterManager == null) {
throw new PlatformError(unknownError('Adapter manager should be configured'))
Expand Down
240 changes: 0 additions & 240 deletions server/ws/src/__tests__/rest.test.ts

This file was deleted.

1 change: 0 additions & 1 deletion services/github/pod-github/src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import core, {
BrandingMap,
Client,
ClientConnectEvent,
ClientWorkspaceInfo,
DocumentUpdate,
isActiveMode,
isDeletingMode,
Expand Down

0 comments on commit 533e327

Please sign in to comment.