Move new libs into deps.ts
This commit is contained in:
parent
62675218ce
commit
ed107e49fd
|
@ -81,5 +81,7 @@ export { Machina } from 'https://gitlab.com/soapbox-pub/nostr-machina/-/raw/08a1
|
||||||
export * as Sentry from 'https://deno.land/x/sentry@7.78.0/index.js';
|
export * as Sentry from 'https://deno.land/x/sentry@7.78.0/index.js';
|
||||||
export { sentry as sentryMiddleware } from 'npm:@hono/sentry@^1.0.0';
|
export { sentry as sentryMiddleware } from 'npm:@hono/sentry@^1.0.0';
|
||||||
export * as Comlink from 'npm:comlink@^4.4.1';
|
export * as Comlink from 'npm:comlink@^4.4.1';
|
||||||
|
export { EventEmitter } from 'npm:tseep@^1.1.3';
|
||||||
|
export { default as stringifyStable } from 'npm:fast-stable-stringify@^1.0.0';
|
||||||
|
|
||||||
export type * as TypeFest from 'npm:type-fest@^4.3.0';
|
export type * as TypeFest from 'npm:type-fest@^4.3.0';
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
import { Conf } from '@/config.ts';
|
import { Conf } from '@/config.ts';
|
||||||
import { type Event, type Filter, matchFilters } from '@/deps.ts';
|
import { type Event, type Filter, matchFilters, stringifyStable } from '@/deps.ts';
|
||||||
|
|
||||||
import type { EventData } from '@/types.ts';
|
import type { EventData } from '@/types.ts';
|
||||||
|
|
||||||
import stringifyStable from 'npm:fast-stable-stringify';
|
|
||||||
|
|
||||||
/** Additional properties that may be added by Ditto to events. */
|
/** Additional properties that may be added by Ditto to events. */
|
||||||
type Relation = 'author' | 'author_stats' | 'event_stats';
|
type Relation = 'author' | 'author_stats' | 'event_stats';
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import * as client from '@/client.ts';
|
import * as client from '@/client.ts';
|
||||||
import { Event, Filter } from '@/deps.ts';
|
import { type Event, EventEmitter, type Filter } from '@/deps.ts';
|
||||||
|
|
||||||
import { EventEmitter } from 'npm:tseep';
|
|
||||||
import { eventToMicroFilter, getFilterId, type MicroFilter } from '@/filter.ts';
|
import { eventToMicroFilter, getFilterId, type MicroFilter } from '@/filter.ts';
|
||||||
|
|
||||||
interface ReqmeisterOpts {
|
interface ReqmeisterOpts {
|
||||||
|
|
Loading…
Reference in New Issue