Remove ALL fosscord mentions
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Activity, Status } from "@fosscord/util";
|
||||
import { Activity, Status } from "@spacebar/util";
|
||||
|
||||
export const ActivitySchema = {
|
||||
$afk: Boolean,
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { ChannelPermissionOverwriteType, ChannelType } from "@fosscord/util";
|
||||
import { ChannelPermissionOverwriteType, ChannelType } from "@spacebar/util";
|
||||
|
||||
export interface ChannelModifySchema {
|
||||
/**
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { ChannelPermissionOverwrite } from "@fosscord/util";
|
||||
import { ChannelPermissionOverwrite } from "@spacebar/util";
|
||||
|
||||
export type ChannelPermissionOverwriteSchema = ChannelPermissionOverwrite;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { GuildCreateSchema } from "@fosscord/util";
|
||||
import { GuildCreateSchema } from "@spacebar/util";
|
||||
|
||||
export interface GuildUpdateSchema
|
||||
extends Omit<GuildCreateSchema, "channels" | "name"> {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { ActivitySchema } from "@fosscord/util";
|
||||
import { ActivitySchema } from "@spacebar/util";
|
||||
|
||||
// TODO: Need a way to allow camalCase and pascal_case without just duplicating the schema
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Embed } from "@fosscord/util";
|
||||
import { Embed } from "@spacebar/util";
|
||||
|
||||
type Attachment = {
|
||||
id: string;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { RelationshipType } from "@fosscord/util";
|
||||
import { RelationshipType } from "@spacebar/util";
|
||||
|
||||
export interface RelationshipPutSchema {
|
||||
type?: RelationshipType;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { UserGuildSettings, ChannelOverride } from "@fosscord/util";
|
||||
import { UserGuildSettings, ChannelOverride } from "@spacebar/util";
|
||||
|
||||
// This sucks. I would use a DeepPartial, my own or typeorms, but they both generate inncorect schema
|
||||
export interface UserGuildSettingsSchema
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { UserSettings } from "@fosscord/util";
|
||||
import { UserSettings } from "@spacebar/util";
|
||||
|
||||
export type UserSettingsSchema = Omit<Partial<UserSettings>, "index">;
|
||||
|
||||
Reference in New Issue
Block a user