@meridianjs/types 0.1.4 → 0.1.6

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/index.d.mts CHANGED
@@ -180,6 +180,15 @@ interface IStorageProvider {
180
180
  /** Delete a file by its public URL or storage key. */
181
181
  delete(urlOrKey: string): Promise<void>;
182
182
  }
183
+ interface EmailSendOptions {
184
+ to: string;
185
+ subject: string;
186
+ html?: string;
187
+ text?: string;
188
+ }
189
+ interface IEmailService {
190
+ send(options: EmailSendOptions): Promise<void>;
191
+ }
183
192
  interface PluginRegistrationContext {
184
193
  container: MeridianContainer;
185
194
  pluginOptions: Record<string, unknown>;
@@ -187,4 +196,4 @@ interface PluginRegistrationContext {
187
196
  }
188
197
  type PluginRegisterFn = (ctx: PluginRegistrationContext) => Promise<void>;
189
198
 
190
- export type { AdminConfig, AuthenticatedUser, EventMessage, IEventBus, ILogger, IModuleService, IQuery, IScheduler, IStorageProvider, IssuePriority, IssueStatus, IssueType, LinkDefinition, LinkEndpoint, LinkableConfig, LinkableEntry, LoaderFn, LoaderOptions, MeridianConfig, MeridianContainer, MeridianRequestBase, ModuleConfig, ModuleDefinition, NotificationChannel, PluginConfig, PluginRegisterFn, PluginRegistrationContext, ProjectConfig, ProjectStatus, ProjectVisibility, QueryGraphOptions, ScheduledJobConfig, ScheduledJobFn, SprintStatus, StepConfig, StepContext, SubscriberArgs, SubscriberConfig, SubscriberFn, TeamRole, WorkerMode, WorkflowConfig, WorkspacePlan };
199
+ export type { AdminConfig, AuthenticatedUser, EmailSendOptions, EventMessage, IEmailService, IEventBus, ILogger, IModuleService, IQuery, IScheduler, IStorageProvider, IssuePriority, IssueStatus, IssueType, LinkDefinition, LinkEndpoint, LinkableConfig, LinkableEntry, LoaderFn, LoaderOptions, MeridianConfig, MeridianContainer, MeridianRequestBase, ModuleConfig, ModuleDefinition, NotificationChannel, PluginConfig, PluginRegisterFn, PluginRegistrationContext, ProjectConfig, ProjectStatus, ProjectVisibility, QueryGraphOptions, ScheduledJobConfig, ScheduledJobFn, SprintStatus, StepConfig, StepContext, SubscriberArgs, SubscriberConfig, SubscriberFn, TeamRole, WorkerMode, WorkflowConfig, WorkspacePlan };
package/dist/index.d.ts CHANGED
@@ -180,6 +180,15 @@ interface IStorageProvider {
180
180
  /** Delete a file by its public URL or storage key. */
181
181
  delete(urlOrKey: string): Promise<void>;
182
182
  }
183
+ interface EmailSendOptions {
184
+ to: string;
185
+ subject: string;
186
+ html?: string;
187
+ text?: string;
188
+ }
189
+ interface IEmailService {
190
+ send(options: EmailSendOptions): Promise<void>;
191
+ }
183
192
  interface PluginRegistrationContext {
184
193
  container: MeridianContainer;
185
194
  pluginOptions: Record<string, unknown>;
@@ -187,4 +196,4 @@ interface PluginRegistrationContext {
187
196
  }
188
197
  type PluginRegisterFn = (ctx: PluginRegistrationContext) => Promise<void>;
189
198
 
190
- export type { AdminConfig, AuthenticatedUser, EventMessage, IEventBus, ILogger, IModuleService, IQuery, IScheduler, IStorageProvider, IssuePriority, IssueStatus, IssueType, LinkDefinition, LinkEndpoint, LinkableConfig, LinkableEntry, LoaderFn, LoaderOptions, MeridianConfig, MeridianContainer, MeridianRequestBase, ModuleConfig, ModuleDefinition, NotificationChannel, PluginConfig, PluginRegisterFn, PluginRegistrationContext, ProjectConfig, ProjectStatus, ProjectVisibility, QueryGraphOptions, ScheduledJobConfig, ScheduledJobFn, SprintStatus, StepConfig, StepContext, SubscriberArgs, SubscriberConfig, SubscriberFn, TeamRole, WorkerMode, WorkflowConfig, WorkspacePlan };
199
+ export type { AdminConfig, AuthenticatedUser, EmailSendOptions, EventMessage, IEmailService, IEventBus, ILogger, IModuleService, IQuery, IScheduler, IStorageProvider, IssuePriority, IssueStatus, IssueType, LinkDefinition, LinkEndpoint, LinkableConfig, LinkableEntry, LoaderFn, LoaderOptions, MeridianConfig, MeridianContainer, MeridianRequestBase, ModuleConfig, ModuleDefinition, NotificationChannel, PluginConfig, PluginRegisterFn, PluginRegistrationContext, ProjectConfig, ProjectStatus, ProjectVisibility, QueryGraphOptions, ScheduledJobConfig, ScheduledJobFn, SprintStatus, StepConfig, StepContext, SubscriberArgs, SubscriberConfig, SubscriberFn, TeamRole, WorkerMode, WorkflowConfig, WorkspacePlan };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridianjs/types",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Shared TypeScript types and interfaces for Meridian",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",