Skip to content

Commit 04a4efb

Browse files
authored
Fix/lint issues (#263)
* chore: formatted blabsy files * chore: fixed format issues in eid-wallet * chore: fixed lint errors in blabsy * chore: fixed lint issues in eid wallet * fix: fixed the eslint config. * chore: fixed lint of pictique. * chore: fixed the leftover lint issues. * chore: fixed the format of eidwallet * chore: fixed the lint issues in web3-adapter. * chore: formatted web3-adapters. * chore: fixed the formatting in blabsy. * chore: something done to web3-adapters. * chore: fixed formatting of web3-adapters. * chore: fixed the check for pictique. * chore: fixed checks in web3-adapters. * chore: fixed pnpm check issues in eid wallet * chore: added example env to satisfy failing checks on CI pipeline checks on github * chore: fixes the type error of env variables in CI checks on github. * chore: removed unused .env variables from example file and added env types to fix checks on github ci pipeline * feat: added back the /post and /post/audience route with the required components. * chore: formatting. * feat: added backend integration to /post route and commented /audience route as backend doesn't support the feature. * chore: formatted. * feat: added post display on click in single user profile page. * fix: checks. * chore: removed changes in vs code settings. * chore: removed .svelte-kit build folder.
1 parent 5b46ef1 commit 04a4efb

File tree

230 files changed

+23555
-20393
lines changed

Some content is hidden

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

230 files changed

+23555
-20393
lines changed

.env.example

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
# Pictique Configuration
2+
PUBLIC_PICTIQUE_BASE_URL=your_public_pictique_base_url_here
3+
4+
# Blabsy Configuration
5+
PUBLIC_BLABSY_BASE_URL=your_public_blabsy_base_url_here
6+
7+
# Eid Wallet Configuration
8+
PUBLIC_REGISTRY_URL=your_public_registry_url_here
9+
PUBLIC_PROVISIONER_URL=your_public_provisioner_url_here
10+
111
# Neo4j Configuration
212
NEO4J_URI=bolt://neo4j:7687
313
NEO4J_USER=neo4j
414
NEO4J_PASSWORD=your_secure_password_here
515

616
# eVault Configuration
7-
PORT=4000
17+
PORT=4000
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import type { StorybookConfig } from "@storybook/sveltekit";
2-
import { join, dirname } from "path";
2+
import { join, dirname } from "node:path";
33

44
function getAbsolutePath(value: string): any {
5-
return dirname(require.resolve(join(value, "package.json")));
5+
return dirname(require.resolve(join(value, "package.json")));
66
}
77

88
const config: StorybookConfig = {
9-
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|ts)"],
10-
addons: [
11-
getAbsolutePath("@storybook/addon-essentials"),
12-
getAbsolutePath("@chromatic-com/storybook"),
13-
getAbsolutePath("@storybook/experimental-addon-test"),
14-
],
15-
framework: {
16-
name: "@storybook/sveltekit",
17-
options: {},
18-
},
9+
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|ts)"],
10+
addons: [
11+
getAbsolutePath("@storybook/addon-essentials"),
12+
getAbsolutePath("@chromatic-com/storybook"),
13+
getAbsolutePath("@storybook/experimental-addon-test"),
14+
],
15+
framework: {
16+
name: "@storybook/sveltekit",
17+
options: {},
18+
},
1919

20-
staticDirs: ["../static"],
20+
staticDirs: ["../static"],
2121
};
2222
export default config;

infrastructure/eid-wallet/.storybook/preview.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import type { Preview } from "@storybook/svelte";
22
import "../src/app.css";
33

44
const preview: Preview = {
5-
parameters: {
6-
controls: {
7-
matchers: {
8-
color: /(background|color)$/i,
9-
date: /Date$/i,
10-
},
11-
},
12-
},
5+
parameters: {
6+
controls: {
7+
matchers: {
8+
color: /(background|color)$/i,
9+
date: /Date$/i,
10+
},
11+
},
12+
},
1313
};
1414

1515
export default preview;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"recommendations": [
3-
"svelte.svelte-vscode",
4-
"tauri-apps.tauri-vscode",
5-
"rust-lang.rust-analyzer"
6-
]
2+
"recommendations": [
3+
"svelte.svelte-vscode",
4+
"tauri-apps.tauri-vscode",
5+
"rust-lang.rust-analyzer"
6+
]
77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"svelte.enable-ts-plugin": true
2+
"svelte.enable-ts-plugin": true
33
}
Lines changed: 114 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,116 @@
11
{
2-
"images" : [
3-
{
4-
"size" : "20x20",
5-
"idiom" : "iphone",
6-
"filename" : "[email protected]",
7-
"scale" : "2x"
8-
},
9-
{
10-
"size" : "20x20",
11-
"idiom" : "iphone",
12-
"filename" : "[email protected]",
13-
"scale" : "3x"
14-
},
15-
{
16-
"size" : "29x29",
17-
"idiom" : "iphone",
18-
"filename" : "[email protected]",
19-
"scale" : "2x"
20-
},
21-
{
22-
"size" : "29x29",
23-
"idiom" : "iphone",
24-
"filename" : "[email protected]",
25-
"scale" : "3x"
26-
},
27-
{
28-
"size" : "40x40",
29-
"idiom" : "iphone",
30-
"filename" : "[email protected]",
31-
"scale" : "2x"
32-
},
33-
{
34-
"size" : "40x40",
35-
"idiom" : "iphone",
36-
"filename" : "[email protected]",
37-
"scale" : "3x"
38-
},
39-
{
40-
"size" : "60x60",
41-
"idiom" : "iphone",
42-
"filename" : "[email protected]",
43-
"scale" : "2x"
44-
},
45-
{
46-
"size" : "60x60",
47-
"idiom" : "iphone",
48-
"filename" : "[email protected]",
49-
"scale" : "3x"
50-
},
51-
{
52-
"size" : "20x20",
53-
"idiom" : "ipad",
54-
"filename" : "[email protected]",
55-
"scale" : "1x"
56-
},
57-
{
58-
"size" : "20x20",
59-
"idiom" : "ipad",
60-
"filename" : "[email protected]",
61-
"scale" : "2x"
62-
},
63-
{
64-
"size" : "29x29",
65-
"idiom" : "ipad",
66-
"filename" : "[email protected]",
67-
"scale" : "1x"
68-
},
69-
{
70-
"size" : "29x29",
71-
"idiom" : "ipad",
72-
"filename" : "[email protected]",
73-
"scale" : "2x"
74-
},
75-
{
76-
"size" : "40x40",
77-
"idiom" : "ipad",
78-
"filename" : "[email protected]",
79-
"scale" : "1x"
80-
},
81-
{
82-
"size" : "40x40",
83-
"idiom" : "ipad",
84-
"filename" : "[email protected]",
85-
"scale" : "2x"
86-
},
87-
{
88-
"size" : "76x76",
89-
"idiom" : "ipad",
90-
"filename" : "[email protected]",
91-
"scale" : "1x"
92-
},
93-
{
94-
"size" : "76x76",
95-
"idiom" : "ipad",
96-
"filename" : "[email protected]",
97-
"scale" : "2x"
98-
},
99-
{
100-
"size" : "83.5x83.5",
101-
"idiom" : "ipad",
102-
"filename" : "[email protected]",
103-
"scale" : "2x"
104-
},
105-
{
106-
"size" : "1024x1024",
107-
"idiom" : "ios-marketing",
108-
"filename" : "[email protected]",
109-
"scale" : "1x"
2+
"images": [
3+
{
4+
"size": "20x20",
5+
"idiom": "iphone",
6+
"filename": "[email protected]",
7+
"scale": "2x"
8+
},
9+
{
10+
"size": "20x20",
11+
"idiom": "iphone",
12+
"filename": "[email protected]",
13+
"scale": "3x"
14+
},
15+
{
16+
"size": "29x29",
17+
"idiom": "iphone",
18+
"filename": "[email protected]",
19+
"scale": "2x"
20+
},
21+
{
22+
"size": "29x29",
23+
"idiom": "iphone",
24+
"filename": "[email protected]",
25+
"scale": "3x"
26+
},
27+
{
28+
"size": "40x40",
29+
"idiom": "iphone",
30+
"filename": "[email protected]",
31+
"scale": "2x"
32+
},
33+
{
34+
"size": "40x40",
35+
"idiom": "iphone",
36+
"filename": "[email protected]",
37+
"scale": "3x"
38+
},
39+
{
40+
"size": "60x60",
41+
"idiom": "iphone",
42+
"filename": "[email protected]",
43+
"scale": "2x"
44+
},
45+
{
46+
"size": "60x60",
47+
"idiom": "iphone",
48+
"filename": "[email protected]",
49+
"scale": "3x"
50+
},
51+
{
52+
"size": "20x20",
53+
"idiom": "ipad",
54+
"filename": "[email protected]",
55+
"scale": "1x"
56+
},
57+
{
58+
"size": "20x20",
59+
"idiom": "ipad",
60+
"filename": "[email protected]",
61+
"scale": "2x"
62+
},
63+
{
64+
"size": "29x29",
65+
"idiom": "ipad",
66+
"filename": "[email protected]",
67+
"scale": "1x"
68+
},
69+
{
70+
"size": "29x29",
71+
"idiom": "ipad",
72+
"filename": "[email protected]",
73+
"scale": "2x"
74+
},
75+
{
76+
"size": "40x40",
77+
"idiom": "ipad",
78+
"filename": "[email protected]",
79+
"scale": "1x"
80+
},
81+
{
82+
"size": "40x40",
83+
"idiom": "ipad",
84+
"filename": "[email protected]",
85+
"scale": "2x"
86+
},
87+
{
88+
"size": "76x76",
89+
"idiom": "ipad",
90+
"filename": "[email protected]",
91+
"scale": "1x"
92+
},
93+
{
94+
"size": "76x76",
95+
"idiom": "ipad",
96+
"filename": "[email protected]",
97+
"scale": "2x"
98+
},
99+
{
100+
"size": "83.5x83.5",
101+
"idiom": "ipad",
102+
"filename": "[email protected]",
103+
"scale": "2x"
104+
},
105+
{
106+
"size": "1024x1024",
107+
"idiom": "ios-marketing",
108+
"filename": "[email protected]",
109+
"scale": "1x"
110+
}
111+
],
112+
"info": {
113+
"version": 1,
114+
"author": "xcode"
110115
}
111-
],
112-
"info" : {
113-
"version" : 1,
114-
"author" : "xcode"
115-
}
116-
}
116+
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"info" : {
3-
"version" : 1,
4-
"author" : "xcode"
5-
}
6-
}
2+
"info": {
3+
"version": 1,
4+
"author": "xcode"
5+
}
6+
}

infrastructure/eid-wallet/src-tauri/tauri.conf.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
}
1919
],
2020
"security": {
21-
"capabilities": [
22-
"mobile-capability"
23-
],
21+
"capabilities": ["mobile-capability"],
2422
"csp": null
2523
}
2624
},
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
declare module "svelte-qrcode" {
2+
import { SvelteComponentTyped } from "svelte";
3+
export default class QRCode extends SvelteComponentTyped<{
4+
value: string;
5+
size?: number;
6+
}> {}
7+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/// <reference types="@sveltejs/kit" />
2+
3+
declare namespace App {}
4+
5+
declare module "$env/static/public" {
6+
export const PUBLIC_REGISTRY_URL: string;
7+
export const PUBLIC_PROVISIONER_URL: string;
8+
}

0 commit comments

Comments
 (0)