working_groups.ts 969 B

1234567891011121314151617181920212223242526
  1. export enum WorkingGroups {
  2. ContentCurators = 'curators',
  3. StorageProviders = 'storageProviders',
  4. OperationsAlpha = 'operationsGroupAlpha',
  5. OperationsBeta = 'operationsGroupBeta',
  6. OperationsGamma = 'operationsGroupGamma',
  7. Distribution = 'distribution'
  8. }
  9. export const AvailableGroups: readonly WorkingGroups[] = [
  10. WorkingGroups.ContentCurators,
  11. WorkingGroups.StorageProviders,
  12. WorkingGroups.OperationsAlpha,
  13. WorkingGroups.OperationsBeta,
  14. WorkingGroups.OperationsGamma,
  15. WorkingGroups.Distribution
  16. ] as const;
  17. export const workerRoleNameByGroup: { [key in WorkingGroups]: string } = {
  18. [WorkingGroups.ContentCurators]: 'Content Curator',
  19. [WorkingGroups.StorageProviders]: 'Storage Provider',
  20. [WorkingGroups.OperationsAlpha]: 'Operations Group Alpha Worker',
  21. [WorkingGroups.OperationsBeta]: 'Operations Group Beta Worker',
  22. [WorkingGroups.OperationsGamma]: 'Operations Group Gamma Worker',
  23. [WorkingGroups.Distribution]: 'Distribution'
  24. };