这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: hey-api/openapi-ts

@hey-api/openapi-ts@0.86.1

20 Oct 12:23
efa2e87

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.86.0

19 Oct 08:11
c6159c3

Choose a tag to compare

Minor Changes

Patch Changes

Updated Dependencies:

  • @hey-api/codegen-core@0.3.0

@hey-api/codegen-core@0.3.0

19 Oct 08:11
c6159c3

Choose a tag to compare

Minor Changes

@hey-api/openapi-ts@0.85.2

13 Oct 13:21
3f34859

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.85.1

08 Oct 14:04
e897ee5

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.85.0

06 Oct 04:31
9ca3140

Choose a tag to compare

Minor Changes

Updated output options

We made the output configuration more consistent by using null to represent disabled options. This change does not affect boolean options.

export default {
  input: 'hey-api/backend', // sign up at app.heyapi.dev
  output: {
    format: null,
    lint: null,
    path: 'src/client',
    tsConfigPath: null,
  },
};

Patch Changes

Updated Pinia Colada query options

Pinia Colada query options now use defineQueryOptions to improve reactivity support. Instead of calling the query options function, you can use one of the following approaches.

No params

useQuery(getPetsQuery);

Constant

useQuery(getPetByIdQuery, () => ({
  path: {
    petId: 1,
  },
}));

Reactive

const petId = ref<number | null>(1);

useQuery(getPetByIdQuery, () => ({
  path: {
    petId: petId.value,
  },
}));

Properties

const petId = ref<number | null>(1);

useQuery(() => ({
  ...getPetByIdQuery({
    path: { petId: petId.value as number },
  }),
  enabled: () => petId.value != null,
}));

@hey-api/openapi-ts@0.84.4

30 Sep 12:31
453c834

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.84.3

25 Sep 13:44
612d9c1

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.84.2

23 Sep 19:54
c8124d9

Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.84.1

22 Sep 21:46
74ee594

Choose a tag to compare

Patch Changes