Skip to content

Conversation

@smar-ben-feigin
Copy link
Contributor

No description provided.

webhooks : 'webhooks/',
workspaces : 'workspaces/'
};
export enum ApiSection {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to land these objects in types.ts?

pageSize?: number;
};

export type PaginationResponse = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How frequently are these types used (everywhere?)

totalCount: number;
};

export enum FavoritableResource {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a standard set of resources?

@smar-ben-feigin smar-ben-feigin changed the title structure for ts building Favorites / TS API structures Mar 21, 2025
@@ -1,22 +1,41 @@
import {ApiUrls} from "../types";
export const apiUrls: ApiUrls = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a breaking change (conceptually even through deep-imports if not explicitly exported)

@@ -1,22 +1,41 @@
import {ApiUrls} from "../types";
export const apiUrls: ApiUrls = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-export apiUrlByResource as apiUrls with a @depricated tag on it

type IncludeOptions = string;

type ListFavoritesParamsNonPaginated = {
includeAll: true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change this to avoid stronger restrictions than exactly in the api spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants