mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 04:56:07 +00:00

* 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
16 lines
567 B
TypeScript
16 lines
567 B
TypeScript
import { Transformers } from '../../client';
|
|
import type { UsingClient } from '../../commands';
|
|
import type { APIEntitlement } from '../../types';
|
|
|
|
export const ENTITLEMENT_CREATE = (client: UsingClient, data: APIEntitlement) => {
|
|
return Transformers.Entitlement(client, data);
|
|
};
|
|
|
|
export const ENTITLEMENT_UPDATE = (client: UsingClient, data: APIEntitlement) => {
|
|
return Transformers.Entitlement(client, data);
|
|
};
|
|
|
|
export const ENTITLEMENT_DELETE = (client: UsingClient, data: APIEntitlement) => {
|
|
return Transformers.Entitlement(client, data);
|
|
};
|