Skip to content

Commit

Permalink
chore: 🔥 resolved merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeep-deriv committed Oct 14, 2024
2 parents de9d7ac + 7b018b8 commit eea6b6c
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 277 deletions.
4 changes: 0 additions & 4 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ inputs:
GROWTHBOOK_CLIENT_KEY:
description: Growthbook client key for analytics
required: false
GROWTHBOOK_DECRYPTION_KEY:
description: Growthbook decryption key for analytics
required: false
runs:
using: composite
steps:
Expand All @@ -26,6 +23,5 @@ runs:
TRACKJS_TOKEN: ${{ inputs.TRACKJS_TOKEN }}
RUDDERSTACK_KEY: ${{ inputs.RUDDERSTACK_KEY }}
GROWTHBOOK_CLIENT_KEY: ${{ inputs.GROWTHBOOK_CLIENT_KEY }}
GROWTHBOOK_DECRYPTION_KEY: ${{ inputs.GROWTHBOOK_DECRYPTION_KEY }}
run: npm run build
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/versioning/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ runs:
env:
RELEASE_TYPE: ${{ inputs.RELEASE_TYPE }}
RELEASE_TAG: ${{ inputs.RELEASE_TAG }}
run: echo "$RELEASE_TYPE--GITHUB_REF:$RELEASE_TAG--DATE:$(date -u +'%Y-%m-%dT%H:%M:%SZ')" > build/version.txt
run: echo "$RELEASE_TAG" > build/version.txt
shell: bash
3 changes: 1 addition & 2 deletions .github/workflows/release_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
NODE_ENV: production
TRACKJS_TOKEN: ${{ secrets.TRACKJS_TOKEN }}
RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }}
GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }}
GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }}
- name: Versioning
uses: ./.github/actions/versioning
Expand Down Expand Up @@ -96,7 +95,7 @@ jobs:
VERCEL_SCOPE: deriv
ALIAS_DOMAIN_URL: 'api-docs-dr.binary.sx'
- name: Send Slack Notification
if: always() && ${{ steps.publish_to_vercel.outcome != 'success'}}
if: ${{ steps.publish_to_vercel.outcome != 'success'}}
uses: ./.github/actions/notify_slack
with:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
with:
NODE_ENV: staging
RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }}
GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }}
GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }}
- name: Versioning
uses: ./.github/actions/versioning
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
NODE_ENV: staging
TRACKJS_TOKEN: ${{ secrets.TRACKJS_TOKEN }}
RUDDERSTACK_KEY: ${{ vars.RUDDERSTACK_KEY }}
GROWTHBOOK_DECRYPTION_KEY: ${{ secrets.GROWTHBOOK_DECRYPTION_KEY }}
GROWTHBOOK_CLIENT_KEY: ${{ vars.GROWTHBOOK_CLIENT_KEY }}
- name: Versioning
uses: ./.github/actions/versioning
Expand Down
4 changes: 4 additions & 0 deletions config/v3/document_upload/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"driving_licence",
"utility_bill",
"bankstatement",
"bank_statement",
"power_of_attorney",
"amlglobalcheck",
"docverification",
Expand Down Expand Up @@ -86,6 +87,9 @@
"memorandum",
"authorisation_letter",
"declarations",
"affidavit",
"official_letter",
"rental_agreement",
"business_documents_others"
]
},
Expand Down
8 changes: 8 additions & 0 deletions config/v3/get_account_status/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,14 @@
1
]
},
"mu": {
"description": "This represents whether the client is allowed or not to create an account under this jurisdiction",
"type": "integer",
"enum": [
0,
1
]
},
"samoa": {
"description": "This represents whether the client is allowed or not to create an account under this jurisdiction",
"type": "integer",
Expand Down
3 changes: 2 additions & 1 deletion config/v3/landing_company_details/send.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"samoa-virtual",
"dsl",
"bvi",
"labuan"
"labuan",
"mu"
]
},
"country": {
Expand Down
16 changes: 12 additions & 4 deletions config/v3/partner_accounts/receive.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
"company"
]
},
"platform_url": {
"description": "Platform URL for Dynamic works dashboard to be redirected from Partners Hub which will be set in BackOffice.",
"type": "string"
},
"provider": {
"description": "Defines the provider platform.",
"type": "string",
Expand All @@ -63,6 +59,18 @@
}
}
}
},
"platform_url": {
"description": "Platform URL for Dynamic works dashboard to be redirected from Partners Hub which will be set in BackOffice.",
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z_]+$": {
"description": "Partner's provider as key and platform URL as value",
"type": "string",
"pattern": "^[\\w_@./:#&+-]*$"
}
}
}
}
},
Expand Down
1 change: 0 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const config = {
customFields: {
trackJsToken: process.env.TRACKJS_TOKEN,
rudderstackKey: process.env.RUDDERSTACK_KEY,
growthbookDecryptionKey: process.env.GROWTHBOOK_DECRYPTION_KEY,
growthbookClientKey: process.env.GROWTHBOOK_CLIENT_KEY,
},

Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
'^.+\\.mjs$': 'babel-jest',
},
transformIgnorePatterns: [
'node_modules/(?!(@docusaurus|swiper|ssr-window|dom7)|@theme|@deriv-com/quill-ui)',
'node_modules/(?!(@docusaurus|swiper|ssr-window|dom7)|@theme|@deriv-com/quill-ui|@deriv-com/auth-client)',
],
moduleNameMapper: {
'@theme/(.*)': '@docusaurus/theme-classic/src/theme/$1',
Expand Down
Loading

0 comments on commit eea6b6c

Please sign in to comment.