File tree 5 files changed +24
-0
lines changed
libs/driver/in-memory/src
5 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { DaffInMemoryDriverConfig } from './type' ;
2
+
3
+ export const DAFF_IN_MEMORY_DRIVER_CONFIG_DEFAULT : DaffInMemoryDriverConfig = {
4
+ apiBase : 'api' ,
5
+ } ;
Original file line number Diff line number Diff line change
1
+ export * from './default' ;
2
+ export * from './token' ;
3
+ export * from './type' ;
Original file line number Diff line number Diff line change
1
+ import { createConfigInjectionToken } from '@daffodil/core' ;
2
+
3
+ import { DAFF_IN_MEMORY_DRIVER_CONFIG_DEFAULT } from './default' ;
4
+ import { DaffInMemoryDriverConfig } from './type' ;
5
+
6
+ export const {
7
+ token : DAFF_IN_MEMORY_DRIVER_CONFIG ,
8
+ provider : provideDaffInMemoryDriverConfig ,
9
+ } = createConfigInjectionToken < DaffInMemoryDriverConfig > ( DAFF_IN_MEMORY_DRIVER_CONFIG_DEFAULT , 'DAFF_IN_MEMORY_DRIVER_CONFIG' ) ;
Original file line number Diff line number Diff line change
1
+ export interface DaffInMemoryDriverConfig {
2
+ /**
3
+ * The base path segment of the API route.
4
+ */
5
+ apiBase : string ;
6
+ }
Original file line number Diff line number Diff line change 1
1
export * from './backend/public_api' ;
2
2
export * from './driver/public_api' ;
3
+ export * from './config/public_api' ;
You can’t perform that action at this time.
0 commit comments