mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
15 lines
333 B
TypeScript
15 lines
333 B
TypeScript
import type { SubscriptionClaim } from '@prisma/client';
|
|
|
|
export const generateDefaultSubscriptionClaim = (): Omit<
|
|
SubscriptionClaim,
|
|
'id' | 'organisation' | 'createdAt' | 'updatedAt' | 'originalSubscriptionClaimId'
|
|
> => {
|
|
return {
|
|
name: '',
|
|
teamCount: 1,
|
|
memberCount: 1,
|
|
locked: false,
|
|
flags: {},
|
|
};
|
|
};
|