File tree Expand file tree Collapse file tree 10 files changed +867
-587
lines changed
scripts/admin/name-badge/input Expand file tree Collapse file tree 10 files changed +867
-587
lines changed Original file line number Diff line number Diff line change 1- # eslint-disable @stylistic/spaced-comment
21name : CI
32
43on : push
Original file line number Diff line number Diff line change 1- # eslint-disable @stylistic/spaced-comment
2-
31name : Sync Ticket
42
53on :
Original file line number Diff line number Diff line change 99} from " vue" ;
1010import { useI18n } from " #imports" ;
1111
12- export type ToastOption =
13- | {
12+ export type ToastOption
13+ = {
1414 autoClose: true ;
1515 durationMs? : number ;
1616 }
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ words:
4242 - guillaume
4343 - Haba
4444 - hacomono
45- - healthtech
4645 - Hanako
4746 - hanzomon
4847 - hashimoto
48+ - healthtech
4949 - hennge
5050 - hinomaru
5151 - Hiranuma
@@ -153,6 +153,7 @@ words:
153153 - unhead
154154 - uniquevision
155155 - unplugin
156+ - unrs
156157 - vados
157158 - valibot
158159 - Vashishtha
Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ export interface Sponsor {
1616 } [ ] ;
1717}
1818
19- export type Option =
20- | "hall-naming-rights"
21- | "room-naming-rights"
22- | "hands-on"
23- | "live-translation"
24- | "name-badge"
25- | "after-party"
26- | "student-support"
27- | "staff-t-shirts"
28- | "exhibition"
29- | "intermission-slide"
30- | "job-board" ;
19+ export type Option
20+ = | "hall-naming-rights"
21+ | "room-naming-rights"
22+ | "hands-on"
23+ | "live-translation"
24+ | "name-badge"
25+ | "after-party"
26+ | "student-support"
27+ | "staff-t-shirts"
28+ | "exhibition"
29+ | "intermission-slide"
30+ | "job-board" ;
3131
3232export interface OptionSponsor {
3333 title : string ;
Original file line number Diff line number Diff line change 2626 " better-sqlite3" ,
2727 " esbuild" ,
2828 " sharp" ,
29+ " unrs-resolver" ,
2930 " workerd"
3031 ]
3132 },
5253 "@aws-sdk/s3-request-presigner" : " ^3.842.0" ,
5354 "@chromatic-com/storybook" : " ^3" ,
5455 "@intlify/eslint-plugin-vue-i18n" : " ^4.0.1" ,
55- "@nuxt/eslint" : " 1.3 .0" ,
56+ "@nuxt/eslint" : " 1.9 .0" ,
5657 "@nuxt/scripts" : " 0.11.2" ,
5758 "@nuxtjs/i18n" : " 9.4.0" ,
5859 "@nuxtjs/seo" : " ^3.0.1" ,
8283 "lightningcss" : " ^1.30.1" ,
8384 "next-auth" : " ~4.21.1" ,
8485 "nitro" : " npm:nitropack@^2.12.4" ,
85- "nitropack" : " ^2.12.4" ,
8686 "nitro-cloudflare-dev" : " ^0.2.2" ,
87+ "nitropack" : " ^2.12.4" ,
8788 "node-fetch" : " ^3.3.2" ,
8889 "nuxt" : " ^4.0.3" ,
8990 "nuxt-og-image" : " ^5.1.9" ,
108109 "unified" : " ^11.0.5" ,
109110 "unplugin-icons" : " ^22.1.0" ,
110111 "unstorage" : " ^1.16.1" ,
112+ "valibot" : " ^1.1.0" ,
111113 "vue" : " latest" ,
112114 "vue-router" : " latest" ,
113115 "vue-tsc" : " ^2.2.8" ,
114- "wrangler" : " ^4.23.0" ,
115- "valibot" : " ^1.1.0"
116+ "wrangler" : " ^4.23.0"
116117 },
117118 "eslintConfig" : {
118119 "extends" : [
Original file line number Diff line number Diff line change 1- export type NameBadgeInput =
2- ( {
1+ export type NameBadgeInput
2+ = ( {
33 role : "Attendee" | "Attendee+Party" | "Speaker" | "Sponsor" ;
44 } | {
55 role : "Staff" ;
Original file line number Diff line number Diff line change @@ -85,13 +85,13 @@ export default defineEventHandler(async (event) => {
8585 avatarUrl :
8686 nameBadgeData . avatarUrl
8787 ? await getSignedUrl (
88- S3 ,
89- new GetObjectCommand ( {
90- Bucket : process . env . CLOUDFLARE_R2_BUCKET_NAME ! ,
91- Key : new URL ( nameBadgeData . avatarUrl ) . pathname . split ( "/" ) . pop ( ) ,
92- } ) ,
93- { expiresIn : 3600 } ,
94- )
88+ S3 ,
89+ new GetObjectCommand ( {
90+ Bucket : process . env . CLOUDFLARE_R2_BUCKET_NAME ! ,
91+ Key : new URL ( nameBadgeData . avatarUrl ) . pathname . split ( "/" ) . pop ( ) ,
92+ } ) ,
93+ { expiresIn : 3600 } ,
94+ )
9595 : undefined ,
9696 } ;
9797} ) ;
Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ export default defineEventHandler(async (event) => {
7373 avatarUrl :
7474 nameBadgeData . avatarUrl
7575 ? await getSignedUrl (
76- S3 ,
77- new GetObjectCommand ( {
78- Bucket : process . env . CLOUDFLARE_R2_BUCKET_NAME ! ,
79- Key : new URL ( nameBadgeData . avatarUrl ) . pathname . split ( "/" ) . pop ( ) ,
80- } ) ,
81- { expiresIn : 3600 } ,
82- )
76+ S3 ,
77+ new GetObjectCommand ( {
78+ Bucket : process . env . CLOUDFLARE_R2_BUCKET_NAME ! ,
79+ Key : new URL ( nameBadgeData . avatarUrl ) . pathname . split ( "/" ) . pop ( ) ,
80+ } ) ,
81+ { expiresIn : 3600 } ,
82+ )
8383 : undefined ,
8484 role : nameBadgeData . role ,
8585 lang : nameBadgeData . lang ,
You can’t perform that action at this time.
0 commit comments