@powerhousedao/network-admin 0.0.45 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/document-models/builders/gen/document-schema.d.ts +6 -6
- package/dist/document-models/document-models.js +2 -2
- package/dist/document-models/index.d.ts +1 -1
- package/dist/document-models/index.d.ts.map +1 -1
- package/dist/document-models/index.js +1 -1
- package/dist/document-models/network-profile/gen/document-model.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/document-model.js +6 -6
- package/dist/document-models/network-profile/gen/document-schema.d.ts +76 -38
- package/dist/document-models/network-profile/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/ph-factories.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/ph-factories.js +2 -0
- package/dist/document-models/network-profile/gen/schema/types.d.ts +6 -2
- package/dist/document-models/network-profile/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/schema/zod.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/schema/zod.js +6 -2
- package/dist/document-models/network-profile/gen/utils.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/utils.js +3 -1
- package/dist/document-models/network-profile/src/reducers/network-profile-management.d.ts.map +1 -1
- package/dist/document-models/network-profile/src/reducers/network-profile-management.js +2 -0
- package/dist/document-models/payment-terms/gen/document-schema.d.ts +6 -6
- package/dist/document-models/request-for-proposals/gen/document-schema.d.ts +6 -6
- package/dist/document-models/workstream/gen/document-schema.d.ts +6 -6
- package/dist/editors/network-profile/editor.d.ts.map +1 -1
- package/dist/editors/network-profile/editor.js +28 -5
- package/dist/powerhouse.manifest.json +5 -5
- package/dist/style.css +61 -18
- package/dist/subgraphs/network-profile/schema.d.ts.map +1 -1
- package/dist/subgraphs/network-profile/schema.js +4 -2
- package/dist/subgraphs/networks/resolvers.d.ts.map +1 -1
- package/dist/subgraphs/networks/resolvers.js +2 -0
- package/dist/subgraphs/networks/schema.d.ts.map +1 -1
- package/dist/subgraphs/networks/schema.js +2 -0
- package/package.json +1 -1
|
@@ -9,15 +9,15 @@ export declare const BuildersDocumentHeaderSchema: z.ZodObject<{
|
|
|
9
9
|
} & {
|
|
10
10
|
documentType: z.ZodLiteral<"powerhouse/builders">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
documentType: "powerhouse/builders";
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
createdAtUtcIso: string;
|
|
16
16
|
lastModifiedAtUtcIso: string;
|
|
17
17
|
}, {
|
|
18
|
-
name: string;
|
|
19
18
|
documentType: "powerhouse/builders";
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
createdAtUtcIso: string;
|
|
22
22
|
lastModifiedAtUtcIso: string;
|
|
23
23
|
}>;
|
|
@@ -48,15 +48,15 @@ export declare const BuildersDocumentSchema: z.ZodObject<{
|
|
|
48
48
|
} & {
|
|
49
49
|
documentType: z.ZodLiteral<"powerhouse/builders">;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
name: string;
|
|
52
51
|
documentType: "powerhouse/builders";
|
|
53
52
|
id: string;
|
|
53
|
+
name: string;
|
|
54
54
|
createdAtUtcIso: string;
|
|
55
55
|
lastModifiedAtUtcIso: string;
|
|
56
56
|
}, {
|
|
57
|
-
name: string;
|
|
58
57
|
documentType: "powerhouse/builders";
|
|
59
58
|
id: string;
|
|
59
|
+
name: string;
|
|
60
60
|
createdAtUtcIso: string;
|
|
61
61
|
lastModifiedAtUtcIso: string;
|
|
62
62
|
}>;
|
|
@@ -96,9 +96,9 @@ export declare const BuildersDocumentSchema: z.ZodObject<{
|
|
|
96
96
|
}>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
header: {
|
|
99
|
-
name: string;
|
|
100
99
|
documentType: "powerhouse/builders";
|
|
101
100
|
id: string;
|
|
101
|
+
name: string;
|
|
102
102
|
createdAtUtcIso: string;
|
|
103
103
|
lastModifiedAtUtcIso: string;
|
|
104
104
|
};
|
|
@@ -114,9 +114,9 @@ export declare const BuildersDocumentSchema: z.ZodObject<{
|
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
header: {
|
|
117
|
-
name: string;
|
|
118
117
|
documentType: "powerhouse/builders";
|
|
119
118
|
id: string;
|
|
119
|
+
name: string;
|
|
120
120
|
createdAtUtcIso: string;
|
|
121
121
|
lastModifiedAtUtcIso: string;
|
|
122
122
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { Builders } from "./builders/module.js";
|
|
1
2
|
import { NetworkProfile } from "./network-profile/module.js";
|
|
2
3
|
import { PaymentTerms } from "./payment-terms/module.js";
|
|
3
4
|
import { RequestForProposals } from "./request-for-proposals/module.js";
|
|
4
5
|
import { Workstream } from "./workstream/module.js";
|
|
5
|
-
import { Builders } from "./builders/module.js";
|
|
6
6
|
export const documentModels = [
|
|
7
|
+
Builders,
|
|
7
8
|
NetworkProfile,
|
|
8
9
|
PaymentTerms,
|
|
9
10
|
RequestForProposals,
|
|
10
11
|
Workstream,
|
|
11
|
-
Builders,
|
|
12
12
|
];
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This is a scaffold file meant for customization.
|
|
3
3
|
* Delete the file and run the code generator again to have it reset
|
|
4
4
|
*/
|
|
5
|
+
export { Builders } from "./builders/module.js";
|
|
5
6
|
export { NetworkProfile } from "./network-profile/module.js";
|
|
6
7
|
export { PaymentTerms } from "./payment-terms/module.js";
|
|
7
8
|
export { RequestForProposals } from "./request-for-proposals/module.js";
|
|
8
9
|
export { Workstream } from "./workstream/module.js";
|
|
9
|
-
export { Builders } from "./builders/module.js";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../document-models/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../document-models/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This is a scaffold file meant for customization.
|
|
3
3
|
* Delete the file and run the code generator again to have it reset
|
|
4
4
|
*/
|
|
5
|
+
export { Builders } from "./builders/module.js";
|
|
5
6
|
export { NetworkProfile } from "./network-profile/module.js";
|
|
6
7
|
export { PaymentTerms } from "./payment-terms/module.js";
|
|
7
8
|
export { RequestForProposals } from "./request-for-proposals/module.js";
|
|
8
9
|
export { Workstream } from "./workstream/module.js";
|
|
9
|
-
export { Builders } from "./builders/module.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"document-model.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/document-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,eAAO,MAAM,aAAa,EAAE,wBAuK3B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const documentModel = {
|
|
2
2
|
id: "powerhouse/network-profile",
|
|
3
3
|
name: "Network Profile",
|
|
4
|
-
extension: "
|
|
5
|
-
description: "Document model for managing network profile information including social media links and branding",
|
|
4
|
+
extension: "",
|
|
5
|
+
description: "Document model for managing network profile information including social media links and branding and logos.",
|
|
6
6
|
author: {
|
|
7
7
|
name: "Powerhouse",
|
|
8
8
|
website: "https://www.powerhouse.inc/",
|
|
@@ -13,8 +13,8 @@ export const documentModel = {
|
|
|
13
13
|
changeLog: [],
|
|
14
14
|
state: {
|
|
15
15
|
global: {
|
|
16
|
-
schema: "enum NetworkCategory {\n DEFI\n OSS\n CRYPTO\n NGO\n CHARITY\n}\n\ntype NetworkProfileState {\n name: String!\n icon: String!\n logo: String!\n logoBig: String!\n website: String\n description: String!\n category: [NetworkCategory!]!\n x: String\n github: String\n discord: String\n youtube: String\n}",
|
|
17
|
-
initialValue: '"{\\n \\"name\\": \\"\\",\\n \\"icon\\": \\"\\",\\n \\"logo\\": \\"\\",\\n \\"logoBig\\": \\"\\",\\n \\"website\\": null,\\n \\"description\\": \\"\\",\\n \\"category\\": [],\\n \\"x\\": null,\\n \\"github\\": null,\\n \\"discord\\": null,\\n \\"youtube\\": null\\n}"',
|
|
16
|
+
schema: "enum NetworkCategory {\n DEFI\n OSS\n CRYPTO\n NGO\n CHARITY\n}\n\ntype NetworkProfileState {\n name: String!\n icon: String!\n darkThemeIcon: String!\n logo: String!\n darkThemeLogo: String!\n logoBig: String!\n website: String\n description: String!\n category: [NetworkCategory!]!\n x: String\n github: String\n discord: String\n youtube: String\n}",
|
|
17
|
+
initialValue: '"{\\n \\"name\\": \\"\\",\\n \\"icon\\": \\"\\",\\n \\"darkThemeIcon\\": \\"\\",\\n \\"logo\\": \\"\\",\\n \\"darkThemeLogo\\": \\"\\",\\n \\"logoBig\\": \\"\\",\\n \\"website\\": null,\\n \\"description\\": \\"\\",\\n \\"category\\": [],\\n \\"x\\": null,\\n \\"github\\": null,\\n \\"discord\\": null,\\n \\"youtube\\": null\\n}"',
|
|
18
18
|
examples: [],
|
|
19
19
|
},
|
|
20
20
|
local: {
|
|
@@ -33,7 +33,7 @@ export const documentModel = {
|
|
|
33
33
|
id: "SET_ICON",
|
|
34
34
|
name: "SET_ICON",
|
|
35
35
|
description: "Sets the icon for the network profile",
|
|
36
|
-
schema: "input SetIconInput {\n icon: String
|
|
36
|
+
schema: "input SetIconInput {\n icon: String\n darkThemeIcon: String\n}",
|
|
37
37
|
template: "Sets the icon for the network profile",
|
|
38
38
|
reducer: "state.icon = action.input.icon || null;",
|
|
39
39
|
errors: [],
|
|
@@ -44,7 +44,7 @@ export const documentModel = {
|
|
|
44
44
|
id: "SET_LOGO",
|
|
45
45
|
name: "SET_LOGO",
|
|
46
46
|
description: "Sets the logo for the network profile",
|
|
47
|
-
schema: "input SetLogoInput {\n logo: String
|
|
47
|
+
schema: "input SetLogoInput {\n logo: String\n darkThemeLogo: String\n}",
|
|
48
48
|
template: "Sets the logo for the network profile",
|
|
49
49
|
reducer: "state.logo = action.input.logo || null;",
|
|
50
50
|
errors: [],
|
|
@@ -9,15 +9,15 @@ export declare const NetworkProfileDocumentHeaderSchema: z.ZodObject<{
|
|
|
9
9
|
} & {
|
|
10
10
|
documentType: z.ZodLiteral<"powerhouse/network-profile">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
documentType: "powerhouse/network-profile";
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
createdAtUtcIso: string;
|
|
16
16
|
lastModifiedAtUtcIso: string;
|
|
17
17
|
}, {
|
|
18
|
-
name: string;
|
|
19
18
|
documentType: "powerhouse/network-profile";
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
createdAtUtcIso: string;
|
|
22
22
|
lastModifiedAtUtcIso: string;
|
|
23
23
|
}>;
|
|
@@ -25,6 +25,8 @@ export declare const NetworkProfileDocumentHeaderSchema: z.ZodObject<{
|
|
|
25
25
|
export declare const NetworkProfilePHStateSchema: z.ZodObject<{} & {
|
|
26
26
|
global: z.ZodObject<Required<{
|
|
27
27
|
category: z.ZodType<import("./types.js").NetworkCategory[], any, import("./types.js").NetworkCategory[]>;
|
|
28
|
+
darkThemeIcon: z.ZodType<string, any, string>;
|
|
29
|
+
darkThemeLogo: z.ZodType<string, any, string>;
|
|
28
30
|
description: z.ZodType<string, any, string>;
|
|
29
31
|
discord: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
30
32
|
github: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
@@ -36,54 +38,62 @@ export declare const NetworkProfilePHStateSchema: z.ZodObject<{} & {
|
|
|
36
38
|
x: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
37
39
|
youtube: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
38
40
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
39
|
-
|
|
41
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
40
42
|
description: import("./types.js").Scalars["String"]["output"];
|
|
43
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
44
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
45
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
41
46
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
42
47
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
43
48
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
44
49
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
45
50
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
46
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
47
51
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
48
52
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
49
53
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
50
54
|
}, {
|
|
51
|
-
|
|
55
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
52
56
|
description: import("./types.js").Scalars["String"]["output"];
|
|
57
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
58
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
59
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
53
60
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
54
61
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
55
62
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
56
63
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
57
64
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
58
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
59
65
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
60
66
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
61
67
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
62
68
|
}>;
|
|
63
69
|
}, "strip", z.ZodTypeAny, {
|
|
64
70
|
global: {
|
|
65
|
-
|
|
71
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
66
72
|
description: import("./types.js").Scalars["String"]["output"];
|
|
73
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
74
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
75
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
67
76
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
68
77
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
69
78
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
70
79
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
71
80
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
72
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
73
81
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
74
82
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
75
83
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
76
84
|
};
|
|
77
85
|
}, {
|
|
78
86
|
global: {
|
|
79
|
-
|
|
87
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
80
88
|
description: import("./types.js").Scalars["String"]["output"];
|
|
89
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
90
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
91
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
81
92
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
82
93
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
83
94
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
84
95
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
85
96
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
86
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
87
97
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
88
98
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
89
99
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -98,21 +108,23 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
98
108
|
} & {
|
|
99
109
|
documentType: z.ZodLiteral<"powerhouse/network-profile">;
|
|
100
110
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
name: string;
|
|
102
111
|
documentType: "powerhouse/network-profile";
|
|
103
112
|
id: string;
|
|
113
|
+
name: string;
|
|
104
114
|
createdAtUtcIso: string;
|
|
105
115
|
lastModifiedAtUtcIso: string;
|
|
106
116
|
}, {
|
|
107
|
-
name: string;
|
|
108
117
|
documentType: "powerhouse/network-profile";
|
|
109
118
|
id: string;
|
|
119
|
+
name: string;
|
|
110
120
|
createdAtUtcIso: string;
|
|
111
121
|
lastModifiedAtUtcIso: string;
|
|
112
122
|
}>;
|
|
113
123
|
state: z.ZodObject<{} & {
|
|
114
124
|
global: z.ZodObject<Required<{
|
|
115
125
|
category: z.ZodType<import("./types.js").NetworkCategory[], any, import("./types.js").NetworkCategory[]>;
|
|
126
|
+
darkThemeIcon: z.ZodType<string, any, string>;
|
|
127
|
+
darkThemeLogo: z.ZodType<string, any, string>;
|
|
116
128
|
description: z.ZodType<string, any, string>;
|
|
117
129
|
discord: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
118
130
|
github: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
@@ -124,54 +136,62 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
124
136
|
x: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
125
137
|
youtube: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
126
138
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
127
|
-
|
|
139
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
128
140
|
description: import("./types.js").Scalars["String"]["output"];
|
|
141
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
142
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
143
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
129
144
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
130
145
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
131
146
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
132
147
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
133
148
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
134
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
135
149
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
136
150
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
137
151
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
138
152
|
}, {
|
|
139
|
-
|
|
153
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
140
154
|
description: import("./types.js").Scalars["String"]["output"];
|
|
155
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
156
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
157
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
141
158
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
142
159
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
143
160
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
144
161
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
145
162
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
146
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
147
163
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
148
164
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
149
165
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
150
166
|
}>;
|
|
151
167
|
}, "strip", z.ZodTypeAny, {
|
|
152
168
|
global: {
|
|
153
|
-
|
|
169
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
154
170
|
description: import("./types.js").Scalars["String"]["output"];
|
|
171
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
172
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
173
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
155
174
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
156
175
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
157
176
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
158
177
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
159
178
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
160
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
161
179
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
162
180
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
163
181
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
164
182
|
};
|
|
165
183
|
}, {
|
|
166
184
|
global: {
|
|
167
|
-
|
|
185
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
168
186
|
description: import("./types.js").Scalars["String"]["output"];
|
|
187
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
188
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
189
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
169
190
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
170
191
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
171
192
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
172
193
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
173
194
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
174
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
175
195
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
176
196
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
177
197
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -180,6 +200,8 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
180
200
|
initialState: z.ZodObject<{} & {
|
|
181
201
|
global: z.ZodObject<Required<{
|
|
182
202
|
category: z.ZodType<import("./types.js").NetworkCategory[], any, import("./types.js").NetworkCategory[]>;
|
|
203
|
+
darkThemeIcon: z.ZodType<string, any, string>;
|
|
204
|
+
darkThemeLogo: z.ZodType<string, any, string>;
|
|
183
205
|
description: z.ZodType<string, any, string>;
|
|
184
206
|
discord: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
185
207
|
github: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
@@ -191,54 +213,62 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
191
213
|
x: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
192
214
|
youtube: z.ZodType<import("./types.js").Maybe<string>, any, import("./types.js").Maybe<string>>;
|
|
193
215
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
194
|
-
|
|
216
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
195
217
|
description: import("./types.js").Scalars["String"]["output"];
|
|
218
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
219
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
220
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
196
221
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
197
222
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
198
223
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
199
224
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
200
225
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
201
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
202
226
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
203
227
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
204
228
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
205
229
|
}, {
|
|
206
|
-
|
|
230
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
207
231
|
description: import("./types.js").Scalars["String"]["output"];
|
|
232
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
233
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
234
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
208
235
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
209
236
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
210
237
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
211
238
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
212
239
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
213
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
214
240
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
215
241
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
216
242
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
217
243
|
}>;
|
|
218
244
|
}, "strip", z.ZodTypeAny, {
|
|
219
245
|
global: {
|
|
220
|
-
|
|
246
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
221
247
|
description: import("./types.js").Scalars["String"]["output"];
|
|
248
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
249
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
250
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
222
251
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
223
252
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
224
253
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
225
254
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
226
255
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
227
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
228
256
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
229
257
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
230
258
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
231
259
|
};
|
|
232
260
|
}, {
|
|
233
261
|
global: {
|
|
234
|
-
|
|
262
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
235
263
|
description: import("./types.js").Scalars["String"]["output"];
|
|
264
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
265
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
266
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
236
267
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
237
268
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
238
269
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
239
270
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
240
271
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
241
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
242
272
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
243
273
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
244
274
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -246,22 +276,24 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
246
276
|
}>;
|
|
247
277
|
}, "strip", z.ZodTypeAny, {
|
|
248
278
|
header: {
|
|
249
|
-
name: string;
|
|
250
279
|
documentType: "powerhouse/network-profile";
|
|
251
280
|
id: string;
|
|
281
|
+
name: string;
|
|
252
282
|
createdAtUtcIso: string;
|
|
253
283
|
lastModifiedAtUtcIso: string;
|
|
254
284
|
};
|
|
255
285
|
state: {
|
|
256
286
|
global: {
|
|
257
|
-
|
|
287
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
258
288
|
description: import("./types.js").Scalars["String"]["output"];
|
|
289
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
290
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
291
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
259
292
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
260
293
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
261
294
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
262
295
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
263
296
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
264
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
265
297
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
266
298
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
267
299
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -269,14 +301,16 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
269
301
|
};
|
|
270
302
|
initialState: {
|
|
271
303
|
global: {
|
|
272
|
-
|
|
304
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
273
305
|
description: import("./types.js").Scalars["String"]["output"];
|
|
306
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
307
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
308
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
274
309
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
275
310
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
276
311
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
277
312
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
278
313
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
279
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
280
314
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
281
315
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
282
316
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -284,22 +318,24 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
284
318
|
};
|
|
285
319
|
}, {
|
|
286
320
|
header: {
|
|
287
|
-
name: string;
|
|
288
321
|
documentType: "powerhouse/network-profile";
|
|
289
322
|
id: string;
|
|
323
|
+
name: string;
|
|
290
324
|
createdAtUtcIso: string;
|
|
291
325
|
lastModifiedAtUtcIso: string;
|
|
292
326
|
};
|
|
293
327
|
state: {
|
|
294
328
|
global: {
|
|
295
|
-
|
|
329
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
296
330
|
description: import("./types.js").Scalars["String"]["output"];
|
|
331
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
332
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
333
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
297
334
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
298
335
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
299
336
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
300
337
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
301
338
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
302
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
303
339
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
304
340
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
305
341
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -307,14 +343,16 @@ export declare const NetworkProfileDocumentSchema: z.ZodObject<{
|
|
|
307
343
|
};
|
|
308
344
|
initialState: {
|
|
309
345
|
global: {
|
|
310
|
-
|
|
346
|
+
name: import("./types.js").Scalars["String"]["output"];
|
|
311
347
|
description: import("./types.js").Scalars["String"]["output"];
|
|
348
|
+
category: Array<import("./types.js").NetworkCategory | `${import("./types.js").NetworkCategory}`>;
|
|
349
|
+
darkThemeIcon: import("./types.js").Scalars["String"]["output"];
|
|
350
|
+
darkThemeLogo: import("./types.js").Scalars["String"]["output"];
|
|
312
351
|
discord: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
313
352
|
github: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
314
353
|
icon: import("./types.js").Scalars["String"]["output"];
|
|
315
354
|
logo: import("./types.js").Scalars["String"]["output"];
|
|
316
355
|
logoBig: import("./types.js").Scalars["String"]["output"];
|
|
317
|
-
name: import("./types.js").Scalars["String"]["output"];
|
|
318
356
|
website: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
319
357
|
x: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
320
358
|
youtube: import("./types.js").Maybe<import("./types.js").Scalars["String"]["output"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-schema.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/document-schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEhF,2EAA2E;AAC3E,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;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BAA5G,sCAAkB;2BAA4B,sCAAkB;gDAAyE,sCAAiB;+CAA6B,sCAAiB;kBAAoB,sCAAkB;kBAAmB,sCAAkB;qBAAsB,sCAAkB;gDAAkE,sCAAiB;0CAAwB,sCAAiB;gDAA8B,sCAAiB;;;EA7B/rB,CAAC;AAEH,kGAAkG;AAClG,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,qBAAqB,CAEhC;AAED,8GAA8G;AAC9G,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,KAAK,IAAI,qBAAqB,CAExC;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,OAAO,GAChB,QAAQ,IAAI,sBAAsB,CAEpC;AAED,oFAAoF;AACpF,wBAAgB,8BAA8B,CAC5C,QAAQ,EAAE,OAAO,GAChB,OAAO,CAAC,QAAQ,IAAI,sBAAsB,CAE5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ph-factories.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/ph-factories.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,YAAY,CAAC;AAGpB,wBAAgB,kBAAkB,IAAI,yBAAyB,
|
|
1
|
+
{"version":3,"file":"ph-factories.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/ph-factories.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhF,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,YAAY,CAAC;AAGpB,wBAAgB,kBAAkB,IAAI,yBAAyB,CAgB9D;AAED,wBAAgB,iBAAiB,IAAI,wBAAwB,CAE5D;AAED,wBAAgB,cAAc,IAAI,qBAAqB,CAMtD;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,GACzC,yBAAyB,CAK3B;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GACxC,wBAAwB,CAK1B;AAED,wBAAgB,WAAW,CACzB,SAAS,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,EAChC,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,EAChD,UAAU,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAC7C,qBAAqB,CAMvB;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAC;CAC3C,CAAC,GACD,sBAAsB,CAYxB"}
|
|
@@ -137,6 +137,8 @@ export type Scalars = {
|
|
|
137
137
|
export type NetworkCategory = "CHARITY" | "CRYPTO" | "DEFI" | "NGO" | "OSS";
|
|
138
138
|
export type NetworkProfileState = {
|
|
139
139
|
category: Array<NetworkCategory | `${NetworkCategory}`>;
|
|
140
|
+
darkThemeIcon: Scalars["String"]["output"];
|
|
141
|
+
darkThemeLogo: Scalars["String"]["output"];
|
|
140
142
|
description: Scalars["String"]["output"];
|
|
141
143
|
discord: Maybe<Scalars["String"]["output"]>;
|
|
142
144
|
github: Maybe<Scalars["String"]["output"]>;
|
|
@@ -161,13 +163,15 @@ export type SetGithubInput = {
|
|
|
161
163
|
github?: InputMaybe<Scalars["String"]["input"]>;
|
|
162
164
|
};
|
|
163
165
|
export type SetIconInput = {
|
|
164
|
-
|
|
166
|
+
darkThemeIcon?: InputMaybe<Scalars["String"]["input"]>;
|
|
167
|
+
icon?: InputMaybe<Scalars["String"]["input"]>;
|
|
165
168
|
};
|
|
166
169
|
export type SetLogoBigInput = {
|
|
167
170
|
logoBig: Scalars["String"]["input"];
|
|
168
171
|
};
|
|
169
172
|
export type SetLogoInput = {
|
|
170
|
-
|
|
173
|
+
darkThemeLogo?: InputMaybe<Scalars["String"]["input"]>;
|
|
174
|
+
logo?: InputMaybe<Scalars["String"]["input"]>;
|
|
171
175
|
};
|
|
172
176
|
export type SetProfileNameInput = {
|
|
173
177
|
name: Scalars["String"]["input"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/gen/schema/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAChC,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AACjD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,IAAI;KACvD,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;KAC3D,MAAM,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;CACjC,CAAC;AACF,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CA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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"zod.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/gen/schema/zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAEV,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,SAAS,EACT,eAAe,EAChB,MAAM,YAAY,CAAC;AAEpB,KAAK,UAAU,CAAC,CAAC,IAAI,QAAQ,CAAC;KAC3B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C,CAAC,CAAC;AAEH,KAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,iBACnB,CAAC;AAEhC,eAAO,MAAM,uBAAuB,gDAEI,CAAC;AAEzC,eAAO,MAAM,qBAAqB,wDAMhC,CAAC;AAEH,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAiBA;AAED,wBAAgB,sBAAsB,IAAI,CAAC,CAAC,SAAS,CACnD,UAAU,CAAC,gBAAgB,CAAC,CAC7B,CAIA;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,oBAAoB,IAAI,CAAC,CAAC,SAAS,CACjD,UAAU,CAAC,cAAc,CAAC,CAC3B,CAIA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAK1E;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,kBAAkB,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAK1E;AAED,wBAAgB,yBAAyB,IAAI,CAAC,CAAC,SAAS,CACtD,UAAU,CAAC,mBAAmB,CAAC,CAChC,CAIA;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA;AAED,wBAAgB,eAAe,IAAI,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAIpE;AAED,wBAAgB,qBAAqB,IAAI,CAAC,CAAC,SAAS,CAClD,UAAU,CAAC,eAAe,CAAC,CAC5B,CAIA"}
|
|
@@ -14,6 +14,8 @@ export function NetworkProfileStateSchema() {
|
|
|
14
14
|
return z.object({
|
|
15
15
|
__typename: z.literal("NetworkProfileState").optional(),
|
|
16
16
|
category: z.array(NetworkCategorySchema),
|
|
17
|
+
darkThemeIcon: z.string(),
|
|
18
|
+
darkThemeLogo: z.string(),
|
|
17
19
|
description: z.string(),
|
|
18
20
|
discord: z.string().nullable(),
|
|
19
21
|
github: z.string().nullable(),
|
|
@@ -48,7 +50,8 @@ export function SetGithubInputSchema() {
|
|
|
48
50
|
}
|
|
49
51
|
export function SetIconInputSchema() {
|
|
50
52
|
return z.object({
|
|
51
|
-
|
|
53
|
+
darkThemeIcon: z.string().nullish(),
|
|
54
|
+
icon: z.string().nullish(),
|
|
52
55
|
});
|
|
53
56
|
}
|
|
54
57
|
export function SetLogoBigInputSchema() {
|
|
@@ -58,7 +61,8 @@ export function SetLogoBigInputSchema() {
|
|
|
58
61
|
}
|
|
59
62
|
export function SetLogoInputSchema() {
|
|
60
63
|
return z.object({
|
|
61
|
-
|
|
64
|
+
darkThemeLogo: z.string().nullish(),
|
|
65
|
+
logo: z.string().nullish(),
|
|
62
66
|
});
|
|
63
67
|
}
|
|
64
68
|
export function SetProfileNameInputSchema() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAQzD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAUxD,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../document-models/network-profile/gen/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAQzD,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAUxD,eAAO,MAAM,kBAAkB,EAAE,yBAchC,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,wBAA6B,CAAC;AAE9D,eAAO,MAAM,KAAK,EAAE,kBAAkB,CAAC,qBAAqB,CAqC3D,CAAC;AAEF,eAAO,MAAM,cAAc,gEAAuB,CAAC;AACnD,eAAO,MAAM,WAAW,6DAAoB,CAAC;AAC7C,eAAO,MAAM,gBAAgB,2CAAyB,CAAC;AACvD,eAAO,MAAM,aAAa,+DAAsB,CAAC;AACjD,eAAO,MAAM,aAAa,+DAAsB,CAAC;AACjD,eAAO,MAAM,mBAAmB,qEAA4B,CAAC;AAC7D,eAAO,MAAM,gBAAgB,kEAAyB,CAAC;AACvD,eAAO,MAAM,sBAAsB,wEAA+B,CAAC"}
|
|
@@ -5,7 +5,9 @@ import { isNetworkProfileDocument, assertIsNetworkProfileDocument, isNetworkProf
|
|
|
5
5
|
export const initialGlobalState = {
|
|
6
6
|
name: "",
|
|
7
7
|
icon: "",
|
|
8
|
+
darkThemeIcon: "",
|
|
8
9
|
logo: "",
|
|
10
|
+
darkThemeLogo: "",
|
|
9
11
|
logoBig: "",
|
|
10
12
|
website: null,
|
|
11
13
|
description: "",
|
|
@@ -17,7 +19,7 @@ export const initialGlobalState = {
|
|
|
17
19
|
};
|
|
18
20
|
export const initialLocalState = {};
|
|
19
21
|
export const utils = {
|
|
20
|
-
fileExtension: "
|
|
22
|
+
fileExtension: "",
|
|
21
23
|
createState(state) {
|
|
22
24
|
return {
|
|
23
25
|
...defaultBaseState(),
|
package/dist/document-models/network-profile/src/reducers/network-profile-management.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"network-profile-management.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/src/reducers/network-profile-management.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,8DAA8D,CAAC;AAErI,eAAO,MAAM,gDAAgD,EAAE,
|
|
1
|
+
{"version":3,"file":"network-profile-management.d.ts","sourceRoot":"","sources":["../../../../../document-models/network-profile/src/reducers/network-profile-management.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,8DAA8D,CAAC;AAErI,eAAO,MAAM,gDAAgD,EAAE,gDAoC9D,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export const networkProfileNetworkProfileManagementOperations = {
|
|
2
2
|
setIconOperation(state, action) {
|
|
3
3
|
state.icon = action.input.icon || "";
|
|
4
|
+
state.darkThemeIcon = action.input.darkThemeIcon || "";
|
|
4
5
|
},
|
|
5
6
|
setLogoOperation(state, action) {
|
|
6
7
|
state.logo = action.input.logo || "";
|
|
8
|
+
state.darkThemeLogo = action.input.darkThemeLogo || "";
|
|
7
9
|
},
|
|
8
10
|
setLogoBigOperation(state, action) {
|
|
9
11
|
state.logoBig = action.input.logoBig || "";
|
|
@@ -9,15 +9,15 @@ export declare const PaymentTermsDocumentHeaderSchema: z.ZodObject<{
|
|
|
9
9
|
} & {
|
|
10
10
|
documentType: z.ZodLiteral<"payment-terms">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
documentType: "payment-terms";
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
createdAtUtcIso: string;
|
|
16
16
|
lastModifiedAtUtcIso: string;
|
|
17
17
|
}, {
|
|
18
|
-
name: string;
|
|
19
18
|
documentType: "payment-terms";
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
createdAtUtcIso: string;
|
|
22
22
|
lastModifiedAtUtcIso: string;
|
|
23
23
|
}>;
|
|
@@ -109,15 +109,15 @@ export declare const PaymentTermsDocumentSchema: z.ZodObject<{
|
|
|
109
109
|
} & {
|
|
110
110
|
documentType: z.ZodLiteral<"payment-terms">;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
name: string;
|
|
113
112
|
documentType: "payment-terms";
|
|
114
113
|
id: string;
|
|
114
|
+
name: string;
|
|
115
115
|
createdAtUtcIso: string;
|
|
116
116
|
lastModifiedAtUtcIso: string;
|
|
117
117
|
}, {
|
|
118
|
-
name: string;
|
|
119
118
|
documentType: "payment-terms";
|
|
120
119
|
id: string;
|
|
120
|
+
name: string;
|
|
121
121
|
createdAtUtcIso: string;
|
|
122
122
|
lastModifiedAtUtcIso: string;
|
|
123
123
|
}>;
|
|
@@ -279,9 +279,9 @@ export declare const PaymentTermsDocumentSchema: z.ZodObject<{
|
|
|
279
279
|
}>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
header: {
|
|
282
|
-
name: string;
|
|
283
282
|
documentType: "payment-terms";
|
|
284
283
|
id: string;
|
|
284
|
+
name: string;
|
|
285
285
|
createdAtUtcIso: string;
|
|
286
286
|
lastModifiedAtUtcIso: string;
|
|
287
287
|
};
|
|
@@ -319,9 +319,9 @@ export declare const PaymentTermsDocumentSchema: z.ZodObject<{
|
|
|
319
319
|
};
|
|
320
320
|
}, {
|
|
321
321
|
header: {
|
|
322
|
-
name: string;
|
|
323
322
|
documentType: "payment-terms";
|
|
324
323
|
id: string;
|
|
324
|
+
name: string;
|
|
325
325
|
createdAtUtcIso: string;
|
|
326
326
|
lastModifiedAtUtcIso: string;
|
|
327
327
|
};
|
|
@@ -9,15 +9,15 @@ export declare const RequestForProposalsDocumentHeaderSchema: z.ZodObject<{
|
|
|
9
9
|
} & {
|
|
10
10
|
documentType: z.ZodLiteral<"powerhouse/rfp">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
documentType: "powerhouse/rfp";
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
createdAtUtcIso: string;
|
|
16
16
|
lastModifiedAtUtcIso: string;
|
|
17
17
|
}, {
|
|
18
|
-
name: string;
|
|
19
18
|
documentType: "powerhouse/rfp";
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
createdAtUtcIso: string;
|
|
22
22
|
lastModifiedAtUtcIso: string;
|
|
23
23
|
}>;
|
|
@@ -113,15 +113,15 @@ export declare const RequestForProposalsDocumentSchema: z.ZodObject<{
|
|
|
113
113
|
} & {
|
|
114
114
|
documentType: z.ZodLiteral<"powerhouse/rfp">;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
name: string;
|
|
117
116
|
documentType: "powerhouse/rfp";
|
|
118
117
|
id: string;
|
|
118
|
+
name: string;
|
|
119
119
|
createdAtUtcIso: string;
|
|
120
120
|
lastModifiedAtUtcIso: string;
|
|
121
121
|
}, {
|
|
122
|
-
name: string;
|
|
123
122
|
documentType: "powerhouse/rfp";
|
|
124
123
|
id: string;
|
|
124
|
+
name: string;
|
|
125
125
|
createdAtUtcIso: string;
|
|
126
126
|
lastModifiedAtUtcIso: string;
|
|
127
127
|
}>;
|
|
@@ -291,9 +291,9 @@ export declare const RequestForProposalsDocumentSchema: z.ZodObject<{
|
|
|
291
291
|
}>;
|
|
292
292
|
}, "strip", z.ZodTypeAny, {
|
|
293
293
|
header: {
|
|
294
|
-
name: string;
|
|
295
294
|
documentType: "powerhouse/rfp";
|
|
296
295
|
id: string;
|
|
296
|
+
name: string;
|
|
297
297
|
createdAtUtcIso: string;
|
|
298
298
|
lastModifiedAtUtcIso: string;
|
|
299
299
|
};
|
|
@@ -335,9 +335,9 @@ export declare const RequestForProposalsDocumentSchema: z.ZodObject<{
|
|
|
335
335
|
};
|
|
336
336
|
}, {
|
|
337
337
|
header: {
|
|
338
|
-
name: string;
|
|
339
338
|
documentType: "powerhouse/rfp";
|
|
340
339
|
id: string;
|
|
340
|
+
name: string;
|
|
341
341
|
createdAtUtcIso: string;
|
|
342
342
|
lastModifiedAtUtcIso: string;
|
|
343
343
|
};
|
|
@@ -9,15 +9,15 @@ export declare const WorkstreamDocumentHeaderSchema: z.ZodObject<{
|
|
|
9
9
|
} & {
|
|
10
10
|
documentType: z.ZodLiteral<"powerhouse/workstream">;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
documentType: "powerhouse/workstream";
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
createdAtUtcIso: string;
|
|
16
16
|
lastModifiedAtUtcIso: string;
|
|
17
17
|
}, {
|
|
18
|
-
name: string;
|
|
19
18
|
documentType: "powerhouse/workstream";
|
|
20
19
|
id: string;
|
|
20
|
+
name: string;
|
|
21
21
|
createdAtUtcIso: string;
|
|
22
22
|
lastModifiedAtUtcIso: string;
|
|
23
23
|
}>;
|
|
@@ -93,15 +93,15 @@ export declare const WorkstreamDocumentSchema: z.ZodObject<{
|
|
|
93
93
|
} & {
|
|
94
94
|
documentType: z.ZodLiteral<"powerhouse/workstream">;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
|
-
name: string;
|
|
97
96
|
documentType: "powerhouse/workstream";
|
|
98
97
|
id: string;
|
|
98
|
+
name: string;
|
|
99
99
|
createdAtUtcIso: string;
|
|
100
100
|
lastModifiedAtUtcIso: string;
|
|
101
101
|
}, {
|
|
102
|
-
name: string;
|
|
103
102
|
documentType: "powerhouse/workstream";
|
|
104
103
|
id: string;
|
|
104
|
+
name: string;
|
|
105
105
|
createdAtUtcIso: string;
|
|
106
106
|
lastModifiedAtUtcIso: string;
|
|
107
107
|
}>;
|
|
@@ -231,9 +231,9 @@ export declare const WorkstreamDocumentSchema: z.ZodObject<{
|
|
|
231
231
|
}>;
|
|
232
232
|
}, "strip", z.ZodTypeAny, {
|
|
233
233
|
header: {
|
|
234
|
-
name: string;
|
|
235
234
|
documentType: "powerhouse/workstream";
|
|
236
235
|
id: string;
|
|
236
|
+
name: string;
|
|
237
237
|
createdAtUtcIso: string;
|
|
238
238
|
lastModifiedAtUtcIso: string;
|
|
239
239
|
};
|
|
@@ -267,9 +267,9 @@ export declare const WorkstreamDocumentSchema: z.ZodObject<{
|
|
|
267
267
|
};
|
|
268
268
|
}, {
|
|
269
269
|
header: {
|
|
270
|
-
name: string;
|
|
271
270
|
documentType: "powerhouse/workstream";
|
|
272
271
|
id: string;
|
|
272
|
+
name: string;
|
|
273
273
|
createdAtUtcIso: string;
|
|
274
274
|
lastModifiedAtUtcIso: string;
|
|
275
275
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../editors/network-profile/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAoBlD,MAAM,MAAM,MAAM,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../editors/network-profile/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAoBlD,MAAM,MAAM,MAAM,GAAG,WAAW,CAAC;AA+RjC,MAAM,CAAC,OAAO,UAAU,MAAM,mDAgR7B"}
|
|
@@ -56,7 +56,7 @@ function ImageUrlInput({ label, value, onChange, placeholder, fileSize = "200KB"
|
|
|
56
56
|
setIsModalOpen(true);
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "space-y-2", children: [_jsx("label", { className: "block text-sm font-medium text-gray-700", children: label }), _jsxs("div", { className: "border border-gray-300 rounded-lg p-4", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: `flex-shrink-0 w-12 h-12 bg-gray-100 rounded border flex items-center justify-center overflow-hidden ${value &&
|
|
59
|
+
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "space-y-2", children: [label && (_jsx("label", { className: "block text-sm font-medium text-gray-700", children: label })), _jsxs("div", { className: "border border-gray-300 rounded-lg p-4", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: `flex-shrink-0 w-12 h-12 bg-gray-100 rounded border flex items-center justify-center overflow-hidden ${value &&
|
|
60
60
|
!imageError &&
|
|
61
61
|
(value.startsWith("http://") || value.startsWith("https://"))
|
|
62
62
|
? "cursor-pointer hover:opacity-80 transition-opacity duration-200"
|
|
@@ -72,6 +72,11 @@ function ImageUrlInput({ label, value, onChange, placeholder, fileSize = "200KB"
|
|
|
72
72
|
}
|
|
73
73
|
}, placeholder: placeholder || "Enter image URL" }) })] })] }), _jsx(ImageModal, { isOpen: isModalOpen, onClose: () => setIsModalOpen(false), imageUrl: value, imageAlt: `${label} full size` })] }));
|
|
74
74
|
}
|
|
75
|
+
// Toggle-enabled image input component for light/dark theme switching
|
|
76
|
+
function ToggleableImageInput({ label, lightValue, darkValue, onLightChange, onDarkChange, lightPlaceholder, darkPlaceholder, fileSize = "200KB", }) {
|
|
77
|
+
const [isDarkMode, setIsDarkMode] = useState(false);
|
|
78
|
+
return (_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-center justify-between mb-2", children: [_jsx("label", { className: "block text-sm font-medium text-gray-700", children: label }), _jsxs("div", { className: "flex items-center space-x-2", children: [_jsx("span", { className: `text-xs font-medium ${!isDarkMode ? "text-gray-900" : "text-gray-500"}`, children: "Light" }), _jsx("button", { type: "button", onClick: () => setIsDarkMode(!isDarkMode), className: `relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 ${isDarkMode ? "bg-gray-700" : "bg-gray-300"}`, children: _jsx("span", { className: `inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${isDarkMode ? "translate-x-6" : "translate-x-1"}` }) }), _jsx("span", { className: `text-xs font-medium ${isDarkMode ? "text-gray-900" : "text-gray-500"}`, children: "Dark" })] })] }), !isDarkMode ? (_jsx(ImageUrlInput, { label: "", value: lightValue, onChange: onLightChange, placeholder: lightPlaceholder, fileSize: fileSize })) : (_jsx(ImageUrlInput, { label: "", value: darkValue, onChange: onDarkChange, placeholder: darkPlaceholder, fileSize: fileSize }))] }));
|
|
79
|
+
}
|
|
75
80
|
export default function Editor() {
|
|
76
81
|
// Getting dispatch from selected document
|
|
77
82
|
const [doc, dispatch] = useSelectedNetworkProfileDocument();
|
|
@@ -94,10 +99,28 @@ export default function Editor() {
|
|
|
94
99
|
action = actions.setProfileName({ name: value });
|
|
95
100
|
break;
|
|
96
101
|
case "icon":
|
|
97
|
-
action = actions.setIcon({
|
|
102
|
+
action = actions.setIcon({
|
|
103
|
+
icon: value,
|
|
104
|
+
darkThemeIcon: state?.darkThemeIcon || "",
|
|
105
|
+
});
|
|
106
|
+
break;
|
|
107
|
+
case "darkThemeIcon":
|
|
108
|
+
action = actions.setIcon({
|
|
109
|
+
icon: state?.icon || "",
|
|
110
|
+
darkThemeIcon: value,
|
|
111
|
+
});
|
|
98
112
|
break;
|
|
99
113
|
case "logo":
|
|
100
|
-
action = actions.setLogo({
|
|
114
|
+
action = actions.setLogo({
|
|
115
|
+
logo: value,
|
|
116
|
+
darkThemeLogo: state?.darkThemeLogo || "",
|
|
117
|
+
});
|
|
118
|
+
break;
|
|
119
|
+
case "darkThemeLogo":
|
|
120
|
+
action = actions.setLogo({
|
|
121
|
+
logo: state?.logo || "",
|
|
122
|
+
darkThemeLogo: value,
|
|
123
|
+
});
|
|
101
124
|
break;
|
|
102
125
|
case "logoBig":
|
|
103
126
|
action = actions.setLogoBig({ logoBig: value });
|
|
@@ -130,7 +153,7 @@ export default function Editor() {
|
|
|
130
153
|
return;
|
|
131
154
|
}
|
|
132
155
|
dispatch(action);
|
|
133
|
-
}, [dispatch]);
|
|
156
|
+
}, [dispatch, state]);
|
|
134
157
|
// Get the parent folder node for the currently selected node
|
|
135
158
|
const parentFolder = useParentFolderForSelectedNode();
|
|
136
159
|
// Set the selected node to the parent folder node (close the editor)
|
|
@@ -141,7 +164,7 @@ export default function Editor() {
|
|
|
141
164
|
if (e.target.value !== state?.name) {
|
|
142
165
|
handleFieldChange("name", e.target.value);
|
|
143
166
|
}
|
|
144
|
-
}, placeholder: "Enter network name" })] }), _jsx(
|
|
167
|
+
}, placeholder: "Enter network name" })] }), _jsx(ToggleableImageInput, { label: "Icon:", lightValue: state?.icon || "", darkValue: state?.darkThemeIcon || "", onLightChange: (value) => handleFieldChange("icon", value), onDarkChange: (value) => handleFieldChange("darkThemeIcon", value), lightPlaceholder: "PowerhouseIcon.jpg", darkPlaceholder: "PowerhouseIconDark.jpg", fileSize: "200KB" }), _jsx(ToggleableImageInput, { label: "Logo:", lightValue: state?.logo || "", darkValue: state?.darkThemeLogo || "", onLightChange: (value) => handleFieldChange("logo", value), onDarkChange: (value) => handleFieldChange("darkThemeLogo", value), lightPlaceholder: "PowerhouseLogo.jpg", darkPlaceholder: "PowerhouseLogoDark.jpg", fileSize: "2MB" }), _jsx(ImageUrlInput, { label: "Large Logo:", value: state?.logoBig || "", onChange: (value) => handleFieldChange("logoBig", value), placeholder: "LargeLogo.jpg", fileSize: "10MB" }), _jsxs("div", { children: [_jsx("label", { className: "block text-sm font-medium text-gray-700 mb-2", children: "Website:" }), _jsx(TextInput, { className: "w-full", defaultValue: state?.website || "", onBlur: (e) => {
|
|
145
168
|
const value = e.target.value || null;
|
|
146
169
|
if (value !== state?.website) {
|
|
147
170
|
handleFieldChange("website", value);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "",
|
|
3
|
-
"description": "",
|
|
4
|
-
"category": "",
|
|
2
|
+
"name": "Network Admin",
|
|
3
|
+
"description": "A place where network admin doc models live",
|
|
4
|
+
"category": "Project Management",
|
|
5
5
|
"publisher": {
|
|
6
|
-
"name": "",
|
|
7
|
-
"url": ""
|
|
6
|
+
"name": "Powerhouse",
|
|
7
|
+
"url": "https://powerhouse.inc/"
|
|
8
8
|
},
|
|
9
9
|
"documentModels": [],
|
|
10
10
|
"editors": [],
|
package/dist/style.css
CHANGED
|
@@ -329,6 +329,9 @@
|
|
|
329
329
|
.hidden {
|
|
330
330
|
display: none;
|
|
331
331
|
}
|
|
332
|
+
.inline-block {
|
|
333
|
+
display: inline-block;
|
|
334
|
+
}
|
|
332
335
|
.inline-flex {
|
|
333
336
|
display: inline-flex;
|
|
334
337
|
}
|
|
@@ -392,6 +395,9 @@
|
|
|
392
395
|
.w-10 {
|
|
393
396
|
width: calc(var(--spacing) * 10);
|
|
394
397
|
}
|
|
398
|
+
.w-11 {
|
|
399
|
+
width: calc(var(--spacing) * 11);
|
|
400
|
+
}
|
|
395
401
|
.w-12 {
|
|
396
402
|
width: calc(var(--spacing) * 12);
|
|
397
403
|
}
|
|
@@ -452,6 +458,14 @@
|
|
|
452
458
|
.border-collapse {
|
|
453
459
|
border-collapse: collapse;
|
|
454
460
|
}
|
|
461
|
+
.translate-x-1 {
|
|
462
|
+
--tw-translate-x: calc(var(--spacing) * 1);
|
|
463
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
464
|
+
}
|
|
465
|
+
.translate-x-6 {
|
|
466
|
+
--tw-translate-x: calc(var(--spacing) * 6);
|
|
467
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
468
|
+
}
|
|
455
469
|
.transform {
|
|
456
470
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
457
471
|
}
|
|
@@ -697,12 +711,18 @@
|
|
|
697
711
|
.bg-gray-200 {
|
|
698
712
|
background-color: var(--color-gray-200);
|
|
699
713
|
}
|
|
714
|
+
.bg-gray-300 {
|
|
715
|
+
background-color: var(--color-gray-300);
|
|
716
|
+
}
|
|
700
717
|
.bg-gray-500\/30 {
|
|
701
718
|
background-color: color-mix(in srgb, hsl(200 2% 63%) 30%, transparent);
|
|
702
719
|
@supports (color: color-mix(in lab, red, red)) {
|
|
703
720
|
background-color: color-mix(in oklab, var(--color-gray-500) 30%, transparent);
|
|
704
721
|
}
|
|
705
722
|
}
|
|
723
|
+
.bg-gray-700 {
|
|
724
|
+
background-color: var(--color-gray-700);
|
|
725
|
+
}
|
|
706
726
|
.bg-gray-800 {
|
|
707
727
|
background-color: var(--color-gray-800);
|
|
708
728
|
}
|
|
@@ -987,6 +1007,11 @@
|
|
|
987
1007
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
988
1008
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
989
1009
|
}
|
|
1010
|
+
.transition-transform {
|
|
1011
|
+
transition-property: transform, translate, scale, rotate;
|
|
1012
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1013
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1014
|
+
}
|
|
990
1015
|
.duration-200 {
|
|
991
1016
|
--tw-duration: 200ms;
|
|
992
1017
|
transition-duration: 200ms;
|
|
@@ -1068,11 +1093,29 @@
|
|
|
1068
1093
|
}
|
|
1069
1094
|
}
|
|
1070
1095
|
}
|
|
1096
|
+
.focus\:ring-2 {
|
|
1097
|
+
&:focus {
|
|
1098
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1099
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1071
1102
|
.focus\:ring-blue-500 {
|
|
1072
1103
|
&:focus {
|
|
1073
1104
|
--tw-ring-color: var(--color-blue-500);
|
|
1074
1105
|
}
|
|
1075
1106
|
}
|
|
1107
|
+
.focus\:ring-offset-2 {
|
|
1108
|
+
&:focus {
|
|
1109
|
+
--tw-ring-offset-width: 2px;
|
|
1110
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
.focus\:outline-none {
|
|
1114
|
+
&:focus {
|
|
1115
|
+
--tw-outline-style: none;
|
|
1116
|
+
outline-style: none;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1076
1119
|
.disabled\:cursor-not-allowed {
|
|
1077
1120
|
&:disabled {
|
|
1078
1121
|
cursor: not-allowed;
|
|
@@ -1980,21 +2023,6 @@
|
|
|
1980
2023
|
}
|
|
1981
2024
|
}
|
|
1982
2025
|
}
|
|
1983
|
-
@property --tw-translate-x {
|
|
1984
|
-
syntax: "*";
|
|
1985
|
-
inherits: false;
|
|
1986
|
-
initial-value: 0;
|
|
1987
|
-
}
|
|
1988
|
-
@property --tw-translate-y {
|
|
1989
|
-
syntax: "*";
|
|
1990
|
-
inherits: false;
|
|
1991
|
-
initial-value: 0;
|
|
1992
|
-
}
|
|
1993
|
-
@property --tw-translate-z {
|
|
1994
|
-
syntax: "*";
|
|
1995
|
-
inherits: false;
|
|
1996
|
-
initial-value: 0;
|
|
1997
|
-
}
|
|
1998
2026
|
@property --tw-ease {
|
|
1999
2027
|
syntax: "*";
|
|
2000
2028
|
inherits: false;
|
|
@@ -2032,6 +2060,21 @@
|
|
|
2032
2060
|
}
|
|
2033
2061
|
}
|
|
2034
2062
|
}
|
|
2063
|
+
@property --tw-translate-x {
|
|
2064
|
+
syntax: "*";
|
|
2065
|
+
inherits: false;
|
|
2066
|
+
initial-value: 0;
|
|
2067
|
+
}
|
|
2068
|
+
@property --tw-translate-y {
|
|
2069
|
+
syntax: "*";
|
|
2070
|
+
inherits: false;
|
|
2071
|
+
initial-value: 0;
|
|
2072
|
+
}
|
|
2073
|
+
@property --tw-translate-z {
|
|
2074
|
+
syntax: "*";
|
|
2075
|
+
inherits: false;
|
|
2076
|
+
initial-value: 0;
|
|
2077
|
+
}
|
|
2035
2078
|
@property --tw-rotate-x {
|
|
2036
2079
|
syntax: "*";
|
|
2037
2080
|
inherits: false;
|
|
@@ -2245,6 +2288,9 @@
|
|
|
2245
2288
|
@layer properties {
|
|
2246
2289
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
2247
2290
|
*, ::before, ::after, ::backdrop {
|
|
2291
|
+
--tw-translate-x: 0;
|
|
2292
|
+
--tw-translate-y: 0;
|
|
2293
|
+
--tw-translate-z: 0;
|
|
2248
2294
|
--tw-rotate-x: initial;
|
|
2249
2295
|
--tw-rotate-y: initial;
|
|
2250
2296
|
--tw-rotate-z: initial;
|
|
@@ -2294,9 +2340,6 @@
|
|
|
2294
2340
|
--tw-backdrop-saturate: initial;
|
|
2295
2341
|
--tw-backdrop-sepia: initial;
|
|
2296
2342
|
--tw-duration: initial;
|
|
2297
|
-
--tw-translate-x: 0;
|
|
2298
|
-
--tw-translate-y: 0;
|
|
2299
|
-
--tw-translate-z: 0;
|
|
2300
2343
|
--tw-ease: initial;
|
|
2301
2344
|
}
|
|
2302
2345
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/network-profile/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/network-profile/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YAkHpB,CAAC"}
|
|
@@ -79,10 +79,12 @@ export const schema = gql `
|
|
|
79
79
|
Module: NetworkProfileManagement
|
|
80
80
|
"""
|
|
81
81
|
input NetworkProfile_SetIconInput {
|
|
82
|
-
icon: String
|
|
82
|
+
icon: String
|
|
83
|
+
darkThemeIcon: String
|
|
83
84
|
}
|
|
84
85
|
input NetworkProfile_SetLogoInput {
|
|
85
|
-
logo: String
|
|
86
|
+
logo: String
|
|
87
|
+
darkThemeLogo: String
|
|
86
88
|
}
|
|
87
89
|
input NetworkProfile_SetLogoBigInput {
|
|
88
90
|
logoBig: String!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK/D,eAAO,MAAM,YAAY,GAAI,UAAU,YAAY,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/resolvers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK/D,eAAO,MAAM,YAAY,GAAI,UAAU,YAAY,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA8H3E,CAAC"}
|
|
@@ -85,7 +85,9 @@ export const getResolvers = (subgraph) => {
|
|
|
85
85
|
network: {
|
|
86
86
|
name: state.name,
|
|
87
87
|
icon: state.icon,
|
|
88
|
+
darkThemeIcon: state.darkThemeIcon ?? null,
|
|
88
89
|
logo: state.logo,
|
|
90
|
+
darkThemeLogo: state.darkThemeLogo ?? null,
|
|
89
91
|
logoBig: state.logoBig,
|
|
90
92
|
website: state.website ?? null,
|
|
91
93
|
description: state.description,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../subgraphs/networks/schema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,MAAM,EAAE,YA+CpB,CAAC"}
|