mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-06 07:04:24 +01:00
Add queries module for getting events for certain application needs
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { type AppController } from '@/app.ts';
|
||||
import { type Filter, findReplyTag, z } from '@/deps.ts';
|
||||
import { getAuthor, getFollows, publish } from '@/client.ts';
|
||||
import { publish } from '@/client.ts';
|
||||
import { getFilters } from '@/mixer.ts';
|
||||
import { getAuthor, getFollows } from '@/queries.ts';
|
||||
import { jsonMetaContentSchema } from '@/schemas/nostr.ts';
|
||||
import { signEvent } from '@/sign.ts';
|
||||
import { toAccount, toStatus } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { type AppController } from '@/app.ts';
|
||||
import { getAncestors, getDescendants, getEvent, publish } from '@/client.ts';
|
||||
import { publish } from '@/client.ts';
|
||||
import { type Event, ISO6391, Kind, z } from '@/deps.ts';
|
||||
import { getAncestors, getDescendants, getEvent } from '@/queries.ts';
|
||||
import { signEvent } from '@/sign.ts';
|
||||
import { toStatus } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
import { nostrNow, parseBody } from '@/utils.ts';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getFeed, getFollows, getPublicFeed } from '@/client.ts';
|
||||
import { getFeed, getFollows, getPublicFeed } from '@/queries.ts';
|
||||
import { toStatus } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
import { buildLinkHeader, paginationSchema } from '@/utils.ts';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user