transmogrify --> transformers
This commit is contained in:
parent
97e6f1385c
commit
e5082ed805
|
@ -3,7 +3,7 @@ import { type Filter, findReplyTag, z } from '@/deps.ts';
|
|||
import { getAuthor, getFilter, getFollows, publish } from '@/client.ts';
|
||||
import { parseMetaContent } from '@/schema.ts';
|
||||
import { signEvent } from '@/sign.ts';
|
||||
import { toAccount, toStatus } from '@/transmogrify/nostr-to-mastoapi.ts';
|
||||
import { toAccount, toStatus } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
import { buildLinkHeader, eventDateComparator, lookupAccount, nostrNow, paginationSchema, parseBody } from '@/utils.ts';
|
||||
|
||||
const createAccountController: AppController = (c) => {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { AppController } from '@/app.ts';
|
||||
import { lookupAccount } from '@/utils.ts';
|
||||
import { toAccount } from '@/transmogrify/nostr-to-mastoapi.ts';
|
||||
import { toAccount } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
|
||||
const searchController: AppController = async (c) => {
|
||||
const q = c.req.query('q');
|
||||
|
|
|
@ -3,7 +3,7 @@ import { getAncestors, getDescendants, getEvent, publish } from '@/client.ts';
|
|||
import { ISO6391, Kind, z } from '@/deps.ts';
|
||||
import { type Event } from '@/event.ts';
|
||||
import { signEvent } from '@/sign.ts';
|
||||
import { toStatus } from '@/transmogrify/nostr-to-mastoapi.ts';
|
||||
import { toStatus } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
import { nostrNow, parseBody } from '@/utils.ts';
|
||||
|
||||
const createStatusSchema = z.object({
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { getFeed, getFollows, getPublicFeed } from '@/client.ts';
|
||||
import { toStatus } from '@/transmogrify/nostr-to-mastoapi.ts';
|
||||
import { toStatus } from '@/transformers/nostr-to-mastoapi.ts';
|
||||
import { buildLinkHeader, paginationSchema } from '@/utils.ts';
|
||||
|
||||
import type { AppController } from '@/app.ts';
|
||||
|
|
Loading…
Reference in New Issue