ApiEvent
ApiEvent: { body: Record<string, unknown> | Record<string, unknown>[]; httpMethod: string; pathParameters: Record<string, string>; query: Record<string, string>; queryStringParameters: Record<string, string>; resource: string; script: string; userAdmin: string; userSub: string }
Type declaration
-
[name: string]: unknown
-
body: Record<string, unknown> | Record<string, unknown>[]
-
httpMethod: string
-
pathParameters: Record<string, string>
-
query: Record<string, string>
-
queryStringParameters: Record<string, string>
-
resource: string
-
script: string
-
userAdmin: string
-
userSub: string
This function runs on build and when webpack dev server receives a request.
Scan the file system for views and reducers and parse them into something we can use in the app.
Check against a hash of existing file structure to see if we need to update the build file. The build file is used later in the app to load the views and reducers.