@freelog/tools-lib 0.1.158 → 0.1.160

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.
@@ -70,6 +70,14 @@ export function resourceDetails({resourceID, ...params}: ResourceDetailsParamsTy
70
70
  return `/resource/details/${resourceID}${handleQuery(params)}`;
71
71
  }
72
72
 
73
+ // 资源创建入口
74
+ interface ResourceCreatorParamsType {
75
+ }
76
+
77
+ export function resourceCreatorEntry({}: ResourceCreatorParamsType = {}): TReturnType {
78
+ return `/resource/creatorEntry`;
79
+ }
80
+
73
81
  // 资源创建
74
82
  interface ResourceCreatorParamsType {
75
83
  }
@@ -78,6 +86,14 @@ export function resourceCreator({}: ResourceCreatorParamsType = {}): TReturnType
78
86
  return `/resource/creator`;
79
87
  }
80
88
 
89
+ // 资源批量创建
90
+ interface ResourceCreatorParamsType {
91
+ }
92
+
93
+ export function resourceCreatorBatch({}: ResourceCreatorParamsType = {}): TReturnType {
94
+ return `/resource/creatorBatch`;
95
+ }
96
+
81
97
  // 我的资源
82
98
  interface MyResourcesParamsType {
83
99
  }
@@ -409,10 +425,15 @@ export function reward({}: RewardParamsType = {}) {
409
425
 
410
426
  // 我的合约
411
427
  interface ContractParamsType {
428
+ identityType?: 1 | 2;
429
+ licensorName?: string;
430
+ licenseeName?: string;
412
431
  }
413
432
 
414
- export function contract({}: ContractParamsType = {}) {
415
- return `/logged/contract`;
433
+ export function contract({...params}: ContractParamsType = {}) {
434
+ return `/logged/contract${handleQuery({
435
+ ...params
436
+ })}`;
416
437
  }
417
438
 
418
439
  // 个人设置