@powerhousedao/builder-team-admin 0.0.4 → 0.0.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../../../editors/builder-team-admin/utils/graphql-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../../../editors/builder-team-admin/utils/graphql-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmIH,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QACL,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;KACrB,CAAC;CACH;AAcD;;GAEG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAG3D;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAM7E;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GAC7B,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAOjC;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAMtC;AAED;;;GAGG;AACH,wBAAsB,6BAA6B,IAAI,OAAO,CAC5D,oBAAoB,EAAE,CACvB,CA8BA;AAED;;;GAGG;AACH,wBAAsB,+BAA+B,CACnD,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAiC5C"}
|
|
@@ -6,10 +6,19 @@ function getGraphQLUrl() {
|
|
|
6
6
|
if (typeof window === "undefined") {
|
|
7
7
|
return "http://localhost:4001/graphql";
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
const baseURI = window.document.baseURI;
|
|
10
|
+
if (baseURI.includes("localhost")) {
|
|
11
|
+
return "http://localhost:4001/graphql";
|
|
12
|
+
}
|
|
13
|
+
// Determine the appropriate Switchboard URL based on environment
|
|
14
|
+
if (baseURI.includes("-dev.")) {
|
|
15
|
+
return "https://switchboard-dev.powerhouse.xyz/graphql";
|
|
16
|
+
}
|
|
17
|
+
if (baseURI.includes("-staging.")) {
|
|
18
|
+
return "https://switchboard-staging.powerhouse.xyz/graphql";
|
|
11
19
|
}
|
|
12
|
-
|
|
20
|
+
// Production environment
|
|
21
|
+
return "https://switchboard.powerhouse.xyz/graphql";
|
|
13
22
|
}
|
|
14
23
|
async function graphqlRequest(query, variables, options) {
|
|
15
24
|
try {
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/builder-team-admin",
|
|
3
3
|
"description": "Builder Team Admin drive that holds a teams profile and its relevant document models.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@powerhousedao/builder-profile": "0.0.
|
|
65
|
+
"@powerhousedao/builder-profile": "0.0.9",
|
|
66
66
|
"@powerhousedao/builder-tools": "^5.1.0",
|
|
67
67
|
"@powerhousedao/common": "^5.1.0",
|
|
68
68
|
"@powerhousedao/design-system": "^5.1.0",
|
package/dist/style.css
CHANGED
|
@@ -2643,6 +2643,9 @@
|
|
|
2643
2643
|
.mt-3 {
|
|
2644
2644
|
margin-top: calc(var(--spacing) * 3);
|
|
2645
2645
|
}
|
|
2646
|
+
.mb-0 {
|
|
2647
|
+
margin-bottom: calc(var(--spacing) * 0);
|
|
2648
|
+
}
|
|
2646
2649
|
.mb-2 {
|
|
2647
2650
|
margin-bottom: calc(var(--spacing) * 2);
|
|
2648
2651
|
}
|
|
@@ -3196,6 +3199,12 @@
|
|
|
3196
3199
|
--tw-tracking: var(--tracking-wider);
|
|
3197
3200
|
letter-spacing: var(--tracking-wider);
|
|
3198
3201
|
}
|
|
3202
|
+
.whitespace-pre-wrap {
|
|
3203
|
+
white-space: pre-wrap;
|
|
3204
|
+
}
|
|
3205
|
+
.text-amber-500 {
|
|
3206
|
+
color: var(--color-amber-500);
|
|
3207
|
+
}
|
|
3199
3208
|
.text-amber-600 {
|
|
3200
3209
|
color: var(--color-amber-600);
|
|
3201
3210
|
}
|
|
@@ -3422,6 +3431,13 @@
|
|
|
3422
3431
|
}
|
|
3423
3432
|
}
|
|
3424
3433
|
}
|
|
3434
|
+
.hover\:text-indigo-700 {
|
|
3435
|
+
&:hover {
|
|
3436
|
+
@media (hover: hover) {
|
|
3437
|
+
color: var(--color-indigo-700);
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3425
3441
|
.hover\:text-red-600 {
|
|
3426
3442
|
&:hover {
|
|
3427
3443
|
@media (hover: hover) {
|
|
@@ -3466,6 +3482,11 @@
|
|
|
3466
3482
|
border-color: var(--color-indigo-500);
|
|
3467
3483
|
}
|
|
3468
3484
|
}
|
|
3485
|
+
.focus\:border-red-500 {
|
|
3486
|
+
&:focus {
|
|
3487
|
+
border-color: var(--color-red-500);
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3469
3490
|
.focus\:ring-2 {
|
|
3470
3491
|
&:focus {
|
|
3471
3492
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -3487,6 +3508,11 @@
|
|
|
3487
3508
|
--tw-ring-color: var(--color-indigo-500);
|
|
3488
3509
|
}
|
|
3489
3510
|
}
|
|
3511
|
+
.focus\:ring-red-500 {
|
|
3512
|
+
&:focus {
|
|
3513
|
+
--tw-ring-color: var(--color-red-500);
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3490
3516
|
.focus\:outline-none {
|
|
3491
3517
|
&:focus {
|
|
3492
3518
|
--tw-outline-style: none;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/builder-team-admin",
|
|
3
3
|
"description": "Builder Team Admin drive that holds a teams profile and its relevant document models.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@powerhousedao/builder-profile": "0.0.
|
|
65
|
+
"@powerhousedao/builder-profile": "0.0.9",
|
|
66
66
|
"@powerhousedao/builder-tools": "^5.1.0",
|
|
67
67
|
"@powerhousedao/common": "^5.1.0",
|
|
68
68
|
"@powerhousedao/design-system": "^5.1.0",
|