Remove ALL fosscord mentions

This commit is contained in:
Madeline
2023-03-31 15:52:33 +11:00
parent 698ad90d3e
commit 095cbf7b20
236 changed files with 443 additions and 431 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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"> {
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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">;