@kevisual/api 0.0.50 → 0.0.51

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/dist/utils.d.ts CHANGED
@@ -1,6 +1,9 @@
1
+ import { createId } from '@paralleldrive/cuid2';
2
+
1
3
  declare const letter = "abcdefghijklmnopqrstuvwxyz";
2
4
  declare const number = "0123456789";
3
5
  declare const alphanumericWithDash = "abcdefghijklmnopqrstuvwxyz0123456789-";
6
+ declare const cuid2: typeof createId;
4
7
  /**
5
8
  * 创建一个随机的字母字符串
6
9
  */
@@ -30,4 +33,4 @@ declare const randomLetter: (number?: number, opts?: {
30
33
  after?: string;
31
34
  }) => string;
32
35
 
33
- export { alphanumericWithDash, letter, nanoid, nanoidWithDash, number, randomId, randomLetter, uuid };
36
+ export { alphanumericWithDash, cuid2, letter, nanoid, nanoidWithDash, number, randomId, randomLetter, uuid };