Kind: Interface
Source: atloria-monorepo/packages/ui-react/src/hooks/useAudiences.ts
Return type for useAudiences hook
Properties
| Property | Type |
|---|---|
audiences | AudienceModel[] |
loading | boolean |
error | `Error |
refresh | () => Promise<void> |
createAudience | `(data: { |
name: string; slug: string; color: string; icon: string; description?: string;
}) => Promise| |updateAudience|(
id: string,
data: {
name?: string;
slug?: string;
color?: string;
icon?: string;
description?: string;
},
) => Promise| |deleteAudience|(id: string) => Promise
Was this page helpful?