File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed
libs/json-api-nestjs-sdk/src/lib Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,6 @@ import { ObjectLiteral } from 'typeorm';
26
26
export class JsonApiUtilsService {
27
27
protected jsonApiSdkConfig = inject < JsonApiSdkConfig > ( JSON_API_SDK_CONFIG ) ;
28
28
protected listEntities = inject < ListEntities > ( ALL_ENTITIES ) ;
29
- // protected patchEntities = inject<ListEntities>(PATCH_ENTITIES, {
30
- // optional: true,
31
- // });
32
-
33
- constructor ( ) {
34
- console . log ( this . listEntities ) ;
35
- }
36
-
37
29
public getUrlForResource ( resource : string ) : string {
38
30
const url : string [ ] = [ camelToKebab ( resource ) . toLocaleLowerCase ( ) ] ;
39
31
if ( this . jsonApiSdkConfig . apiPrefix ) {
Original file line number Diff line number Diff line change @@ -11,13 +11,6 @@ export interface ListEntities {
11
11
12
12
export const JSON_API_SDK_CONFIG = new InjectionToken < JsonApiSdkConfig > (
13
13
'Main config object for sdk'
14
- // {
15
- // // providedIn: JsonApiNestjsSdkModule,
16
- // factory: () => {
17
- // console.log(inject(API_SDK_CONFIG, { optional: true }));
18
- // return inject(API_SDK_CONFIG, { optional: true }) as any;
19
- // },
20
- // }
21
14
) ;
22
15
23
16
export const API_SDK_CONFIG = new InjectionToken < JsonApiSdkConfig > (
You can’t perform that action at this time.
0 commit comments