Skip to content

Commit

Permalink
Migrate to new credentials (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
duong-se authored Dec 2, 2019
1 parent 605351f commit 760aa62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- task: S3Upload@1
displayName: Deploy assets to S3
inputs:
awsCredentials: 'df-huy'
awsCredentials: 'df-duong'
regionName: 'eu-west-2'
bucketName: 'reapit-lifetime-legal-dev'
sourceFolder: '$(Pipeline.Workspace)/AppBundle'
Expand All @@ -93,7 +93,7 @@ jobs:
- task: S3Upload@1
displayName: Deploy assets to S3
inputs:
awsCredentials: 'df-huy'
awsCredentials: 'df-duong'
regionName: 'eu-west-2'
bucketName: 'reapit-lifetime-legal-prod'
sourceFolder: '$(Pipeline.Workspace)/AppBundle'
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/fetch-definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const fetchDefinitionsForSchema = async (schemaConfig, accessToken) => {
* reason: because metadata child fields can be any type: string, number, object
*
*/
const cookedDefinitions = convertedDefinitions.replace(/\[name[^}]+}/g, '[name: string]:any')
const cookedDefinitions = convertedDefinitions.replace(/\[name: string]: {\n\s{4}};\n/g, '[name: string]:any;\n')

// Write interfaces to file
fs.writeFile(definitionFile, cookedDefinitions, error => {
Expand Down
12 changes: 6 additions & 6 deletions src/types/contact-api-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export interface ContactModel {
* Gets a listing of additional metadata that has been set against this contact
*/
metadata?: {
[name: string]: any
[name: string]: {}
}
readonly links?: LinkModel[]
}
Expand Down Expand Up @@ -218,7 +218,7 @@ export interface CreateContactModel {
* Sets a JSON fragment to attach to this contact as metadata
*/
metadata?: {
[name: string]: any
[name: string]: {}
}
}
/**
Expand Down Expand Up @@ -247,7 +247,7 @@ export interface CreateIdentityCheckModel {
* Sets a JSON fragment to attach to this identity check as metadata
*/
metadata?: {
[name: string]: any
[name: string]: {}
}
}
/**
Expand Down Expand Up @@ -326,7 +326,7 @@ export interface IdentityCheckModel {
* Gets a listing of additional metadata that has been set against this identity check
*/
metadata?: {
[name: string]: any
[name: string]: {}
}
readonly links?: LinkModel[]
}
Expand Down Expand Up @@ -494,7 +494,7 @@ export interface UpdateContactModel {
* Sets a JSON fragment to attach to this contact as metadata
*/
metadata?: {
[name: string]: any
[name: string]: {}
}
}
/**
Expand Down Expand Up @@ -523,7 +523,7 @@ export interface UpdateIdentityCheckModel {
* Sets a JSON fragment to attach to this identity check as metadata
*/
metadata?: {
[name: string]: any
[name: string]: {}
}
}
/**
Expand Down

0 comments on commit 760aa62

Please sign in to comment.