Skip to content

Commit 40b22f9

Browse files
refactor: resolve merge conflicts
2 parents f124981 + 06a413e commit 40b22f9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1081
-415
lines changed

.coderabbit.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
language: "en-US"
3+
early_access: false
4+
reviews:
5+
profile: "chill"
6+
request_changes_workflow: false
7+
high_level_summary: false
8+
poem: false
9+
review_status: true
10+
collapse_walkthrough: true
11+
auto_review:
12+
enabled: true
13+
drafts: false
14+
chat:
15+
auto_reply: true

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v21.0.0
1+
v20.14.0

__mocks__/fixtures/bounty.ts

Lines changed: 74 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,76 @@
1+
import { Bounty, BountyCourse } from "@/types/bounty";
2+
import { colors } from "./colors";
3+
import { mockMetadata } from "./community";
14

5+
export const mockBountyCourse: BountyCourse = {
6+
duration: 0,
7+
slug: "intoduction-to-blockchain",
8+
active: false,
9+
id: "123",
10+
ref: "courses/123",
11+
created_at: new Date(),
12+
updated_at: new Date(),
13+
summary: "this is a course",
14+
level: 0,
15+
name: "introduction to blockchain",
16+
description: "",
17+
objectives: [],
18+
locale: "",
19+
community: "icp",
20+
introduction: {
21+
text: "Introduction",
22+
},
23+
certificateIcon: "",
24+
certificateData: {
25+
narrative: "",
26+
icon: "",
27+
},
28+
timestamp: 0,
29+
learningModules: [],
30+
translations: [],
31+
};
32+
export const mockBounty: Bounty = {
33+
url: "",
34+
image: undefined,
35+
id: "",
36+
ref: "",
37+
created_at: new Date().toISOString(),
38+
updated_at: new Date().toISOString(),
39+
icon: "",
40+
active: false,
41+
colors,
42+
description: "",
43+
summary: "",
44+
name: "",
45+
slug: "",
46+
metadata: mockMetadata,
47+
timestamp: 0,
48+
course: mockBountyCourse,
49+
challenge: "",
50+
reward: {
51+
id: "",
52+
ref: "",
53+
created_at: new Date(),
54+
updated_at: new Date(),
55+
challenge: "",
56+
type: "",
57+
community: "",
58+
token: "",
59+
stable: false,
60+
fiatCurrency: undefined,
61+
amount: 0,
62+
timestamp: 0,
63+
distribution: undefined,
64+
},
65+
community: "",
66+
};
267
export const mockTrailer = {
3-
summary: "trailer summary",
4-
description: "trailer descriptio",
5-
video: "trailer video",
6-
duration: 4,
7-
info: {
8-
items: ["item 1", "item 2"],
9-
title: "info title",
10-
},
11-
};
68+
summary: "trailer summary",
69+
description: "trailer descriptio",
70+
video: "trailer video",
71+
duration: 4,
72+
info: {
73+
items: ["item 1", "item 2"],
74+
title: "info title",
75+
},
76+
};

0 commit comments

Comments
 (0)