@hasna/domains 0.0.27 → 0.0.28

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.
Files changed (55) hide show
  1. package/README.md +28 -0
  2. package/dist/cli/commands/brandsight.d.ts.map +1 -1
  3. package/dist/cli/commands/db.d.ts +7 -0
  4. package/dist/cli/commands/db.d.ts.map +1 -0
  5. package/dist/cli/commands/dns.d.ts.map +1 -1
  6. package/dist/cli/commands/domain.d.ts.map +1 -1
  7. package/dist/cli/commands/history.d.ts.map +1 -1
  8. package/dist/cli/commands/monitor.d.ts.map +1 -1
  9. package/dist/cli/commands/owner.d.ts.map +1 -1
  10. package/dist/cli/commands/research.d.ts.map +1 -1
  11. package/dist/cli/commands/route53.d.ts.map +1 -1
  12. package/dist/cli/commands/sedo.d.ts.map +1 -1
  13. package/dist/cli/commands/ssl.d.ts.map +1 -1
  14. package/dist/cli/commands/storage.d.ts.map +1 -1
  15. package/dist/cli/commands/wallet.d.ts.map +1 -1
  16. package/dist/cli/commands/zone.d.ts.map +1 -1
  17. package/dist/cli/index.js +33412 -18337
  18. package/dist/generated/storage-kit/health.d.ts +20 -0
  19. package/dist/generated/storage-kit/health.d.ts.map +1 -0
  20. package/dist/generated/storage-kit/index.d.ts +8 -0
  21. package/dist/generated/storage-kit/index.d.ts.map +1 -0
  22. package/dist/generated/storage-kit/migrations.d.ts +48 -0
  23. package/dist/generated/storage-kit/migrations.d.ts.map +1 -0
  24. package/dist/generated/storage-kit/mode.d.ts +48 -0
  25. package/dist/generated/storage-kit/mode.d.ts.map +1 -0
  26. package/dist/generated/storage-kit/pool.d.ts +34 -0
  27. package/dist/generated/storage-kit/pool.d.ts.map +1 -0
  28. package/dist/generated/storage-kit/query.d.ts +36 -0
  29. package/dist/generated/storage-kit/query.d.ts.map +1 -0
  30. package/dist/generated/storage-kit/tls.d.ts +26 -0
  31. package/dist/generated/storage-kit/tls.d.ts.map +1 -0
  32. package/dist/index.js +34299 -19874
  33. package/dist/lib/compact-output.d.ts +31 -0
  34. package/dist/lib/compact-output.d.ts.map +1 -0
  35. package/dist/mcp/index.d.ts.map +1 -1
  36. package/dist/mcp/index.js +23163 -3582
  37. package/dist/mcp/storage-tools.d.ts.map +1 -1
  38. package/dist/sdk/client.d.ts +198 -0
  39. package/dist/sdk/client.d.ts.map +1 -0
  40. package/dist/sdk/index.d.ts +14 -0
  41. package/dist/sdk/index.d.ts.map +1 -0
  42. package/dist/sdk/index.js +176 -0
  43. package/dist/server/app.d.ts +33 -0
  44. package/dist/server/app.d.ts.map +1 -0
  45. package/dist/server/index.d.ts +19 -0
  46. package/dist/server/index.d.ts.map +1 -0
  47. package/dist/server/index.js +1384 -0
  48. package/dist/server/migrations.d.ts +22 -0
  49. package/dist/server/migrations.d.ts.map +1 -0
  50. package/dist/server/openapi.d.ts +25 -0
  51. package/dist/server/openapi.d.ts.map +1 -0
  52. package/dist/server/repo.d.ts +44 -0
  53. package/dist/server/repo.d.ts.map +1 -0
  54. package/dist/storage.js +2 -4868
  55. package/package.json +13 -4
@@ -0,0 +1,31 @@
1
+ export declare const DEFAULT_LIST_LIMIT = 20;
2
+ export declare const DEFAULT_DETAIL_LIMIT = 5;
3
+ export declare const MAX_LIST_LIMIT = 200;
4
+ export interface Page<T> {
5
+ items: T[];
6
+ total: number;
7
+ shown: number;
8
+ limit: number;
9
+ offset: number;
10
+ hasMore: boolean;
11
+ }
12
+ export declare function parseLimit(value: string | number | undefined, fallback?: number): number;
13
+ export declare function parseOffset(value: string | number | undefined): number;
14
+ export declare function pageItems<T>(items: T[], options?: {
15
+ limit?: string | number;
16
+ offset?: string | number;
17
+ all?: boolean;
18
+ fallbackLimit?: number;
19
+ }): Page<T>;
20
+ export declare function pageItemsOrExit<T>(items: T[], options?: {
21
+ limit?: string | number;
22
+ offset?: string | number;
23
+ all?: boolean;
24
+ fallbackLimit?: number;
25
+ }): Page<T>;
26
+ export declare function truncateText(value: unknown, max?: number): string;
27
+ export declare function formatDate(value: string | null | undefined): string;
28
+ export declare function compactHint(page: Pick<Page<unknown>, "shown" | "total" | "limit" | "offset" | "hasMore">, noun: string, detailHint: string, options?: {
29
+ paging?: "offset" | "limit" | "none";
30
+ }): string;
31
+ //# sourceMappingURL=compact-output.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compact-output.d.ts","sourceRoot":"","sources":["../../src/lib/compact-output.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,oBAAoB,IAAI,CAAC;AACtC,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,MAAM,WAAW,IAAI,CAAC,CAAC;IACrB,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAAE,QAAQ,SAAqB,GAAG,MAAM,CAOpG;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAOtE;AAED,wBAAgB,SAAS,CAAC,CAAC,EACzB,KAAK,EAAE,CAAC,EAAE,EACV,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAO,GACzG,IAAI,CAAC,CAAC,CAAC,CAYT;AAED,wBAAgB,eAAe,CAAC,CAAC,EAC/B,KAAK,EAAE,CAAC,EAAE,EACV,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAO,GACzG,IAAI,CAAC,CAAC,CAAC,CAOT;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,SAAK,GAAG,MAAM,CAI7D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAGnE;AAED,wBAAgB,WAAW,CACzB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC,EAC7E,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,GAAE;IAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CAAO,GACrD,MAAM,CAYR"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoGpE,wBAAgB,WAAW,IAAI,SAAS,CA4/CvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mcp/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAkWpE,wBAAgB,WAAW,IAAI,SAAS,CAihDvC"}