@eventcatalog/generator-asyncapi 4.4.1 → 4.5.1

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
@@ -74,6 +74,19 @@ declare const optionsSchema: z.ZodObject<{
74
74
  }, ...args: unknown[]) => string) | undefined;
75
75
  }>, "many">;
76
76
  messages: z.ZodOptional<z.ZodObject<{
77
+ id: z.ZodOptional<z.ZodObject<{
78
+ prefix: z.ZodOptional<z.ZodString>;
79
+ separator: z.ZodOptional<z.ZodString>;
80
+ prefixWithServiceId: z.ZodOptional<z.ZodBoolean>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ prefix?: string | undefined;
83
+ separator?: string | undefined;
84
+ prefixWithServiceId?: boolean | undefined;
85
+ }, {
86
+ prefix?: string | undefined;
87
+ separator?: string | undefined;
88
+ prefixWithServiceId?: boolean | undefined;
89
+ }>>;
77
90
  generateMarkdown: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
78
91
  message: z.ZodAny;
79
92
  document: z.ZodAny;
@@ -88,12 +101,22 @@ declare const optionsSchema: z.ZodObject<{
88
101
  markdown?: string | undefined;
89
102
  }>], z.ZodUnknown>, z.ZodString>>;
90
103
  }, "strip", z.ZodTypeAny, {
104
+ id?: {
105
+ prefix?: string | undefined;
106
+ separator?: string | undefined;
107
+ prefixWithServiceId?: boolean | undefined;
108
+ } | undefined;
91
109
  generateMarkdown?: ((args_0: {
92
110
  message?: any;
93
111
  document?: any;
94
112
  markdown?: string | undefined;
95
113
  }, ...args: unknown[]) => string) | undefined;
96
114
  }, {
115
+ id?: {
116
+ prefix?: string | undefined;
117
+ separator?: string | undefined;
118
+ prefixWithServiceId?: boolean | undefined;
119
+ } | undefined;
97
120
  generateMarkdown?: ((args_0: {
98
121
  message?: any;
99
122
  document?: any;
@@ -189,6 +212,11 @@ declare const optionsSchema: z.ZodObject<{
189
212
  licenseKey?: string | undefined;
190
213
  writeFilesToRoot?: boolean | undefined;
191
214
  messages?: {
215
+ id?: {
216
+ prefix?: string | undefined;
217
+ separator?: string | undefined;
218
+ prefixWithServiceId?: boolean | undefined;
219
+ } | undefined;
192
220
  generateMarkdown?: ((args_0: {
193
221
  message?: any;
194
222
  document?: any;
@@ -234,6 +262,11 @@ declare const optionsSchema: z.ZodObject<{
234
262
  licenseKey?: string | undefined;
235
263
  writeFilesToRoot?: boolean | undefined;
236
264
  messages?: {
265
+ id?: {
266
+ prefix?: string | undefined;
267
+ separator?: string | undefined;
268
+ prefixWithServiceId?: boolean | undefined;
269
+ } | undefined;
237
270
  generateMarkdown?: ((args_0: {
238
271
  message?: any;
239
272
  document?: any;
package/dist/index.d.ts CHANGED
@@ -74,6 +74,19 @@ declare const optionsSchema: z.ZodObject<{
74
74
  }, ...args: unknown[]) => string) | undefined;
75
75
  }>, "many">;
76
76
  messages: z.ZodOptional<z.ZodObject<{
77
+ id: z.ZodOptional<z.ZodObject<{
78
+ prefix: z.ZodOptional<z.ZodString>;
79
+ separator: z.ZodOptional<z.ZodString>;
80
+ prefixWithServiceId: z.ZodOptional<z.ZodBoolean>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ prefix?: string | undefined;
83
+ separator?: string | undefined;
84
+ prefixWithServiceId?: boolean | undefined;
85
+ }, {
86
+ prefix?: string | undefined;
87
+ separator?: string | undefined;
88
+ prefixWithServiceId?: boolean | undefined;
89
+ }>>;
77
90
  generateMarkdown: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
78
91
  message: z.ZodAny;
79
92
  document: z.ZodAny;
@@ -88,12 +101,22 @@ declare const optionsSchema: z.ZodObject<{
88
101
  markdown?: string | undefined;
89
102
  }>], z.ZodUnknown>, z.ZodString>>;
90
103
  }, "strip", z.ZodTypeAny, {
104
+ id?: {
105
+ prefix?: string | undefined;
106
+ separator?: string | undefined;
107
+ prefixWithServiceId?: boolean | undefined;
108
+ } | undefined;
91
109
  generateMarkdown?: ((args_0: {
92
110
  message?: any;
93
111
  document?: any;
94
112
  markdown?: string | undefined;
95
113
  }, ...args: unknown[]) => string) | undefined;
96
114
  }, {
115
+ id?: {
116
+ prefix?: string | undefined;
117
+ separator?: string | undefined;
118
+ prefixWithServiceId?: boolean | undefined;
119
+ } | undefined;
97
120
  generateMarkdown?: ((args_0: {
98
121
  message?: any;
99
122
  document?: any;
@@ -189,6 +212,11 @@ declare const optionsSchema: z.ZodObject<{
189
212
  licenseKey?: string | undefined;
190
213
  writeFilesToRoot?: boolean | undefined;
191
214
  messages?: {
215
+ id?: {
216
+ prefix?: string | undefined;
217
+ separator?: string | undefined;
218
+ prefixWithServiceId?: boolean | undefined;
219
+ } | undefined;
192
220
  generateMarkdown?: ((args_0: {
193
221
  message?: any;
194
222
  document?: any;
@@ -234,6 +262,11 @@ declare const optionsSchema: z.ZodObject<{
234
262
  licenseKey?: string | undefined;
235
263
  writeFilesToRoot?: boolean | undefined;
236
264
  messages?: {
265
+ id?: {
266
+ prefix?: string | undefined;
267
+ separator?: string | undefined;
268
+ prefixWithServiceId?: boolean | undefined;
269
+ } | undefined;
237
270
  generateMarkdown?: ((args_0: {
238
271
  message?: any;
239
272
  document?: any;