@powerhousedao/network-admin 0.0.49 → 0.0.51
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/src/reducers/builders.d.ts.map +1 -1
- package/dist/document-models/builders/src/reducers/builders.js +2 -2
- package/dist/document-models/network-profile/gen/document-schema.d.ts +16 -16
- package/dist/document-models/network-profile/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/network-profile/gen/schema/types.d.ts +2 -2
- package/dist/document-models/network-profile/gen/schema/types.d.ts.map +1 -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 +1 -1
- package/dist/document-models/payment-terms/gen/document-schema.d.ts +48 -48
- package/dist/document-models/payment-terms/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/payment-terms/gen/schema/types.d.ts +12 -12
- package/dist/document-models/payment-terms/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/payment-terms/src/reducers/clauses.d.ts.map +1 -1
- package/dist/document-models/payment-terms/src/reducers/clauses.js +10 -10
- package/dist/document-models/payment-terms/src/reducers/milestones.d.ts.map +1 -1
- package/dist/document-models/payment-terms/src/reducers/milestones.js +14 -11
- package/dist/document-models/payment-terms/src/reducers/terms.js +4 -4
- package/dist/document-models/request-for-proposals/gen/document-schema.d.ts +16 -16
- package/dist/document-models/request-for-proposals/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/gen/schema/types.d.ts +9 -9
- package/dist/document-models/request-for-proposals/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/src/reducers/contex-document.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/src/reducers/contex-document.js +3 -3
- package/dist/document-models/request-for-proposals/src/reducers/proposals.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/src/reducers/proposals.js +16 -12
- package/dist/document-models/request-for-proposals/src/reducers/rfp-state.d.ts.map +1 -1
- package/dist/document-models/request-for-proposals/src/reducers/rfp-state.js +7 -3
- package/dist/document-models/workstream/gen/document-schema.d.ts +16 -16
- package/dist/document-models/workstream/gen/document-schema.d.ts.map +1 -1
- package/dist/document-models/workstream/gen/schema/types.d.ts +6 -6
- package/dist/document-models/workstream/gen/schema/types.d.ts.map +1 -1
- package/dist/document-models/workstream/src/reducers/proposals.d.ts.map +1 -1
- package/dist/document-models/workstream/src/reducers/proposals.js +78 -0
- package/dist/editors/network-admin/components/builders.d.ts.map +1 -1
- package/dist/editors/network-admin/components/icons/PaymentIcon.d.ts.map +1 -1
- package/dist/editors/network-admin/components/icons/RfpIcon.d.ts.map +1 -1
- package/dist/editors/network-admin/components/icons/SowIcon.d.ts.map +1 -1
- package/dist/editors/network-admin/components/icons/WorkstreamIcon.d.ts.map +1 -1
- package/dist/editors/network-profile/editor.d.ts.map +1 -1
- package/dist/editors/payment-terms/components/clauses-section.d.ts +12 -0
- package/dist/editors/payment-terms/components/clauses-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/clauses-section.js +269 -0
- package/dist/editors/payment-terms/components/escrow-section.d.ts +13 -0
- package/dist/editors/payment-terms/components/escrow-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/escrow-section.js +72 -0
- package/dist/editors/payment-terms/components/evaluation-section.d.ts +13 -0
- package/dist/editors/payment-terms/components/evaluation-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/evaluation-section.js +94 -0
- package/dist/editors/payment-terms/components/header-section.d.ts +16 -0
- package/dist/editors/payment-terms/components/header-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/header-section.js +67 -0
- package/dist/editors/payment-terms/components/milestones-section.d.ts +11 -0
- package/dist/editors/payment-terms/components/milestones-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/milestones-section.js +268 -0
- package/dist/editors/payment-terms/components/parties-section.d.ts +11 -0
- package/dist/editors/payment-terms/components/parties-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/parties-section.js +36 -0
- package/dist/editors/payment-terms/components/payment-config-section.d.ts +11 -0
- package/dist/editors/payment-terms/components/payment-config-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/payment-config-section.js +68 -0
- package/dist/editors/payment-terms/components/styles.d.ts +2 -0
- package/dist/editors/payment-terms/components/styles.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/styles.js +741 -0
- package/dist/editors/payment-terms/components/time-materials-section.d.ts +11 -0
- package/dist/editors/payment-terms/components/time-materials-section.d.ts.map +1 -0
- package/dist/editors/payment-terms/components/time-materials-section.js +68 -0
- package/dist/editors/payment-terms/editor.d.ts +0 -2
- package/dist/editors/payment-terms/editor.d.ts.map +1 -1
- package/dist/editors/payment-terms/editor.js +36 -52
- package/dist/editors/payment-terms/evaluation-tab.d.ts +1 -1
- package/dist/editors/payment-terms/evaluation-tab.d.ts.map +1 -1
- package/dist/editors/payment-terms/evaluation-tab.js +17 -8
- package/dist/editors/payment-terms/milestones-tab.d.ts.map +1 -1
- package/dist/editors/payment-terms/milestones-tab.js +9 -1
- package/dist/editors/request-for-proposals/markdown-editor.d.ts.map +1 -1
- package/dist/editors/request-for-proposals/markdown-editor.js +3 -3
- package/dist/editors/workstream/editor.d.ts.map +1 -1
- package/dist/editors/workstream/editor.js +114 -26
- package/dist/processors/workstreams/index.d.ts +1 -0
- package/dist/processors/workstreams/index.d.ts.map +1 -1
- package/dist/processors/workstreams/index.js +91 -29
- package/dist/processors/workstreams/migrations.d.ts.map +1 -1
- package/dist/processors/workstreams/migrations.js +9 -10
- package/dist/scripts/sow-mirror/mirror_sow_state.d.ts +3 -0
- package/dist/scripts/sow-mirror/mirror_sow_state.d.ts.map +1 -0
- package/dist/scripts/sow-mirror/mirror_sow_state.js +446 -0
- package/dist/style.css +467 -232
- package/dist/subgraphs/networks/resolvers.d.ts.map +1 -1
- package/dist/subgraphs/networks/resolvers.js +62 -6
- package/dist/subgraphs/networks/schema.d.ts.map +1 -1
- package/dist/subgraphs/networks/schema.js +50 -0
- package/dist/subgraphs/workstreams/resolvers.d.ts.map +1 -1
- package/dist/subgraphs/workstreams/resolvers.js +244 -11
- package/dist/subgraphs/workstreams/schema.d.ts.map +1 -1
- package/dist/subgraphs/workstreams/schema.js +194 -28
- package/package.json +3 -3
|
@@ -8,7 +8,9 @@ export const schema = gql `
|
|
|
8
8
|
workstream(filter: WorkstreamFilter!): [FullQueryWorkstream!]!
|
|
9
9
|
workstreams(filter: WorkstreamsFilter): [FullQueryWorkstream!]!
|
|
10
10
|
rfpByWorkstream(filter: WorkstreamFilter!): [WorkstreamRfp!]!
|
|
11
|
-
scopeOfWorkByNetworkOrStatus(
|
|
11
|
+
scopeOfWorkByNetworkOrStatus(
|
|
12
|
+
filter: scopeOfWorkByNetworkOrStatusFilter!
|
|
13
|
+
): [SOW_ScopeOfWorkState!]!
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
type ProcessorWorkstream {
|
|
@@ -65,7 +67,6 @@ export const schema = gql `
|
|
|
65
67
|
networkName: String
|
|
66
68
|
workstreamStatus: WorkstreamStatus
|
|
67
69
|
workstreamStatuses: [WorkstreamStatus!]
|
|
68
|
-
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
input WorkstreamsFilter {
|
|
@@ -89,8 +90,8 @@ export const schema = gql `
|
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
enum ProposalRole {
|
|
92
|
-
INITIAL
|
|
93
|
-
ALTERNATIVE
|
|
93
|
+
INITIAL
|
|
94
|
+
ALTERNATIVE
|
|
94
95
|
AWARDED
|
|
95
96
|
}
|
|
96
97
|
|
|
@@ -197,7 +198,7 @@ export const schema = gql `
|
|
|
197
198
|
deliverables: [SOW_Deliverable!]!
|
|
198
199
|
projects: [SOW_Project!]!
|
|
199
200
|
roadmaps: [SOW_Roadmap!]!
|
|
200
|
-
contributors: [
|
|
201
|
+
contributors: [Builder!]!
|
|
201
202
|
}
|
|
202
203
|
|
|
203
204
|
enum SOW_ScopeOfWorkStatus {
|
|
@@ -254,16 +255,28 @@ export const schema = gql `
|
|
|
254
255
|
|
|
255
256
|
union SOW_Progress = SOW_StoryPoint | SOW_Percentage | SOW_Binary
|
|
256
257
|
|
|
257
|
-
type SOW_Percentage {
|
|
258
|
-
|
|
259
|
-
|
|
258
|
+
type SOW_Percentage {
|
|
259
|
+
value: Float!
|
|
260
|
+
}
|
|
261
|
+
type SOW_Binary {
|
|
262
|
+
done: Boolean
|
|
263
|
+
}
|
|
264
|
+
type SOW_StoryPoint {
|
|
265
|
+
total: Int!
|
|
266
|
+
completed: Int!
|
|
267
|
+
}
|
|
260
268
|
|
|
261
|
-
type SOW_KeyResult {
|
|
269
|
+
type SOW_KeyResult {
|
|
270
|
+
id: OID!
|
|
271
|
+
title: String!
|
|
272
|
+
link: String!
|
|
273
|
+
}
|
|
262
274
|
|
|
263
275
|
type SOW_Project {
|
|
264
276
|
id: OID!
|
|
265
277
|
code: String!
|
|
266
278
|
title: String!
|
|
279
|
+
slug: String!
|
|
267
280
|
projectOwner: ID
|
|
268
281
|
abstract: String
|
|
269
282
|
imageUrl: URL
|
|
@@ -274,10 +287,24 @@ export const schema = gql `
|
|
|
274
287
|
expenditure: SOW_BudgetExpenditure
|
|
275
288
|
}
|
|
276
289
|
|
|
277
|
-
enum SOW_PMCurrency {
|
|
278
|
-
|
|
290
|
+
enum SOW_PMCurrency {
|
|
291
|
+
DAI
|
|
292
|
+
USDS
|
|
293
|
+
EUR
|
|
294
|
+
USD
|
|
295
|
+
}
|
|
296
|
+
enum SOW_BudgetType {
|
|
297
|
+
CONTINGENCY
|
|
298
|
+
OPEX
|
|
299
|
+
CAPEX
|
|
300
|
+
OVERHEAD
|
|
301
|
+
}
|
|
279
302
|
|
|
280
|
-
type SOW_BudgetExpenditure {
|
|
303
|
+
type SOW_BudgetExpenditure {
|
|
304
|
+
percentage: Float!
|
|
305
|
+
actuals: Float!
|
|
306
|
+
cap: Float!
|
|
307
|
+
}
|
|
281
308
|
|
|
282
309
|
type SOW_Roadmap {
|
|
283
310
|
id: OID!
|
|
@@ -305,26 +332,103 @@ export const schema = gql `
|
|
|
305
332
|
deliverablesCompleted: SOW_DeliverablesCompleted!
|
|
306
333
|
}
|
|
307
334
|
|
|
308
|
-
type SOW_DeliverablesCompleted {
|
|
309
|
-
|
|
335
|
+
type SOW_DeliverablesCompleted {
|
|
336
|
+
total: Int!
|
|
337
|
+
completed: Int!
|
|
338
|
+
}
|
|
339
|
+
enum SOW_DeliverableSetStatus {
|
|
340
|
+
DRAFT
|
|
341
|
+
TODO
|
|
342
|
+
IN_PROGRESS
|
|
343
|
+
FINISHED
|
|
344
|
+
CANCELED
|
|
345
|
+
}
|
|
310
346
|
|
|
311
347
|
# ==========================
|
|
312
348
|
# Payment Terms (typed)
|
|
313
349
|
# ==========================
|
|
314
|
-
enum PT_PaymentTermsStatus {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
350
|
+
enum PT_PaymentTermsStatus {
|
|
351
|
+
DRAFT
|
|
352
|
+
SUBMITTED
|
|
353
|
+
ACCEPTED
|
|
354
|
+
CANCELLED
|
|
355
|
+
}
|
|
356
|
+
enum PT_PaymentCurrency {
|
|
357
|
+
USD
|
|
358
|
+
EUR
|
|
359
|
+
GBP
|
|
360
|
+
}
|
|
361
|
+
enum PT_PaymentModel {
|
|
362
|
+
MILESTONE
|
|
363
|
+
COST_AND_MATERIALS
|
|
364
|
+
RETAINER
|
|
365
|
+
}
|
|
366
|
+
enum PT_MilestonePayoutStatus {
|
|
367
|
+
PENDING
|
|
368
|
+
READY_FOR_REVIEW
|
|
369
|
+
APPROVED
|
|
370
|
+
PAID
|
|
371
|
+
REJECTED
|
|
372
|
+
}
|
|
373
|
+
enum PT_BillingFrequency {
|
|
374
|
+
WEEKLY
|
|
375
|
+
BIWEEKLY
|
|
376
|
+
MONTHLY
|
|
377
|
+
}
|
|
378
|
+
enum PT_EvaluationFrequency {
|
|
379
|
+
WEEKLY
|
|
380
|
+
MONTHLY
|
|
381
|
+
PER_MILESTONE
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
type PT_Milestone {
|
|
385
|
+
id: OID!
|
|
386
|
+
name: String!
|
|
387
|
+
amount: Amount!
|
|
388
|
+
expectedCompletionDate: Date
|
|
389
|
+
requiresApproval: Boolean!
|
|
390
|
+
payoutStatus: PT_MilestonePayoutStatus!
|
|
391
|
+
}
|
|
392
|
+
type PT_CostAndMaterials {
|
|
393
|
+
hourlyRate: Amount
|
|
394
|
+
variableCap: Amount
|
|
395
|
+
billingFrequency: PT_BillingFrequency!
|
|
396
|
+
timesheetRequired: Boolean!
|
|
397
|
+
}
|
|
398
|
+
type PT_Retainer {
|
|
399
|
+
retainerAmount: Amount!
|
|
400
|
+
billingFrequency: PT_BillingFrequency!
|
|
401
|
+
startDate: Date!
|
|
402
|
+
endDate: Date
|
|
403
|
+
autoRenew: Boolean!
|
|
404
|
+
servicesIncluded: String!
|
|
405
|
+
}
|
|
406
|
+
type PT_Escrow {
|
|
407
|
+
amountHeld: Amount!
|
|
408
|
+
proofOfFundsDocumentId: String
|
|
409
|
+
releaseConditions: String!
|
|
410
|
+
escrowProvider: String
|
|
411
|
+
}
|
|
412
|
+
type PT_EvaluationTerms {
|
|
413
|
+
evaluationFrequency: PT_EvaluationFrequency!
|
|
414
|
+
evaluatorTeam: String!
|
|
415
|
+
criteria: [String!]!
|
|
416
|
+
impactsPayout: Boolean!
|
|
417
|
+
impactsReputation: Boolean!
|
|
418
|
+
commentsVisibleToClient: Boolean!
|
|
419
|
+
}
|
|
420
|
+
type PT_BonusClause {
|
|
421
|
+
id: OID!
|
|
422
|
+
condition: String!
|
|
423
|
+
bonusAmount: Amount!
|
|
424
|
+
comment: String
|
|
425
|
+
}
|
|
426
|
+
type PT_PenaltyClause {
|
|
427
|
+
id: OID!
|
|
428
|
+
condition: String!
|
|
429
|
+
deductionAmount: Amount!
|
|
430
|
+
comment: String
|
|
431
|
+
}
|
|
328
432
|
|
|
329
433
|
type PT_PaymentTermsState {
|
|
330
434
|
status: PT_PaymentTermsStatus!
|
|
@@ -352,4 +456,66 @@ export const schema = gql `
|
|
|
352
456
|
sow: SOW_ScopeOfWorkState
|
|
353
457
|
paymentTerms: PT_PaymentTermsState
|
|
354
458
|
}
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
# ==========================
|
|
462
|
+
# Builder (typed)
|
|
463
|
+
# ==========================
|
|
464
|
+
type Builder {
|
|
465
|
+
id: PHID
|
|
466
|
+
code: String
|
|
467
|
+
slug: String
|
|
468
|
+
name: String!
|
|
469
|
+
icon: String!
|
|
470
|
+
description: String!
|
|
471
|
+
lastModified: DateTime
|
|
472
|
+
type: teamType!
|
|
473
|
+
contributors: [Builder!]!
|
|
474
|
+
status: BuilderStatus
|
|
475
|
+
skilss: [BuilderSkill!]!
|
|
476
|
+
scopes: [BuilderScope!]!
|
|
477
|
+
links: [BuilderLink!]!
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
enum teamType {
|
|
481
|
+
INDIVIDUAL
|
|
482
|
+
TEAM
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
enum BuilderStatus {
|
|
486
|
+
ACTIVE
|
|
487
|
+
INACTIVE
|
|
488
|
+
ON_HOLD
|
|
489
|
+
COMPLETED
|
|
490
|
+
ARCHIVED
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
enum BuilderSkill {
|
|
494
|
+
FRONTEND_DEVELOPMENT
|
|
495
|
+
BACKEND_DEVELOPMENT
|
|
496
|
+
FULL_STACK_DEVELOPMENT
|
|
497
|
+
DEVOPS_ENGINEERING
|
|
498
|
+
SMART_CONTRACT_DEVELOPMENT
|
|
499
|
+
UI_UX_DESIGN
|
|
500
|
+
TECHNICAL_WRITING
|
|
501
|
+
QA_TESTING
|
|
502
|
+
DATA_ENGINEERING
|
|
503
|
+
SECURITY_ENGINEERING
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
enum BuilderScope {
|
|
507
|
+
ACC
|
|
508
|
+
STA
|
|
509
|
+
SUP
|
|
510
|
+
STABILITY_SCOPE
|
|
511
|
+
SUPPORT_SCOPE
|
|
512
|
+
PROTOCOL_SCOPE
|
|
513
|
+
GOVERNANCE_SCOPE
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
type BuilderLink {
|
|
517
|
+
id: OID!
|
|
518
|
+
url: URL!
|
|
519
|
+
label: String
|
|
520
|
+
}
|
|
355
521
|
`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/network-admin",
|
|
3
3
|
"description": "Network Admin package for Powerhouse",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.51",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@powerhousedao/builder-tools": "^5.0.12",
|
|
66
66
|
"@powerhousedao/common": "^5.0.12",
|
|
67
67
|
"@powerhousedao/design-system": "^5.0.12",
|
|
68
|
-
"@powerhousedao/document-engineering": "^1.
|
|
69
|
-
"@powerhousedao/project-management": "0.0.
|
|
68
|
+
"@powerhousedao/document-engineering": "^1.39.0",
|
|
69
|
+
"@powerhousedao/project-management": "0.0.65",
|
|
70
70
|
"@uiw/react-md-editor": "^4.0.8",
|
|
71
71
|
"document-model": "^5.0.12",
|
|
72
72
|
"error": "^10.4.0",
|