Download spectrum/api/migrations/seed/default/communitySettings.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/api/migrations/seed/default/communitySettings.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/api/migrations/seed/default/communitySettings.js
-
curl -L -o communitySettings.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/api/migrations/seed/default/communitySettings.js
1.09 kB
| const constants = require('./constants'); | |
| const { | |
| PRIVATE_COMMUNITY_WITH_JOIN_TOKEN_ID, | |
| PAYMENTS_COMMUNITY_ID, | |
| } = constants; | |
| module.exports = [ | |
| { | |
| id: 1, | |
| communityId: PRIVATE_COMMUNITY_WITH_JOIN_TOKEN_ID, | |
| brandedLogin: { | |
| isEnabled: false, | |
| message: null, | |
| }, | |
| slackSettings: { | |
| connectedAt: null, | |
| connectedBy: null, | |
| teamName: null, | |
| teamId: null, | |
| scope: null, | |
| token: null, | |
| invitesSentAt: null, | |
| invitesMemberCount: null, | |
| invitesCustomMessage: null, | |
| }, | |
| joinSettings: { | |
| tokenJoinEnabled: true, | |
| token: 'abc', | |
| }, | |
| }, | |
| { | |
| id: 2, | |
| communityId: PAYMENTS_COMMUNITY_ID, | |
| brandedLogin: { | |
| isEnabled: false, | |
| message: null, | |
| }, | |
| slackSettings: { | |
| connectedAt: null, | |
| connectedBy: null, | |
| teamName: null, | |
| teamId: null, | |
| scope: null, | |
| token: null, | |
| invitesSentAt: null, | |
| invitesMemberCount: null, | |
| invitesCustomMessage: null, | |
| }, | |
| joinSettings: { | |
| tokenJoinEnabled: true, | |
| token: 'abc', | |
| }, | |
| }, | |
| ]; | |