@blocklet/server-js 1.16.52-beta-20250928-042319-ff3f0e04 → 1.16.52-beta-20251002-030549-0f91dab2

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/lib/types.js CHANGED
@@ -189,9 +189,12 @@
189
189
  * // hasPermission,
190
190
  * // addBlockletStore,
191
191
  * // deleteBlockletStore,
192
+ * // getTag,
192
193
  * // createTag,
193
194
  * // updateTag,
194
195
  * // deleteTag,
196
+ * // createTagging,
197
+ * // deleteTagging,
195
198
  * // readNotifications,
196
199
  * // unreadNotifications,
197
200
  * // addRoutingSite,
@@ -2319,6 +2322,16 @@
2319
2322
  * @typedef {object} ABTNodeClient.RequestTagInput
2320
2323
  * @property {string} teamDid
2321
2324
  * @property {...ABTNodeClient.TagInput} tag
2325
+ * @property {number} moveTo
2326
+ */
2327
+
2328
+ /**
2329
+ * Structure of ABTNodeClient.RequestTaggingInput
2330
+ *
2331
+ * @memberof ABTNodeClient
2332
+ * @typedef {object} ABTNodeClient.RequestTaggingInput
2333
+ * @property {string} teamDid
2334
+ * @property {...ABTNodeClient.TaggingInput} tagging
2322
2335
  */
2323
2336
 
2324
2337
  /**
@@ -2805,6 +2818,22 @@
2805
2818
  * @property {string} color
2806
2819
  * @property {number} createdAt
2807
2820
  * @property {number} updatedAt
2821
+ * @property {string} slug
2822
+ * @property {string} type
2823
+ * @property {string} componentDid
2824
+ * @property {number} parentId
2825
+ * @property {string} createdBy
2826
+ * @property {string} updatedBy
2827
+ */
2828
+
2829
+ /**
2830
+ * Structure of ABTNodeClient.TaggingInput
2831
+ *
2832
+ * @memberof ABTNodeClient
2833
+ * @typedef {object} ABTNodeClient.TaggingInput
2834
+ * @property {number} tagId
2835
+ * @property {string} taggableType
2836
+ * @property {Array<...ABTNodeClient.null>} taggableIds
2808
2837
  */
2809
2838
 
2810
2839
  /**
@@ -4312,9 +4341,12 @@
4312
4341
  * @property {...ABTNodeClient.BooleanResponse} hasPermission
4313
4342
  * @property {...ABTNodeClient.GeneralResponse} addBlockletStore
4314
4343
  * @property {...ABTNodeClient.GeneralResponse} deleteBlockletStore
4344
+ * @property {...ABTNodeClient.ResponseTag} getTag
4315
4345
  * @property {...ABTNodeClient.ResponseTag} createTag
4316
4346
  * @property {...ABTNodeClient.ResponseTag} updateTag
4317
4347
  * @property {...ABTNodeClient.ResponseTag} deleteTag
4348
+ * @property {...ABTNodeClient.ResponseTagging} createTagging
4349
+ * @property {...ABTNodeClient.ResponseTagging} deleteTagging
4318
4350
  * @property {...ABTNodeClient.ResponseReadNotifications} readNotifications
4319
4351
  * @property {...ABTNodeClient.ResponseReadNotifications} unreadNotifications
4320
4352
  * @property {...ABTNodeClient.ResponseRoutingSite} addRoutingSite
@@ -6254,7 +6286,12 @@
6254
6286
  "tag": {
6255
6287
  "title": "abc",
6256
6288
  "description": "abc",
6257
- "color": "abc"
6289
+ "color": "abc",
6290
+ "slug": "abc",
6291
+ "type": "abc",
6292
+ "componentDid": "abc",
6293
+ "createdBy": "abc",
6294
+ "updatedBy": "abc"
6258
6295
  }
6259
6296
  }
6260
6297
  * ```
@@ -6265,6 +6302,15 @@
6265
6302
  * @property {...ABTNodeClient.Tag} tag
6266
6303
  */
6267
6304
 
6305
+ /**
6306
+ * Structure of ABTNodeClient.ResponseTagging
6307
+ *
6308
+ * @memberof ABTNodeClient
6309
+ * @typedef {object} ABTNodeClient.ResponseTagging
6310
+ * @property {...ABTNodeClient.StatusCode} code
6311
+ * @property {Array<...ABTNodeClient.null>} tagging
6312
+ */
6313
+
6268
6314
  /**
6269
6315
  * Structure of ABTNodeClient.ResponseTags
6270
6316
  *
@@ -6645,6 +6691,22 @@
6645
6691
  * @property {string} color
6646
6692
  * @property {number} createdAt
6647
6693
  * @property {number} updatedAt
6694
+ * @property {string} slug
6695
+ * @property {string} type
6696
+ * @property {string} componentDid
6697
+ * @property {number} parentId
6698
+ * @property {string} createdBy
6699
+ * @property {string} updatedBy
6700
+ */
6701
+
6702
+ /**
6703
+ * Structure of ABTNodeClient.Tagging
6704
+ *
6705
+ * @memberof ABTNodeClient
6706
+ * @typedef {object} ABTNodeClient.Tagging
6707
+ * @property {number} tagId
6708
+ * @property {string} taggableType
6709
+ * @property {Array<...ABTNodeClient.null>} taggableIds
6648
6710
  */
6649
6711
 
6650
6712
  /**
@@ -9025,6 +9087,19 @@
9025
9087
  * @property {...ABTNodeClient.RequestDeleteBlockletStoreInput} input
9026
9088
  */
9027
9089
 
9090
+ /**
9091
+ * Structure of ABTNodeClient.GetTagParams
9092
+ *
9093
+ * Checkout the following snippet for the format of GetTagParams:
9094
+ * ```json
9095
+ {}
9096
+ * ```
9097
+ *
9098
+ * @memberof ABTNodeClient
9099
+ * @typedef {object} ABTNodeClient.GetTagParams
9100
+ * @property {...ABTNodeClient.RequestTagInput} input
9101
+ */
9102
+
9028
9103
  /**
9029
9104
  * Structure of ABTNodeClient.CreateTagParams
9030
9105
  *
@@ -9064,6 +9139,32 @@
9064
9139
  * @property {...ABTNodeClient.RequestTagInput} input
9065
9140
  */
9066
9141
 
9142
+ /**
9143
+ * Structure of ABTNodeClient.CreateTaggingParams
9144
+ *
9145
+ * Checkout the following snippet for the format of CreateTaggingParams:
9146
+ * ```json
9147
+ {}
9148
+ * ```
9149
+ *
9150
+ * @memberof ABTNodeClient
9151
+ * @typedef {object} ABTNodeClient.CreateTaggingParams
9152
+ * @property {...ABTNodeClient.RequestTaggingInput} input
9153
+ */
9154
+
9155
+ /**
9156
+ * Structure of ABTNodeClient.DeleteTaggingParams
9157
+ *
9158
+ * Checkout the following snippet for the format of DeleteTaggingParams:
9159
+ * ```json
9160
+ {}
9161
+ * ```
9162
+ *
9163
+ * @memberof ABTNodeClient
9164
+ * @typedef {object} ABTNodeClient.DeleteTaggingParams
9165
+ * @property {...ABTNodeClient.RequestTaggingInput} input
9166
+ */
9167
+
9067
9168
  /**
9068
9169
  * Structure of ABTNodeClient.ReadNotificationsParams
9069
9170
  *
@@ -11389,6 +11490,16 @@
11389
11490
  * @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
11390
11491
  */
11391
11492
 
11493
+ /**
11494
+ * getTag
11495
+ *
11496
+ * @name ABTNodeClient#getTag
11497
+ * @param {ABTNodeClient.GetTagParams} params
11498
+ * @function
11499
+ * @memberof ABTNodeClient
11500
+ * @returns {Promise<ABTNodeClient.ResponseTag>} Checkout {@link ABTNodeClient.ResponseTag} for resolved data format
11501
+ */
11502
+
11392
11503
  /**
11393
11504
  * createTag
11394
11505
  *
@@ -11419,6 +11530,26 @@
11419
11530
  * @returns {Promise<ABTNodeClient.ResponseTag>} Checkout {@link ABTNodeClient.ResponseTag} for resolved data format
11420
11531
  */
11421
11532
 
11533
+ /**
11534
+ * createTagging
11535
+ *
11536
+ * @name ABTNodeClient#createTagging
11537
+ * @param {ABTNodeClient.CreateTaggingParams} params
11538
+ * @function
11539
+ * @memberof ABTNodeClient
11540
+ * @returns {Promise<ABTNodeClient.ResponseTagging>} Checkout {@link ABTNodeClient.ResponseTagging} for resolved data format
11541
+ */
11542
+
11543
+ /**
11544
+ * deleteTagging
11545
+ *
11546
+ * @name ABTNodeClient#deleteTagging
11547
+ * @param {ABTNodeClient.DeleteTaggingParams} params
11548
+ * @function
11549
+ * @memberof ABTNodeClient
11550
+ * @returns {Promise<ABTNodeClient.ResponseTagging>} Checkout {@link ABTNodeClient.ResponseTagging} for resolved data format
11551
+ */
11552
+
11422
11553
  /**
11423
11554
  * readNotifications
11424
11555
  *