Skip to content

Commit

Permalink
Reintroduce facade
Browse files Browse the repository at this point in the history
  • Loading branch information
daogrady committed Jul 24, 2024
1 parent da4a6e9 commit ed1cd34
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions apis/cds.d.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,2 @@
export * from './core'
export * from './server'
export * from './env'
export * from './models'
export * from './services'
export * from './events'
export * from './utils'
export * from './cqn'
export * from './global'
export { log, debug } from './log'
export { test } from './test'

// API extractor cannot handle export * as ql from './ql', so split it into an import and an export statement
import * as ql from './ql'
export { ql }
export { QLExtensions } from './ql' // cds-ql.ts test tries to import this from top level? Correct? Or ql.QLExtensions?

import * as csn from './csn'
// clashes with linked and not really needed for consumers,
// so only available in namespaced form (same fix for rollup as above)
export { csn }

// trick to work around "delete" as reserved identifier
import { Service } from './services'
declare const delete_: Service['delete']
export { delete_ as delete }

export const version: string
export const home: string
export const root: string

import { env } from './env'
export const requires: env.Requires
export * from './facade'
export * as default from './facade'

0 comments on commit ed1cd34

Please sign in to comment.