forked from FoundKeyGang/FoundKey
fix esm
This commit is contained in:
parent
4701127946
commit
51517cf96c
4 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ import { ApObject, getApIds } from './type.js';
|
||||||
import Resolver from './resolver.js';
|
import Resolver from './resolver.js';
|
||||||
import { resolvePerson } from './models/person.js';
|
import { resolvePerson } from './models/person.js';
|
||||||
import { unique, concat } from '@/prelude/array.js';
|
import { unique, concat } from '@/prelude/array.js';
|
||||||
import * as promiseLimit from 'promise-limit';
|
import promiseLimit from 'promise-limit';
|
||||||
import { User, IRemoteUser } from '@/models/entities/user.js';
|
import { User, IRemoteUser } from '@/models/entities/user.js';
|
||||||
|
|
||||||
type Visibility = 'public' | 'home' | 'followers' | 'specified';
|
type Visibility = 'public' | 'home' | 'followers' | 'specified';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { toArray, unique } from '@/prelude/array.js';
|
import { toArray, unique } from '@/prelude/array.js';
|
||||||
import { IObject, isMention, IApMention } from '../type.js';
|
import { IObject, isMention, IApMention } from '../type.js';
|
||||||
import { resolvePerson } from './person.js';
|
import { resolvePerson } from './person.js';
|
||||||
import * as promiseLimit from 'promise-limit';
|
import promiseLimit from 'promise-limit';
|
||||||
import Resolver from '../resolver.js';
|
import Resolver from '../resolver.js';
|
||||||
import { User } from '@/models/entities/user.js';
|
import { User } from '@/models/entities/user.js';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import * as promiseLimit from 'promise-limit';
|
import promiseLimit from 'promise-limit';
|
||||||
|
|
||||||
import config from '@/config/index.js';
|
import config from '@/config/index.js';
|
||||||
import Resolver from '../resolver.js';
|
import Resolver from '../resolver.js';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { URL } from 'node:url';
|
import { URL } from 'node:url';
|
||||||
import * as promiseLimit from 'promise-limit';
|
import promiseLimit from 'promise-limit';
|
||||||
|
|
||||||
import $, { Context } from 'cafy';
|
import $, { Context } from 'cafy';
|
||||||
import config from '@/config/index.js';
|
import config from '@/config/index.js';
|
||||||
|
|
Loading…
Reference in a new issue