Skip to content

Commit

Permalink
Merge pull request #536 from Enterprise-CMCS/master
Browse files Browse the repository at this point in the history
Release to val
  • Loading branch information
mdial89f authored May 10, 2024
2 parents f885c6c + d5a3959 commit 22fdca7
Show file tree
Hide file tree
Showing 45 changed files with 1,559 additions and 500 deletions.
2 changes: 1 addition & 1 deletion docs/_deploy-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"react-dom": "18.2.0",
"react-icons": "^4.8.0",
"react-json-to-csv": "^1.2.0",
"recharts": "^2.12.3"
"recharts": "^2.12.5"
},
"devDependencies": {
"@types/node": "18.11.0",
Expand Down
8 changes: 4 additions & 4 deletions docs/_deploy-metrics/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3726,10 +3726,10 @@ recharts-scale@^0.4.4:
dependencies:
decimal.js-light "^2.4.1"

recharts@^2.12.3:
version "2.12.4"
resolved "https://registry.yarnpkg.com/recharts/-/recharts-2.12.4.tgz#e560a57cd44ab554c99a0d93bdd58d059b309a2e"
integrity sha512-dM4skmk4fDKEDjL9MNunxv6zcTxePGVEzRnLDXALRpfJ85JoQ0P0APJ/CoJlmnQI0gPjBlOkjzrwrfQrRST3KA==
recharts@^2.12.5:
version "2.12.6"
resolved "https://registry.yarnpkg.com/recharts/-/recharts-2.12.6.tgz#e466d4af6e552b6d271e456b75af522a20a1c50d"
integrity sha512-D+7j9WI+D0NHauah3fKHuNNcRK8bOypPW7os1DERinogGBGaHI7i6tQKJ0aUF3JXyBZ63dyfKIW2WTOPJDxJ8w==
dependencies:
clsx "^2.0.0"
eventemitter3 "^4.0.1"
Expand Down
1 change: 1 addition & 0 deletions src/packages/shared-types/forms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export type RHFSlotProps = {
name: string;
label?: RHFTextField;
labelClassName?: string;
styledLabel?: RHFTextField;
formItemClassName?: string;
groupNamePrefix?: string;
description?: RHFTextField;
Expand Down
10 changes: 1 addition & 9 deletions src/services/api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,36 +65,28 @@ custom:
onemacLegacyS3AccessRoleArn: ${ssm:/aws/reference/secretsmanager/${self:custom.project}/${sls:stage}/onemacLegacyS3AccessRoleArn, ssm:/aws/reference/secretsmanager/${self:custom.project}/default/onemacLegacyS3AccessRoleArn}
dbInfo: ${ssm:/aws/reference/secretsmanager/${self:custom.project}/${sls:stage}/seatool/dbInfo, ssm:/aws/reference/secretsmanager/${self:custom.project}/default/seatool/dbInfo}
brokerString: ${ssm:/aws/reference/secretsmanager/${self:custom.project}/${sls:stage}/brokerString, ssm:/aws/reference/secretsmanager/${self:custom.project}/default/brokerString}
launchdarklySDKKey: ${ssm:/${self:service}/${sls:stage}/launchdarklySDKKey, ssm:/${self:service}/default/launchdarklySDKKey}
launchdarklySDKKey: ${ssm:/aws/reference/secretsmanager/${self:custom.project}/${sls:stage}/launchdarklySDKKey, ssm:/aws/reference/secretsmanager/${self:custom.project}/default/launchdarklySDKKey}

params:
master:
formsProvisionedConcurrency: 2
getAllFormsProvisionedConcurrency: 1
searchProvisionedConcurrency: 4
itemProvisionedConcurrency: 2
getAttachmentUrlProvisionedConcurrency: 2
submitProvisionedConcurrency: 2
appkNewSubmissionConcurrency: 2
val:
formsProvisionedConcurrency: 2
getAllFormsProvisionedConcurrency: 1
searchProvisionedConcurrency: 4
itemProvisionedConcurrency: 2
getAttachmentUrlProvisionedConcurrency: 2
submitProvisionedConcurrency: 2
appkNewSubmissionConcurrency: 2
production:
formsProvisionedConcurrency: 5
getAllFormsProvisionedConcurrency: 1
searchProvisionedConcurrency: 10
itemProvisionedConcurrency: 5
getAttachmentUrlProvisionedConcurrency: 5
submitProvisionedConcurrency: 5
appkNewSubmissionConcurrency: 5
default:
formsProvisionedConcurrency: 0
getAllFormsProvisionedConcurrency: 0
searchProvisionedConcurrency: 0
itemProvisionedConcurrency: 0
getAttachmentUrlProvisionedConcurrency: 0
Expand Down
30 changes: 26 additions & 4 deletions src/services/api/webforms/ABP1/v202401.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export const v202401: FormSchema = {
label: "Alternative Benefit Plan population name",
rules: {
required: "* Required",
pattern: {
value: /^\S(.*\S)?$/,
message: "Must not have leading or trailing whitespace.",
},
},
props: { placeholder: "enter name" },
},
Expand Down Expand Up @@ -530,7 +534,7 @@ export const v202401: FormSchema = {
},
rules: {
pattern: {
value: /^[1-9]\d*$/,
value: /^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down Expand Up @@ -630,6 +634,12 @@ export const v202401: FormSchema = {
rules: {
required:
"* Required",
pattern: {
value:
/^\S(.*\S)?$/,
message:
"Must not have leading or trailing whitespace.",
},
},
},
{
Expand Down Expand Up @@ -663,7 +673,7 @@ export const v202401: FormSchema = {
rules: {
pattern: {
value:
/^[1-9]\d*$/,
/^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down Expand Up @@ -767,6 +777,12 @@ export const v202401: FormSchema = {
rules: {
required:
"* Required",
pattern: {
value:
/^\S(.*\S)?$/,
message:
"Must not have leading or trailing whitespace.",
},
},
},
{
Expand Down Expand Up @@ -800,7 +816,7 @@ export const v202401: FormSchema = {
rules: {
pattern: {
value:
/^[1-9]\d*$/,
/^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down Expand Up @@ -903,6 +919,12 @@ export const v202401: FormSchema = {
rules: {
required:
"* Required",
pattern: {
value:
/^\S(.*\S)?$/,
message:
"Must not have leading or trailing whitespace.",
},
},
},
{
Expand Down Expand Up @@ -936,7 +958,7 @@ export const v202401: FormSchema = {
rules: {
pattern: {
value:
/^[1-9]\d*$/,
/^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down
34 changes: 28 additions & 6 deletions src/services/api/webforms/ABP1/v202402.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export const v202402: FormSchema = {
label: "ABP package name",
rules: {
required: "* Required",
pattern: {
value: /^\S(.*\S)?$/,
message: "Must not have leading or trailing whitespace.",
},
},
props: { placeholder: "enter name" },
},
Expand All @@ -40,7 +44,7 @@ export const v202402: FormSchema = {
label: "Eligibility group",
props: {
sort: "ascending",
className: "min-w-[300px]",
className: "w-[300px]",
options: [
{
label: "Parents and Other Caretaker Relatives",
Expand Down Expand Up @@ -271,7 +275,7 @@ export const v202402: FormSchema = {
required: "* Required",
},
props: {
className: "w-[200px]",
className: "w-[300px]",
options: [
{
label: "Mandatory",
Expand Down Expand Up @@ -502,7 +506,7 @@ export const v202402: FormSchema = {
},
rules: {
pattern: {
value: /^[1-9]\d*$/,
value: /^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down Expand Up @@ -604,6 +608,12 @@ export const v202402: FormSchema = {
rules: {
required:
"* Required",
pattern: {
value:
/^\S(.*\S)?$/,
message:
"Must not have leading or trailing whitespace.",
},
},
},
{
Expand Down Expand Up @@ -637,7 +647,7 @@ export const v202402: FormSchema = {
rules: {
pattern: {
value:
/^[1-9]\d*$/,
/^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down Expand Up @@ -741,6 +751,12 @@ export const v202402: FormSchema = {
rules: {
required:
"* Required",
pattern: {
value:
/^\S(.*\S)?$/,
message:
"Must not have leading or trailing whitespace.",
},
},
},
{
Expand Down Expand Up @@ -774,7 +790,7 @@ export const v202402: FormSchema = {
rules: {
pattern: {
value:
/^[1-9]\d*$/,
/^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down Expand Up @@ -877,6 +893,12 @@ export const v202402: FormSchema = {
rules: {
required:
"* Required",
pattern: {
value:
/^\S(.*\S)?$/,
message:
"Must not have leading or trailing whitespace.",
},
},
},
{
Expand Down Expand Up @@ -910,7 +932,7 @@ export const v202402: FormSchema = {
rules: {
pattern: {
value:
/^[1-9]\d*$/,
/^[0-9]\d*$/,
message:
"Must be a positive integer value",
},
Expand Down
Loading

0 comments on commit 22fdca7

Please sign in to comment.