alepha 0.11.3 → 0.11.4

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 (52) hide show
  1. package/api/files.d.ts +1 -439
  2. package/api/jobs.d.ts +1 -218
  3. package/api/notifications.d.ts +1 -264
  4. package/api/users.d.ts +1 -924
  5. package/batch.d.ts +1 -585
  6. package/bucket.d.ts +1 -507
  7. package/cache/redis.d.ts +1 -40
  8. package/cache.d.ts +1 -288
  9. package/command.d.ts +1 -238
  10. package/core.d.ts +1 -1564
  11. package/datetime.d.ts +2 -1
  12. package/devtools.d.ts +1 -368
  13. package/email.d.ts +1 -144
  14. package/fake.cjs +8 -0
  15. package/fake.d.ts +1 -0
  16. package/fake.js +1 -0
  17. package/file.d.ts +1 -53
  18. package/lock/redis.d.ts +1 -24
  19. package/lock.d.ts +1 -552
  20. package/logger.d.ts +1 -284
  21. package/package.json +63 -49
  22. package/postgres.d.ts +1 -1931
  23. package/queue/redis.d.ts +1 -29
  24. package/queue.d.ts +1 -760
  25. package/react/auth.d.ts +1 -499
  26. package/react/form.d.ts +1 -188
  27. package/react/head.d.ts +1 -120
  28. package/react/i18n.d.ts +1 -143
  29. package/react.d.ts +1 -929
  30. package/redis.d.ts +1 -82
  31. package/scheduler.d.ts +1 -145
  32. package/security.d.ts +1 -586
  33. package/server/cache.d.ts +1 -163
  34. package/server/compress.d.ts +1 -32
  35. package/server/cookies.d.ts +1 -144
  36. package/server/cors.d.ts +1 -27
  37. package/server/health.d.ts +1 -59
  38. package/server/helmet.d.ts +1 -69
  39. package/server/links.d.ts +1 -316
  40. package/server/metrics.d.ts +1 -35
  41. package/server/multipart.d.ts +1 -42
  42. package/server/proxy.d.ts +1 -234
  43. package/server/security.d.ts +1 -87
  44. package/server/static.d.ts +1 -119
  45. package/server/swagger.d.ts +1 -148
  46. package/server.d.ts +1 -849
  47. package/topic/redis.d.ts +1 -42
  48. package/topic.d.ts +1 -819
  49. package/ui.cjs +8 -0
  50. package/ui.d.ts +1 -0
  51. package/ui.js +1 -0
  52. package/vite.d.ts +1 -197
package/topic/redis.d.ts CHANGED
@@ -1,42 +1 @@
1
- import * as _alepha_core1 from "alepha";
2
- import { Alepha } from "alepha";
3
- import { SubscribeCallback, TopicProvider, UnSubscribeFn } from "alepha/topic";
4
- import * as _alepha_logger0 from "alepha/logger";
5
- import { RedisProvider, RedisSubscriberProvider } from "alepha/redis";
6
-
7
- //#region src/providers/RedisTopicProvider.d.ts
8
- declare class RedisTopicProvider extends TopicProvider {
9
- protected readonly env: {
10
- REDIS_TOPIC_PREFIX: string;
11
- };
12
- protected readonly alepha: Alepha;
13
- protected readonly redisProvider: RedisProvider;
14
- protected readonly redisSubscriberProvider: RedisSubscriberProvider;
15
- protected readonly log: _alepha_logger0.Logger;
16
- protected readonly start: _alepha_core1.HookDescriptor<"start">;
17
- prefix(queue: string): string;
18
- /**
19
- * Publish a message to a topic.
20
- */
21
- publish(topic: string, message: string): Promise<void>;
22
- /**
23
- * Subscribe to a topic.
24
- */
25
- subscribe(name: string, callback: SubscribeCallback): Promise<UnSubscribeFn>;
26
- /**
27
- * Unsubscribe from a topic.
28
- */
29
- unsubscribe(name: string, callback?: SubscribeCallback): Promise<void>;
30
- }
31
- //#endregion
32
- //#region src/index.d.ts
33
- /**
34
- * Plugin for Alepha Topic that provides Redis pub/sub capabilities.
35
- *
36
- * @see {@link RedisTopicProvider}
37
- * @module alepha.topic.redis
38
- */
39
- declare const AlephaTopicRedis: _alepha_core1.Service<_alepha_core1.Module<{}>>;
40
- //#endregion
41
- export { AlephaTopicRedis, RedisTopicProvider };
42
- //# sourceMappingURL=index.d.ts.map
1
+ export * from '@alepha/topic-redis';