You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue keeps track of the various server-side divergences between the form-v2/develop and develop branch, so we hopefully only need to migrate infra + react related code instead of also having to check for server-side variances.
/** * Handler for GET /frontend/env endpoint. * @returns the environment variables needed to hydrate the frontend. */exportconsthandleGetEnvironment: ControllerHandler<never,ClientEnvVars>=(_req,res,)=>{returnres.json(getClientEnvVars())}
src/types/api/form_auth.ts
Not used in react, so not updating for now
The text was updated successfully, but these errors were encountered:
karrui
changed the title
Fix divergences in server between form-v2/develop and develop branch
Fix server-side divergences between form-v2/develop and develop branch
Feb 21, 2022
This issue keeps track of the various server-side divergences between the form-v2/develop and develop branch, so we hopefully only need to migrate infra + react related code instead of also having to check for server-side variances.
shared/constants/form.ts
shared/types/core.ts
shared/types/form/form.ts
shared/types/user.ts
shared/utils/file-validation.ts
export const VALID_EXTENSIONS
shared/utils/immutable-array-fns.tsAdd
Add positional API (documented in feat(builder/4): add form field creation feature in form builder, extend create field API with positional arg #3135
Add env var route (documented in feat(form-v2): add
/client/env
route for sending client env vars as JSON #2878)src/app/modules/user/user.controller.ts
Update types
src/app/modules/user/user.utils.ts
Remove InvalidOtpError -> unauthorised (will remove login session)
src/types/api/form_auth.tsNot used in react, so not updating for now
The text was updated successfully, but these errors were encountered: