Skip to content

Commit

Permalink
JNG-4912 faster reckless (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
noherczeg authored Jun 16, 2023
1 parent f83734b commit e3eaf74
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { JudoStored } from '@judo/data-api-common';
import type { JudoStored } from '@judo/data-api-common';
{{# each (getImportTokens application.actor classType) as | token | }}
import { {{ @key }} } from './{{ token }}';
{{/ each }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { QueryCustomizer } from '@judo/data-api-common';
import type { QueryCustomizer } from '@judo/data-api-common';
import { {{ getClassName classType }} } from '../model/{{ getClassName classType }}';

{{# each (getImportTokensForQueries classType) as | token | }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{> fragment.header.hbs }}

import { JudoAxiosService } from './JudoAxiosService';
import { {{ joinedTokensForApiImportForAccessRelationServiceImpl relation }} } from '../data-api';
import { {{ relation.serviceRelationName }} } from '../data-service';
import type { {{ joinedTokensForApiImportForAccessRelationServiceImpl relation }} } from '../data-api';
import type { {{ relation.serviceRelationName }} } from '../data-service';

/**
* Access Relation Service Implementation for {{ getClassName (getRelationOwnerAsClassType relation) }}.{{ relation.name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{> fragment.header.hbs }}

import { AxiosResponse } from 'axios';
import { JudoDownloadFile, JudoMetaData, JudoToken } from '@judo/data-api-common';
import type { AxiosResponse } from 'axios';
import type { JudoDownloadFile, JudoMetaData, JudoToken } from '@judo/data-api-common';
import { JudoAxiosService } from './JudoAxiosService';
{{# if application.principal }}import { {{ classDataName application.principal "Stored" }} } from '../data-api';{{/ if }}
{{# if application.principal }}import type { {{ classDataName application.principal "Stored" }} } from '../data-api';{{/ if }}
import { AccessService } from '../data-service';

export class AccessServiceImpl extends JudoAxiosService implements AccessService {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { AxiosInstance } from 'axios';
import type { AxiosInstance } from 'axios';

export interface JudoAxiosProviderInitData {
axios: AxiosInstance;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{> fragment.header.hbs }}

import { JudoIdentifiable } from '@judo/data-api-common';
import type { JudoIdentifiable } from '@judo/data-api-common';
import { JudoAxiosService } from './JudoAxiosService';
import { {{ joinedTokensForApiImportClassService classType }} } from '../data-api';
import { {{ classType.serviceClassName }} } from '../data-service';
import type { {{ joinedTokensForApiImportClassService classType }} } from '../data-api';
import type { {{ classType.serviceClassName }} } from '../data-service';

/**
* Class Service Implementation for {{ getClassName classType }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { AxiosInstance } from 'axios';
import type { AxiosInstance } from 'axios';
import { AxiosProvider, JudoAxiosProviderInitData } from './AxiosProvider';

export class JudoAxiosProvider implements AxiosProvider {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { AxiosInstance } from 'axios';
import type { AxiosInstance } from 'axios';
import { AxiosProvider } from './AxiosProvider';

export abstract class JudoAxiosService {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{> fragment.header.hbs }}

import { JudoIdentifiable } from '@judo/data-api-common';
import type { JudoIdentifiable } from '@judo/data-api-common';
import { JudoAxiosService } from './JudoAxiosService';
import { {{ joinedTokensForApiImport relation }} } from '../data-api';
import { {{ serviceRelationName relation }} } from '../data-service';
import type { {{ joinedTokensForApiImport relation }} } from '../data-api';
import type { {{ serviceRelationName relation }} } from '../data-service';

/**
* Relation Service Implementation for {{ getClassName (getRelationOwnerAsClassType relation) }}.{{ relation.name }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { JudoDownloadFile, JudoMetaData } from '@judo/data-api-common';
import type { JudoDownloadFile, JudoMetaData } from '@judo/data-api-common';
{{# if application.principal }} import { {{ classDataName application.principal "Stored" }} } from '../data-api';{{/ if }}

export interface AccessService {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { JudoIdentifiable } from '@judo/data-api-common';
import type { JudoIdentifiable } from '@judo/data-api-common';
import { {{ joinedTokensForApiImportClassService classType }} } from '../data-api';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{> fragment.header.hbs }}

import { JudoIdentifiable } from '@judo/data-api-common';
import type { JudoIdentifiable } from '@judo/data-api-common';
import { {{ joinedTokensForApiImport relation }} } from '../data-api';

/**
Expand Down

0 comments on commit e3eaf74

Please sign in to comment.