seyfert/src/api/Routes/skus.ts
MARCROCK22 13b8a32d42
fix rest types, collectors update, improve types (#266)
* feat: ctx types, delete threads cache, cache.channels.threads, changes to collectors, fix rest types

* fix: use apithreadchannel instead

* feat: revert threads relationship, fix collectors

* fix: cache thread when creating

* fix: unused

* feat: entitlement trasnformer

* fix: non-null assertion

* fix: circular?

* fix: collector onStop reason type

* fix: types

* feat: onPass method

* fix: undefined value
2024-09-27 22:08:50 -05:00

16 lines
504 B
TypeScript

import type {
RESTGetAPISKUSubscriptionResult,
RESTGetAPISKUSubscriptionsQuery,
RESTGetAPISKUSubscriptionsResult,
} from '../../types';
import type { RestArguments, RestArgumentsNoBody } from '../api';
export interface SKuRoutes {
skus(id: string): {
get: (args?: RestArguments<RESTGetAPISKUSubscriptionsQuery>) => Promise<RESTGetAPISKUSubscriptionsResult>;
subscriptions(id: string): {
get: (args?: RestArgumentsNoBody) => Promise<RESTGetAPISKUSubscriptionResult>;
};
};
}