forked from FoundKeyGang/FoundKey
chore: Use kebab-case for file names
This commit is contained in:
parent
9aac6a65c6
commit
69975c2fdd
8 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@ import { ensure } from '../../prelude/ensure';
|
|||
import { SchemaType } from '../../misc/schema';
|
||||
import { awaitAll } from '../../prelude/await-all';
|
||||
import { convertLegacyReaction, convertLegacyReactions, decodeReaction } from '../../misc/reaction-lib';
|
||||
import { toString } from '../../mfm/toString';
|
||||
import { toString } from '../../mfm/to-string';
|
||||
import { parse } from '../../mfm/parse';
|
||||
import { Emoji } from '../entities/emoji';
|
||||
import { concat } from '../../prelude/array';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Note } from '../../../models/entities/note';
|
||||
import { toHtml } from '../../../mfm/toHtml';
|
||||
import { toHtml } from '../../../mfm/to-html';
|
||||
import { parse } from '../../../mfm/parse';
|
||||
|
||||
export default function(note: Note) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { IObject } from '../type';
|
||||
import { extractApHashtagObjects } from '../models/tag';
|
||||
import { fromHtml } from '../../../mfm/fromHtml';
|
||||
import { fromHtml } from '../../../mfm/from-html';
|
||||
|
||||
export function htmlToMfm(html: string, tag?: IObject | IObject[]) {
|
||||
const hashtagNames = extractApHashtagObjects(tag).map(x => x.name).filter((x): x is string => x != null);
|
||||
|
|
|
@ -4,7 +4,7 @@ import config from '../../../config';
|
|||
import Resolver from '../resolver';
|
||||
import { resolveImage } from './image';
|
||||
import { isCollectionOrOrderedCollection, isCollection, IPerson, getApId, getOneApHrefNullable, IObject, isPropertyValue, IApPropertyValue } from '../type';
|
||||
import { fromHtml } from '../../../mfm/fromHtml';
|
||||
import { fromHtml } from '../../../mfm/from-html';
|
||||
import { htmlToMfm } from '../misc/html-to-mfm';
|
||||
import { resolveNote, extractEmojis } from './note';
|
||||
import { registerOrFetchInstanceDoc } from '../../../services/register-or-fetch-instance-doc';
|
||||
|
|
|
@ -2,7 +2,7 @@ import renderImage from './image';
|
|||
import renderKey from './key';
|
||||
import config from '../../../config';
|
||||
import { ILocalUser } from '../../../models/entities/user';
|
||||
import { toHtml } from '../../../mfm/toHtml';
|
||||
import { toHtml } from '../../../mfm/to-html';
|
||||
import { parse } from '../../../mfm/parse';
|
||||
import { getEmojis } from './note';
|
||||
import renderEmoji from './emoji';
|
||||
|
|
Loading…
Reference in a new issue