npm i @fosscord/server-util

This commit is contained in:
Flam3rboy
2021-04-22 23:37:07 +02:00
parent 4b914bcd32
commit b40d6b825b
24 changed files with 35 additions and 122 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { Config, Snowflake } from "fosscord-server-util";
import { Config, Snowflake } from "@fosscord/server-util";
import crypto from "crypto";
import fs from "fs";
+1 -1
View File
@@ -1,4 +1,4 @@
import { Event, EventModel } from "fosscord-server-util";
import { Event, EventModel } from "@fosscord/server-util";
export async function emitEvent(payload: Omit<Event, "created_at">) {
const obj = {
+1 -1
View File
@@ -7,7 +7,7 @@ import {
GuildModel,
MemberModel,
UserModel,
} from "fosscord-server-util";
} from "@fosscord/server-util";
import { HTTPError } from "lambert-server";
import Config from "./Config";
import { emitEvent } from "./Event";
+1 -1
View File
@@ -1,4 +1,4 @@
import { toObject, UserModel } from "fosscord-server-util";
import { toObject, UserModel } from "@fosscord/server-util";
import { HTTPError } from "lambert-server";
export const PublicUserProjection = {