dryvPacks

@dryv/ts-api-clientv0.1.5

A framework-free TypeScript API client over fetch, with typed models and one call per operation.

TypeScript API ClientClientsUnitPublished 7 days ago2 downloads

dryv pack add @dryv/ts-api-client
494 BRaw ↗
yaml
version: dryv/v1alpha1
sources:
  authoring:
    main:
      type: ir
      path: dryv.ir.yaml
  packs:
    local:
      path: packs
destinations:
  out:
    path: out
    choose:
      js.package_manager: bun
authoring:
  source:
    $ref: "#/sources/authoring/main"
packs:
  api:
    source: { $ref: "#/sources/packs/local", path: unit/clients/ts-api-client }
    destination:
      $ref: "#/destinations/out"
    inputs:
      package_name: "@fixture/api-client"
      package_private: true