Skip to content
Snippets Groups Projects
Select Git revision
  • faf99dcd724bdfccf863cd3428f86ded42a9138d
  • master default protected
  • gitkeep
  • dev protected
  • Issue/2218-updateLinksToDocumentationPage
  • Issue/1913-ModificationsResourceMetadata
  • Sprint/2022-01
  • Hotfix/1911-fixFormatting
  • Sprint/2021-2022
  • Issue/912-rearrangeHeader
  • Sprint/2021-22
  • Issue/1743-changedLink
  • Issue/1659-makeViewCardsALink
  • Sprint/2021-15
  • Product/1573-ReadOnlyResources
  • x/linting
  • Topic/1595-IncludeReadonlyValueInResourcesApp
  • Topic/1531-UseMangmntTableView
  • Product/1548-projectInviteMngmnt
  • Sprint/2021-08
  • Hotfix/1475-projectCreateSpinner
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.0
  • v1.8.1
  • v1.8.0
  • v1.7.0
  • v1.6.2
  • v1.6.1
  • v1.6.0
  • v1.5.0
  • v1.4.1
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.0
41 results

Header.vue

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    admin.ts 591 B
    import { MapperConfiguration, MappingPair } from "@dynamic-mapper/mapper";
    
    import type { QuotaDto } from "@coscine/api-client/dist/types/Coscine.Api";
    import { QuotaDimObject } from "@coscine/api-client/dist/types/Coscine.Api.Admin";
    
    /**
     * @deprecated - Delete this mapping pair once APIv2 is used globally.
     */
    export const QuotaDimObject2QuotaDto = new MappingPair<
      QuotaDimObject,
      QuotaDto
    >();
    
    const configuration = new MapperConfiguration((cfg) => {
      // Other maps
      cfg.createAutoMap(QuotaDimObject2QuotaDto, {});
    });
    
    export const adminMapper = configuration.createMapper();