Skip to content

Commit e3f26d7

Browse files
committed
feat(twenty-partners): expose partnerScope on list + by-slug endpoints
1 parent 306ad94 commit e3f26d7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

packages/twenty-apps/internal/twenty-partners/src/logic-functions/get-partner-by-slug.logic-function.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type Partner = {
1414
introduction: string | null;
1515
languagesSpoken: string[] | null;
1616
deploymentExpertise: string[] | null;
17+
partnerScope: string[] | null;
1718
region: string[] | null;
1819
calendarLink: LinkValue;
1920
hourlyRate: CurrencyValue;
@@ -59,6 +60,7 @@ const handler = async (input: {
5960
introduction: true,
6061
languagesSpoken: true,
6162
deploymentExpertise: true,
63+
partnerScope: true,
6264
region: true,
6365
calendarLink: { primaryLinkUrl: true },
6466
hourlyRate: { amountMicros: true, currencyCode: true },

packages/twenty-apps/internal/twenty-partners/src/logic-functions/list-available-partners.logic-function.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type Partner = {
1414
introduction: string | null;
1515
languagesSpoken: string[] | null;
1616
deploymentExpertise: string[] | null;
17+
partnerScope: string[] | null;
1718
region: string[] | null;
1819
calendarLink: LinkValue;
1920
hourlyRate: CurrencyValue;
@@ -52,6 +53,7 @@ const handler = async (): Promise<ListAvailablePartnersResult> => {
5253
introduction: true,
5354
languagesSpoken: true,
5455
deploymentExpertise: true,
56+
partnerScope: true,
5557
region: true,
5658
calendarLink: { primaryLinkUrl: true },
5759
hourlyRate: { amountMicros: true, currencyCode: true },

0 commit comments

Comments
 (0)