Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { Strapi } from './sdk';

import type { StrapiConfig } from './sdk';

export * from './errors';

export interface Config {
/**
* The base URL of the Strapi content API.
Expand Down Expand Up @@ -94,3 +92,10 @@ export const strapi = (config: Config) => {

return new Strapi(sdkConfig);
};

// Error classes
export * from './errors';

// Public types and interfaces
export type { StrapiConfig, Strapi } from './sdk';
export type { CollectionTypeManager, SingleTypeManager } from './content-types';