File tree Expand file tree Collapse file tree 2 files changed +32
-9
lines changed
sources/new-submission-instant Expand file tree Collapse file tree 2 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 1+ export const RETENTION_DAYS_OPTIONS = [
2+ {
3+ label : "1" ,
4+ value : 1 ,
5+ } ,
6+ {
7+ label : "3" ,
8+ value : 3 ,
9+ } ,
10+ {
11+ label : "5" ,
12+ value : 5 ,
13+ } ,
14+ {
15+ label : "7" ,
16+ value : 7 ,
17+ } ,
18+ {
19+ label : "10" ,
20+ value : 10 ,
21+ } ,
22+ {
23+ label : "15" ,
24+ value : 15 ,
25+ } ,
26+ {
27+ label : "30" ,
28+ value : 30 ,
29+ } ,
30+ ] ;
Original file line number Diff line number Diff line change 11import crypto from "crypto" ;
2+ import { RETENTION_DAYS_OPTIONS } from "../../common/constants.mjs" ;
23import moaform from "../../moaform.app.mjs" ;
34import sampleEmit from "./test-event.mjs" ;
45
@@ -26,15 +27,7 @@ export default {
2627 type : "integer" ,
2728 label : "Retention Days" ,
2829 description : "Resend restriction days" ,
29- options : [
30- { label : "1" , value : 1 } ,
31- { label : "3" , value : 3 } ,
32- { label : "5" , value : 5 } ,
33- { label : "7" , value : 7 } ,
34- { label : "10" , value : 10 } ,
35- { label : "15" , value : 15 } ,
36- { label : "30" , value : 30 } ,
37- ] ,
30+ options : RETENTION_DAYS_OPTIONS ,
3831 optional : true ,
3932 } ,
4033 secret : {
You can’t perform that action at this time.
0 commit comments