@ocap/types 1.29.14 → 1.29.15

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.
@@ -94,6 +94,7 @@ import type {
94
94
  TIndexedTokenState,
95
95
  TIndexedTransaction,
96
96
  TPageInfo,
97
+ TSearchResult,
97
98
  TTokenDistribution,
98
99
  } from '../lib/trace-type_pb';
99
100
 
@@ -423,6 +424,13 @@ export interface IIndexDB {
423
424
  listRollupValidators(params?: Partial<TRequestListRollupValidators>): Promisable<IListRollupValidatorsResult>;
424
425
  listTokenFactories(params?: Partial<TRequestListTokenFactories>): Promisable<IListTokenFactoriesResult>;
425
426
 
427
+ /**
428
+ * Search entities by semantic fields (moniker, name, symbol, description)
429
+ * @param keyword - Search keyword
430
+ * @returns Array of matching search results
431
+ */
432
+ search?(keyword: string): Promisable<TSearchResult[]>;
433
+
426
434
  /**
427
435
  * Get related addresses for account migration tracking
428
436
  * @param address - Account address
@@ -236,8 +236,10 @@ export interface IDelegationOpLimit {
236
236
  export type IDelegationOps = Record<string, { limit: IDelegationOpLimit }>;
237
237
 
238
238
  /** ops: IDelegationOps instead of opsMap */
239
- export interface IDelegateState extends Omit<TDelegateState, 'opsMap' | 'context' | 'data'> {
239
+ export interface IDelegateState extends Omit<TDelegateState, 'opsMap' | 'context' | 'data' | 'deny' | 'validUntil'> {
240
240
  ops?: IDelegationOps | null;
241
+ deny?: string[];
242
+ validUntil?: number;
241
243
  context: IStateContext;
242
244
  /** Protobuf google.protobuf.Any - structure varies by delegation type */
243
245
  data?: unknown;
package/lib/state_pb.d.ts CHANGED
@@ -79,6 +79,8 @@ export type TDelegateState = {
79
79
  opsMap: Array<[string, TDelegateOpState]>,
80
80
  from: string,
81
81
  to: string,
82
+ deny: Array<string>,
83
+ validUntil: number,
82
84
  context?: type_pb.TStateContext,
83
85
  data?: google_protobuf_any_pb.Any,
84
86
  }
@@ -319,6 +319,7 @@ export type TIndexedRollupBlock = {
319
319
  export type TSearchResult = {
320
320
  type: string,
321
321
  id: string,
322
+ title: string,
322
323
  }
323
324
 
324
325
  export type TIndexedRollupValidator = {
package/lib/tx_pb.d.ts CHANGED
@@ -28,6 +28,8 @@ export type TDelegateTx = {
28
28
  address: string,
29
29
  to: string,
30
30
  ops: Array<TDelegateOp>,
31
+ deny: Array<string>,
32
+ validUntil: number,
31
33
  data?: google_protobuf_any_pb.Any,
32
34
  }
33
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/types",
3
- "version": "1.29.14",
3
+ "version": "1.29.15",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "ocap",