@meridianjs/types 0.1.3 → 0.1.5
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 +12 -1
- package/dist/index.d.ts +12 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -38,6 +38,8 @@ interface ProjectConfig {
|
|
|
38
38
|
origin: string | string[];
|
|
39
39
|
credentials?: boolean;
|
|
40
40
|
};
|
|
41
|
+
/** Max levels of child issue nesting. Default: 1 (children allowed, grandchildren not). */
|
|
42
|
+
maxChildIssueDepth?: number;
|
|
41
43
|
}
|
|
42
44
|
interface MeridianConfig {
|
|
43
45
|
projectConfig: ProjectConfig;
|
|
@@ -178,6 +180,15 @@ interface IStorageProvider {
|
|
|
178
180
|
/** Delete a file by its public URL or storage key. */
|
|
179
181
|
delete(urlOrKey: string): Promise<void>;
|
|
180
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
|
+
}
|
|
181
192
|
interface PluginRegistrationContext {
|
|
182
193
|
container: MeridianContainer;
|
|
183
194
|
pluginOptions: Record<string, unknown>;
|
|
@@ -185,4 +196,4 @@ interface PluginRegistrationContext {
|
|
|
185
196
|
}
|
|
186
197
|
type PluginRegisterFn = (ctx: PluginRegistrationContext) => Promise<void>;
|
|
187
198
|
|
|
188
|
-
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
|
@@ -38,6 +38,8 @@ interface ProjectConfig {
|
|
|
38
38
|
origin: string | string[];
|
|
39
39
|
credentials?: boolean;
|
|
40
40
|
};
|
|
41
|
+
/** Max levels of child issue nesting. Default: 1 (children allowed, grandchildren not). */
|
|
42
|
+
maxChildIssueDepth?: number;
|
|
41
43
|
}
|
|
42
44
|
interface MeridianConfig {
|
|
43
45
|
projectConfig: ProjectConfig;
|
|
@@ -178,6 +180,15 @@ interface IStorageProvider {
|
|
|
178
180
|
/** Delete a file by its public URL or storage key. */
|
|
179
181
|
delete(urlOrKey: string): Promise<void>;
|
|
180
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
|
+
}
|
|
181
192
|
interface PluginRegistrationContext {
|
|
182
193
|
container: MeridianContainer;
|
|
183
194
|
pluginOptions: Record<string, unknown>;
|
|
@@ -185,4 +196,4 @@ interface PluginRegistrationContext {
|
|
|
185
196
|
}
|
|
186
197
|
type PluginRegisterFn = (ctx: PluginRegistrationContext) => Promise<void>;
|
|
187
198
|
|
|
188
|
-
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 };
|