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
2
1
name : CI
3
2
4
3
on : push
Original file line number Diff line number Diff line change 1
- # eslint-disable @stylistic/spaced-comment
2
-
3
1
name : Sync Ticket
4
2
5
3
on :
Original file line number Diff line number Diff line change 9
9
} from " vue" ;
10
10
import { useI18n } from " #imports" ;
11
11
12
- export type ToastOption =
13
- | {
12
+ export type ToastOption
13
+ = {
14
14
autoClose: true ;
15
15
durationMs? : number ;
16
16
}
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ words:
42
42
- guillaume
43
43
- Haba
44
44
- hacomono
45
- - healthtech
46
45
- Hanako
47
46
- hanzomon
48
47
- hashimoto
48
+ - healthtech
49
49
- hennge
50
50
- hinomaru
51
51
- Hiranuma
@@ -153,6 +153,7 @@ words:
153
153
- unhead
154
154
- uniquevision
155
155
- unplugin
156
+ - unrs
156
157
- vados
157
158
- valibot
158
159
- Vashishtha
Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ export interface Sponsor {
16
16
} [ ] ;
17
17
}
18
18
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" ;
31
31
32
32
export interface OptionSponsor {
33
33
title : string ;
Original file line number Diff line number Diff line change 26
26
" better-sqlite3" ,
27
27
" esbuild" ,
28
28
" sharp" ,
29
+ " unrs-resolver" ,
29
30
" workerd"
30
31
]
31
32
},
52
53
"@aws-sdk/s3-request-presigner" : " ^3.842.0" ,
53
54
"@chromatic-com/storybook" : " ^3" ,
54
55
"@intlify/eslint-plugin-vue-i18n" : " ^4.0.1" ,
55
- "@nuxt/eslint" : " 1.3 .0" ,
56
+ "@nuxt/eslint" : " 1.9 .0" ,
56
57
"@nuxt/scripts" : " 0.11.2" ,
57
58
"@nuxtjs/i18n" : " 9.4.0" ,
58
59
"@nuxtjs/seo" : " ^3.0.1" ,
82
83
"lightningcss" : " ^1.30.1" ,
83
84
"next-auth" : " ~4.21.1" ,
84
85
"nitro" : " npm:nitropack@^2.12.4" ,
85
- "nitropack" : " ^2.12.4" ,
86
86
"nitro-cloudflare-dev" : " ^0.2.2" ,
87
+ "nitropack" : " ^2.12.4" ,
87
88
"node-fetch" : " ^3.3.2" ,
88
89
"nuxt" : " ^4.0.3" ,
89
90
"nuxt-og-image" : " ^5.1.9" ,
108
109
"unified" : " ^11.0.5" ,
109
110
"unplugin-icons" : " ^22.1.0" ,
110
111
"unstorage" : " ^1.16.1" ,
112
+ "valibot" : " ^1.1.0" ,
111
113
"vue" : " latest" ,
112
114
"vue-router" : " latest" ,
113
115
"vue-tsc" : " ^2.2.8" ,
114
- "wrangler" : " ^4.23.0" ,
115
- "valibot" : " ^1.1.0"
116
+ "wrangler" : " ^4.23.0"
116
117
},
117
118
"eslintConfig" : {
118
119
"extends" : [
Original file line number Diff line number Diff line change 1
- export type NameBadgeInput =
2
- ( {
1
+ export type NameBadgeInput
2
+ = ( {
3
3
role : "Attendee" | "Attendee+Party" | "Speaker" | "Sponsor" ;
4
4
} | {
5
5
role : "Staff" ;
Original file line number Diff line number Diff line change @@ -85,13 +85,13 @@ export default defineEventHandler(async (event) => {
85
85
avatarUrl :
86
86
nameBadgeData . avatarUrl
87
87
? 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
+ )
95
95
: undefined ,
96
96
} ;
97
97
} ) ;
Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ export default defineEventHandler(async (event) => {
73
73
avatarUrl :
74
74
nameBadgeData . avatarUrl
75
75
? 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
+ )
83
83
: undefined ,
84
84
role : nameBadgeData . role ,
85
85
lang : nameBadgeData . lang ,
You can’t perform that action at this time.
0 commit comments