Skip to content

Commit b7447e0

Browse files
committed
added sailing category
1 parent 2a3a54b commit b7447e0

2 files changed

Lines changed: 22 additions & 5 deletions

File tree

src/lib/types/supabase.ts

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,6 @@ export type Database = {
341341
Args: { accesser: string; owner: string; product: string }
342342
Returns: boolean
343343
}
344-
cron_update_subscriptions: {
345-
Args: Record<PropertyKey, never>
346-
Returns: undefined
347-
}
348344
get_avatar: {
349345
Args: { userid: string }
350346
Returns: string
@@ -486,6 +482,12 @@ export type Database = {
486482
type?: Database["scripts"]["Enums"]["type"]
487483
}
488484
Relationships: [
485+
{
486+
foreignKeyName: "metadata_id_fkey"
487+
columns: ["id"]
488+
referencedRelation: "featured"
489+
referencedColumns: ["id"]
490+
},
489491
{
490492
foreignKeyName: "metadata_id_fkey"
491493
columns: ["id"]
@@ -538,6 +540,12 @@ export type Database = {
538540
username?: string
539541
}
540542
Relationships: [
543+
{
544+
foreignKeyName: "protected_id_fkey"
545+
columns: ["id"]
546+
referencedRelation: "featured"
547+
referencedColumns: ["id"]
548+
},
541549
{
542550
foreignKeyName: "protected_id_fkey"
543551
columns: ["id"]
@@ -611,6 +619,12 @@ export type Database = {
611619
wasplib?: string
612620
}
613621
Relationships: [
622+
{
623+
foreignKeyName: "versions_id_fkey"
624+
columns: ["id"]
625+
referencedRelation: "featured"
626+
referencedColumns: ["id"]
627+
},
614628
{
615629
foreignKeyName: "versions_id_fkey"
616630
columns: ["id"]
@@ -720,6 +734,7 @@ export type Database = {
720734
| "slayer"
721735
| "thieving"
722736
| "runecrafting"
737+
| "sailing"
723738
stage: "prototype" | "alpha" | "beta" | "stable" | "archived"
724739
status: "official" | "community"
725740
type: "premium" | "free"
@@ -1812,6 +1827,7 @@ export const Constants = {
18121827
"slayer",
18131828
"thieving",
18141829
"runecrafting",
1830+
"sailing",
18151831
],
18161832
stage: ["prototype", "alpha", "beta", "stable", "archived"],
18171833
status: ["official", "community"],

src/lib/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ export const scriptCategories: Record<TScriptCategories[number], NameValueIcon>
163163
agility: { name: "Agility", value: "agility", icon: "🏃" },
164164
slayer: { name: "Slayer", value: "slayer", icon: "💀" },
165165
thieving: { name: "Thieving", value: "thieving", icon: "🦝" },
166-
runecrafting: { name: "Runecrafting", value: "runecrafting", icon: "⚡" }
166+
runecrafting: { name: "Runecrafting", value: "runecrafting", icon: "⚡" },
167+
sailing: { name: "Sailing", value: "sailing", icon: "⛵" }
167168
}
168169

169170
export const scriptStages: Record<TScriptStages, NameValueIcon> = {

0 commit comments

Comments
 (0)