tangled
alpha
login
or
join now
dunkirk.sh
/
smokie
1
fork
atom
a fun bot for the hc slack
1
fork
atom
overview
issues
pulls
pipelines
feat: make banner optional and set default banner
dunkirk.sh
10 months ago
e2e192ce
8a108ce1
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+6
-2
2 changed files
expand all
collapse all
unified
split
src
features
takes
handlers
settings.ts
libs
schema.ts
+1
-1
src/features/takes/handlers/settings.ts
···
125
125
type: "file_input",
126
126
action_id: "project_banner_input",
127
127
},
128
128
-
optional: prefill,
128
128
+
optional: true,
129
129
},
130
130
{
131
131
type: "input",
+5
-1
src/libs/schema.ts
···
26
26
hackatimeKeys: text("hackatime_keys").notNull().default("[]"),
27
27
projectName: text("project_name").notNull().default(""),
28
28
projectDescription: text("project_description").notNull().default(""),
29
29
-
projectBannerUrl: text("project_banner_url").notNull().default(""),
29
29
+
projectBannerUrl: text("project_banner_url")
30
30
+
.notNull()
31
31
+
.default(
32
32
+
"https://cdn.hackclubber.dev/slackcdn/6112834c647de7587680cc62fefa51e7.png",
33
33
+
),
30
34
hackatimeVersion: text("hackatime_version").notNull().default("v1"),
31
35
lastTakeUploadDate: text("last_take_upload_date")
32
36
.notNull()