@shaxpir/duiduidui-models 1.36.0 → 1.36.1

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.
@@ -3,7 +3,7 @@ import { ShareSync } from '../repo';
3
3
  import { ContentId } from "./Content";
4
4
  import { Metric } from './Metric';
5
5
  export declare enum UsageName {
6
- AI_TOKENS = "ai_tokens"
6
+ CHAT_AI_TOKENS = "chat_ai_tokens"
7
7
  }
8
8
  export declare class Usage extends Metric {
9
9
  static makeUsageId(userId: ContentId, usageName: UsageName): ContentId;
@@ -7,7 +7,7 @@ const ContentKind_1 = require("./ContentKind");
7
7
  const Metric_1 = require("./Metric");
8
8
  var UsageName;
9
9
  (function (UsageName) {
10
- UsageName["AI_TOKENS"] = "ai_tokens";
10
+ UsageName["CHAT_AI_TOKENS"] = "chat_ai_tokens";
11
11
  })(UsageName || (exports.UsageName = UsageName = {}));
12
12
  class Usage extends Metric_1.Metric {
13
13
  static makeUsageId(userId, usageName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shaxpir/duiduidui-models",
3
- "version": "1.36.0",
3
+ "version": "1.36.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/shaxpir/duiduidui-models"