Skip to content

Commit 3536730

Browse files
authored
feat: add equity to OpportunityMeta (#3248)
1 parent c5a0ae9 commit 3536730

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

__tests__/fixture/opportunity.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export const opportunitiesFixture: DeepPartial<OpportunityJob>[] = [
9494
currency: 'USD',
9595
period: SalaryPeriod.ANNUAL,
9696
},
97+
equity: true,
9798
},
9899
createdAt: new Date('2023-01-01'),
99100
updatedAt: new Date('2023-01-01'),

__tests__/schema/opportunity.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ describe('query opportunityById', () => {
144144
max
145145
period
146146
}
147+
equity
147148
}
148149
location {
149150
city
@@ -222,6 +223,7 @@ describe('query opportunityById', () => {
222223
max: 120000,
223224
period: 1,
224225
},
226+
equity: true,
225227
},
226228
location: [
227229
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@connectrpc/connect-fastify": "^1.6.1",
3737
"@connectrpc/connect-node": "^1.6.1",
3838
"@dailydotdev/graphql-redis-subscriptions": "^2.4.3",
39-
"@dailydotdev/schema": "0.2.49",
39+
"@dailydotdev/schema": "0.2.50",
4040
"@dailydotdev/ts-ioredis-pool": "^1.0.2",
4141
"@fastify/cookie": "^11.0.2",
4242
"@fastify/cors": "^11.1.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/schema/opportunity.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export const typeDefs = /* GraphQL */ `
115115
salary: Salary
116116
seniorityLevel: ProtoEnumValue
117117
roleType: Float
118+
equity: Boolean
118119
}
119120
120121
type OpportunityKeyword {

0 commit comments

Comments
 (0)