@sparkdreamnft/sparkdreamjs 0.0.32 → 0.0.34

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.
@@ -350,6 +350,13 @@ export interface QueryGetProjectResponseAminoMsg {
350
350
  */
351
351
  export interface QueryAllProjectRequest {
352
352
  pagination?: PageRequest;
353
+ /**
354
+ * sort_by orders the full project set before pagination is applied.
355
+ * Supported keys: "id" (default), "name", "budget" (approved budget),
356
+ * "status". Direction follows pagination.reverse. When set, pagination is
357
+ * offset-based (next_key is an offset, not a store key).
358
+ */
359
+ sortBy: string;
353
360
  }
354
361
  export interface QueryAllProjectRequestProtoMsg {
355
362
  typeUrl: "/sparkdream.rep.v1.QueryAllProjectRequest";
@@ -363,6 +370,13 @@ export interface QueryAllProjectRequestProtoMsg {
363
370
  */
364
371
  export interface QueryAllProjectRequestAmino {
365
372
  pagination?: PageRequestAmino;
373
+ /**
374
+ * sort_by orders the full project set before pagination is applied.
375
+ * Supported keys: "id" (default), "name", "budget" (approved budget),
376
+ * "status". Direction follows pagination.reverse. When set, pagination is
377
+ * offset-based (next_key is an offset, not a store key).
378
+ */
379
+ sort_by?: string;
366
380
  }
367
381
  export interface QueryAllProjectRequestAminoMsg {
368
382
  type: "/sparkdream.rep.v1.QueryAllProjectRequest";
@@ -456,6 +470,15 @@ export interface QueryGetInitiativeResponseAminoMsg {
456
470
  */
457
471
  export interface QueryAllInitiativeRequest {
458
472
  pagination?: PageRequest;
473
+ /**
474
+ * sort_by orders the full initiative set before pagination is applied.
475
+ * Supported keys: "id" (default), "title", "status", "budget", "tier",
476
+ * "conviction" (current/required completion ratio; initiatives with no
477
+ * required conviction sort last). Direction follows pagination.reverse.
478
+ * When set, pagination is offset-based (next_key is an offset, not a
479
+ * store key).
480
+ */
481
+ sortBy: string;
459
482
  }
460
483
  export interface QueryAllInitiativeRequestProtoMsg {
461
484
  typeUrl: "/sparkdream.rep.v1.QueryAllInitiativeRequest";
@@ -469,6 +492,15 @@ export interface QueryAllInitiativeRequestProtoMsg {
469
492
  */
470
493
  export interface QueryAllInitiativeRequestAmino {
471
494
  pagination?: PageRequestAmino;
495
+ /**
496
+ * sort_by orders the full initiative set before pagination is applied.
497
+ * Supported keys: "id" (default), "title", "status", "budget", "tier",
498
+ * "conviction" (current/required completion ratio; initiatives with no
499
+ * required conviction sort last). Direction follows pagination.reverse.
500
+ * When set, pagination is offset-based (next_key is an offset, not a
501
+ * store key).
502
+ */
503
+ sort_by?: string;
472
504
  }
473
505
  export interface QueryAllInitiativeRequestAminoMsg {
474
506
  type: "/sparkdream.rep.v1.QueryAllInitiativeRequest";
@@ -1335,6 +1367,10 @@ export interface QueryInterimsByReferenceResponseAminoMsg {
1335
1367
  export interface QueryProjectsByCouncilRequest {
1336
1368
  council: string;
1337
1369
  pagination?: PageRequest;
1370
+ /**
1371
+ * Same keys and semantics as QueryAllProjectRequest.sort_by.
1372
+ */
1373
+ sortBy: string;
1338
1374
  }
1339
1375
  export interface QueryProjectsByCouncilRequestProtoMsg {
1340
1376
  typeUrl: "/sparkdream.rep.v1.QueryProjectsByCouncilRequest";
@@ -1349,6 +1385,10 @@ export interface QueryProjectsByCouncilRequestProtoMsg {
1349
1385
  export interface QueryProjectsByCouncilRequestAmino {
1350
1386
  council?: string;
1351
1387
  pagination?: PageRequestAmino;
1388
+ /**
1389
+ * Same keys and semantics as QueryAllProjectRequest.sort_by.
1390
+ */
1391
+ sort_by?: string;
1352
1392
  }
1353
1393
  export interface QueryProjectsByCouncilRequestAminoMsg {
1354
1394
  type: "/sparkdream.rep.v1.QueryProjectsByCouncilRequest";
@@ -1356,14 +1396,15 @@ export interface QueryProjectsByCouncilRequestAminoMsg {
1356
1396
  }
1357
1397
  /**
1358
1398
  * QueryProjectsByCouncilResponse defines the QueryProjectsByCouncilResponse message.
1399
+ * Prior versions declared singular project_id/name/status fields, which could
1400
+ * never carry more than one match; the fields were replaced (not extended)
1401
+ * because no client could have used them meaningfully.
1359
1402
  * @name QueryProjectsByCouncilResponse
1360
1403
  * @package sparkdream.rep.v1
1361
1404
  * @see proto type: sparkdream.rep.v1.QueryProjectsByCouncilResponse
1362
1405
  */
1363
1406
  export interface QueryProjectsByCouncilResponse {
1364
- projectId: bigint;
1365
- name: string;
1366
- status: bigint;
1407
+ projects: Project[];
1367
1408
  pagination?: PageResponse;
1368
1409
  }
1369
1410
  export interface QueryProjectsByCouncilResponseProtoMsg {
@@ -1372,14 +1413,15 @@ export interface QueryProjectsByCouncilResponseProtoMsg {
1372
1413
  }
1373
1414
  /**
1374
1415
  * QueryProjectsByCouncilResponse defines the QueryProjectsByCouncilResponse message.
1416
+ * Prior versions declared singular project_id/name/status fields, which could
1417
+ * never carry more than one match; the fields were replaced (not extended)
1418
+ * because no client could have used them meaningfully.
1375
1419
  * @name QueryProjectsByCouncilResponseAmino
1376
1420
  * @package sparkdream.rep.v1
1377
1421
  * @see proto type: sparkdream.rep.v1.QueryProjectsByCouncilResponse
1378
1422
  */
1379
1423
  export interface QueryProjectsByCouncilResponseAmino {
1380
- project_id?: string;
1381
- name?: string;
1382
- status?: string;
1424
+ projects?: ProjectAmino[];
1383
1425
  pagination?: PageResponseAmino;
1384
1426
  }
1385
1427
  export interface QueryProjectsByCouncilResponseAminoMsg {
@@ -1395,6 +1437,10 @@ export interface QueryProjectsByCouncilResponseAminoMsg {
1395
1437
  export interface QueryInitiativesByProjectRequest {
1396
1438
  projectId: bigint;
1397
1439
  pagination?: PageRequest;
1440
+ /**
1441
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1442
+ */
1443
+ sortBy: string;
1398
1444
  }
1399
1445
  export interface QueryInitiativesByProjectRequestProtoMsg {
1400
1446
  typeUrl: "/sparkdream.rep.v1.QueryInitiativesByProjectRequest";
@@ -1409,6 +1455,10 @@ export interface QueryInitiativesByProjectRequestProtoMsg {
1409
1455
  export interface QueryInitiativesByProjectRequestAmino {
1410
1456
  project_id?: string;
1411
1457
  pagination?: PageRequestAmino;
1458
+ /**
1459
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1460
+ */
1461
+ sort_by?: string;
1412
1462
  }
1413
1463
  export interface QueryInitiativesByProjectRequestAminoMsg {
1414
1464
  type: "/sparkdream.rep.v1.QueryInitiativesByProjectRequest";
@@ -1451,6 +1501,10 @@ export interface QueryInitiativesByProjectResponseAminoMsg {
1451
1501
  export interface QueryInitiativesByAssigneeRequest {
1452
1502
  assignee: string;
1453
1503
  pagination?: PageRequest;
1504
+ /**
1505
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1506
+ */
1507
+ sortBy: string;
1454
1508
  }
1455
1509
  export interface QueryInitiativesByAssigneeRequestProtoMsg {
1456
1510
  typeUrl: "/sparkdream.rep.v1.QueryInitiativesByAssigneeRequest";
@@ -1465,6 +1519,10 @@ export interface QueryInitiativesByAssigneeRequestProtoMsg {
1465
1519
  export interface QueryInitiativesByAssigneeRequestAmino {
1466
1520
  assignee?: string;
1467
1521
  pagination?: PageRequestAmino;
1522
+ /**
1523
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1524
+ */
1525
+ sort_by?: string;
1468
1526
  }
1469
1527
  export interface QueryInitiativesByAssigneeRequestAminoMsg {
1470
1528
  type: "/sparkdream.rep.v1.QueryInitiativesByAssigneeRequest";
@@ -1472,14 +1530,15 @@ export interface QueryInitiativesByAssigneeRequestAminoMsg {
1472
1530
  }
1473
1531
  /**
1474
1532
  * QueryInitiativesByAssigneeResponse defines the QueryInitiativesByAssigneeResponse message.
1533
+ * Prior versions declared singular initiative_id/title/status fields, which
1534
+ * could never carry more than one match; the fields were replaced (not
1535
+ * extended) because no client could have used them meaningfully.
1475
1536
  * @name QueryInitiativesByAssigneeResponse
1476
1537
  * @package sparkdream.rep.v1
1477
1538
  * @see proto type: sparkdream.rep.v1.QueryInitiativesByAssigneeResponse
1478
1539
  */
1479
1540
  export interface QueryInitiativesByAssigneeResponse {
1480
- initiativeId: bigint;
1481
- title: string;
1482
- status: bigint;
1541
+ initiatives: Initiative[];
1483
1542
  pagination?: PageResponse;
1484
1543
  }
1485
1544
  export interface QueryInitiativesByAssigneeResponseProtoMsg {
@@ -1488,14 +1547,15 @@ export interface QueryInitiativesByAssigneeResponseProtoMsg {
1488
1547
  }
1489
1548
  /**
1490
1549
  * QueryInitiativesByAssigneeResponse defines the QueryInitiativesByAssigneeResponse message.
1550
+ * Prior versions declared singular initiative_id/title/status fields, which
1551
+ * could never carry more than one match; the fields were replaced (not
1552
+ * extended) because no client could have used them meaningfully.
1491
1553
  * @name QueryInitiativesByAssigneeResponseAmino
1492
1554
  * @package sparkdream.rep.v1
1493
1555
  * @see proto type: sparkdream.rep.v1.QueryInitiativesByAssigneeResponse
1494
1556
  */
1495
1557
  export interface QueryInitiativesByAssigneeResponseAmino {
1496
- initiative_id?: string;
1497
- title?: string;
1498
- status?: string;
1558
+ initiatives?: InitiativeAmino[];
1499
1559
  pagination?: PageResponseAmino;
1500
1560
  }
1501
1561
  export interface QueryInitiativesByAssigneeResponseAminoMsg {
@@ -1510,6 +1570,10 @@ export interface QueryInitiativesByAssigneeResponseAminoMsg {
1510
1570
  */
1511
1571
  export interface QueryAvailableInitiativesRequest {
1512
1572
  pagination?: PageRequest;
1573
+ /**
1574
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1575
+ */
1576
+ sortBy: string;
1513
1577
  }
1514
1578
  export interface QueryAvailableInitiativesRequestProtoMsg {
1515
1579
  typeUrl: "/sparkdream.rep.v1.QueryAvailableInitiativesRequest";
@@ -1523,6 +1587,10 @@ export interface QueryAvailableInitiativesRequestProtoMsg {
1523
1587
  */
1524
1588
  export interface QueryAvailableInitiativesRequestAmino {
1525
1589
  pagination?: PageRequestAmino;
1590
+ /**
1591
+ * Same keys and semantics as QueryAllInitiativeRequest.sort_by.
1592
+ */
1593
+ sort_by?: string;
1526
1594
  }
1527
1595
  export interface QueryAvailableInitiativesRequestAminoMsg {
1528
1596
  type: "/sparkdream.rep.v1.QueryAvailableInitiativesRequest";
@@ -1530,15 +1598,15 @@ export interface QueryAvailableInitiativesRequestAminoMsg {
1530
1598
  }
1531
1599
  /**
1532
1600
  * QueryAvailableInitiativesResponse defines the QueryAvailableInitiativesResponse message.
1601
+ * Prior versions declared singular initiative_id/title/tier/budget fields,
1602
+ * which could never carry more than one match; the fields were replaced (not
1603
+ * extended) because no client could have used them meaningfully.
1533
1604
  * @name QueryAvailableInitiativesResponse
1534
1605
  * @package sparkdream.rep.v1
1535
1606
  * @see proto type: sparkdream.rep.v1.QueryAvailableInitiativesResponse
1536
1607
  */
1537
1608
  export interface QueryAvailableInitiativesResponse {
1538
- initiativeId: bigint;
1539
- title: string;
1540
- tier: bigint;
1541
- budget: string;
1609
+ initiatives: Initiative[];
1542
1610
  pagination?: PageResponse;
1543
1611
  }
1544
1612
  export interface QueryAvailableInitiativesResponseProtoMsg {
@@ -1547,15 +1615,15 @@ export interface QueryAvailableInitiativesResponseProtoMsg {
1547
1615
  }
1548
1616
  /**
1549
1617
  * QueryAvailableInitiativesResponse defines the QueryAvailableInitiativesResponse message.
1618
+ * Prior versions declared singular initiative_id/title/tier/budget fields,
1619
+ * which could never carry more than one match; the fields were replaced (not
1620
+ * extended) because no client could have used them meaningfully.
1550
1621
  * @name QueryAvailableInitiativesResponseAmino
1551
1622
  * @package sparkdream.rep.v1
1552
1623
  * @see proto type: sparkdream.rep.v1.QueryAvailableInitiativesResponse
1553
1624
  */
1554
1625
  export interface QueryAvailableInitiativesResponseAmino {
1555
- initiative_id?: string;
1556
- title?: string;
1557
- tier?: string;
1558
- budget?: string;
1626
+ initiatives?: InitiativeAmino[];
1559
1627
  pagination?: PageResponseAmino;
1560
1628
  }
1561
1629
  export interface QueryAvailableInitiativesResponseAminoMsg {
@@ -1597,9 +1665,7 @@ export interface QueryStakesByStakerRequestAminoMsg {
1597
1665
  * @see proto type: sparkdream.rep.v1.QueryStakesByStakerResponse
1598
1666
  */
1599
1667
  export interface QueryStakesByStakerResponse {
1600
- stakeId: bigint;
1601
- targetType: bigint;
1602
- amount: string;
1668
+ stakes: Stake[];
1603
1669
  pagination?: PageResponse;
1604
1670
  }
1605
1671
  export interface QueryStakesByStakerResponseProtoMsg {
@@ -1613,9 +1679,7 @@ export interface QueryStakesByStakerResponseProtoMsg {
1613
1679
  * @see proto type: sparkdream.rep.v1.QueryStakesByStakerResponse
1614
1680
  */
1615
1681
  export interface QueryStakesByStakerResponseAmino {
1616
- stake_id?: string;
1617
- target_type?: string;
1618
- amount?: string;
1682
+ stakes?: StakeAmino[];
1619
1683
  pagination?: PageResponseAmino;
1620
1684
  }
1621
1685
  export interface QueryStakesByStakerResponseAminoMsg {
@@ -5356,6 +5420,9 @@ export declare const QueryProjectsByCouncilRequest: {
5356
5420
  };
5357
5421
  /**
5358
5422
  * QueryProjectsByCouncilResponse defines the QueryProjectsByCouncilResponse message.
5423
+ * Prior versions declared singular project_id/name/status fields, which could
5424
+ * never carry more than one match; the fields were replaced (not extended)
5425
+ * because no client could have used them meaningfully.
5359
5426
  * @name QueryProjectsByCouncilResponse
5360
5427
  * @package sparkdream.rep.v1
5361
5428
  * @see proto type: sparkdream.rep.v1.QueryProjectsByCouncilResponse
@@ -5428,6 +5495,9 @@ export declare const QueryInitiativesByAssigneeRequest: {
5428
5495
  };
5429
5496
  /**
5430
5497
  * QueryInitiativesByAssigneeResponse defines the QueryInitiativesByAssigneeResponse message.
5498
+ * Prior versions declared singular initiative_id/title/status fields, which
5499
+ * could never carry more than one match; the fields were replaced (not
5500
+ * extended) because no client could have used them meaningfully.
5431
5501
  * @name QueryInitiativesByAssigneeResponse
5432
5502
  * @package sparkdream.rep.v1
5433
5503
  * @see proto type: sparkdream.rep.v1.QueryInitiativesByAssigneeResponse
@@ -5464,6 +5534,9 @@ export declare const QueryAvailableInitiativesRequest: {
5464
5534
  };
5465
5535
  /**
5466
5536
  * QueryAvailableInitiativesResponse defines the QueryAvailableInitiativesResponse message.
5537
+ * Prior versions declared singular initiative_id/title/tier/budget fields,
5538
+ * which could never carry more than one match; the fields were replaced (not
5539
+ * extended) because no client could have used them meaningfully.
5467
5540
  * @name QueryAvailableInitiativesResponse
5468
5541
  * @package sparkdream.rep.v1
5469
5542
  * @see proto type: sparkdream.rep.v1.QueryAvailableInitiativesResponse