@meridianjs/types 1.19.0 → 1.20.0

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
@@ -27,6 +27,10 @@ interface LinkableConfig {
27
27
  };
28
28
  }
29
29
  type WorkerMode = "shared" | "worker" | "server";
30
+ interface RegistrationConfig {
31
+ enabled: boolean;
32
+ allowedDomains: string[];
33
+ }
30
34
  interface ProjectConfig {
31
35
  databaseUrl: string;
32
36
  redisUrl?: string;
@@ -40,6 +44,7 @@ interface ProjectConfig {
40
44
  };
41
45
  /** Max levels of child issue nesting. Default: 1 (children allowed, grandchildren not). */
42
46
  maxChildIssueDepth?: number;
47
+ registration?: RegistrationConfig;
43
48
  }
44
49
  interface MeridianConfig {
45
50
  projectConfig: ProjectConfig;
@@ -210,4 +215,4 @@ interface PluginRegistrationContext {
210
215
  }
211
216
  type PluginRegisterFn = (ctx: PluginRegistrationContext) => Promise<void>;
212
217
 
213
- export type { AdminConfig, AuthenticatedUser, EmailSendOptions, EmailTemplateOverride, EventMessage, IEmailService, IEmailTemplateService, 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 };
218
+ export type { AdminConfig, AuthenticatedUser, EmailSendOptions, EmailTemplateOverride, EventMessage, IEmailService, IEmailTemplateService, 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, RegistrationConfig, ScheduledJobConfig, ScheduledJobFn, SprintStatus, StepConfig, StepContext, SubscriberArgs, SubscriberConfig, SubscriberFn, TeamRole, WorkerMode, WorkflowConfig, WorkspacePlan };
package/dist/index.d.ts CHANGED
@@ -27,6 +27,10 @@ interface LinkableConfig {
27
27
  };
28
28
  }
29
29
  type WorkerMode = "shared" | "worker" | "server";
30
+ interface RegistrationConfig {
31
+ enabled: boolean;
32
+ allowedDomains: string[];
33
+ }
30
34
  interface ProjectConfig {
31
35
  databaseUrl: string;
32
36
  redisUrl?: string;
@@ -40,6 +44,7 @@ interface ProjectConfig {
40
44
  };
41
45
  /** Max levels of child issue nesting. Default: 1 (children allowed, grandchildren not). */
42
46
  maxChildIssueDepth?: number;
47
+ registration?: RegistrationConfig;
43
48
  }
44
49
  interface MeridianConfig {
45
50
  projectConfig: ProjectConfig;
@@ -210,4 +215,4 @@ interface PluginRegistrationContext {
210
215
  }
211
216
  type PluginRegisterFn = (ctx: PluginRegistrationContext) => Promise<void>;
212
217
 
213
- export type { AdminConfig, AuthenticatedUser, EmailSendOptions, EmailTemplateOverride, EventMessage, IEmailService, IEmailTemplateService, 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 };
218
+ export type { AdminConfig, AuthenticatedUser, EmailSendOptions, EmailTemplateOverride, EventMessage, IEmailService, IEmailTemplateService, 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, RegistrationConfig, 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": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "Shared TypeScript types and interfaces for Meridian",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",