@eventcatalog/core 3.26.7 → 3.26.9
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/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-QU7VBI7O.js → chunk-7BSZQI3M.js} +1 -1
- package/dist/{chunk-QOKBVPDA.js → chunk-7CRQXVYN.js} +1 -1
- package/dist/{chunk-C7P46YYR.js → chunk-NL4AAHR6.js} +1 -1
- package/dist/{chunk-WA7DUXXY.js → chunk-U6H6DNUN.js} +1 -1
- package/dist/{chunk-MZ3EFCJ3.js → chunk-XRWNLEVD.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +4 -4
- package/dist/eventcatalog.js +8 -8
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/auth.config.ts +1 -0
- package/eventcatalog/src/components/Header.astro +6 -1
- package/eventcatalog/src/enterprise/fields/field-indexer.ts +3 -3
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-7CRQXVYN.js";
|
|
4
|
+
import "../chunk-XRWNLEVD.js";
|
|
5
5
|
import "../chunk-4UVFXLPI.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-U6H6DNUN.js";
|
|
7
7
|
import "../chunk-5T63CXKU.js";
|
|
8
8
|
export {
|
|
9
9
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
|
@@ -114,7 +114,7 @@ var verifyRequiredFieldsAreInCatalogConfigFile = async (projectDirectory) => {
|
|
|
114
114
|
var import_picocolors = __toESM(require("picocolors"), 1);
|
|
115
115
|
|
|
116
116
|
// package.json
|
|
117
|
-
var version = "3.26.
|
|
117
|
+
var version = "3.26.9";
|
|
118
118
|
|
|
119
119
|
// src/constants.ts
|
|
120
120
|
var VERSION = version;
|
|
@@ -1174,9 +1174,9 @@ async function buildFieldsIndex(catalogDir, outputDir) {
|
|
|
1174
1174
|
sdk.getQueries({ latestOnly: true })
|
|
1175
1175
|
]);
|
|
1176
1176
|
const collections = [
|
|
1177
|
-
{ entries: events, type: "event" },
|
|
1178
|
-
{ entries: commands, type: "command" },
|
|
1179
|
-
{ entries: queries, type: "query" }
|
|
1177
|
+
{ entries: events || [], type: "event" },
|
|
1178
|
+
{ entries: commands || [], type: "command" },
|
|
1179
|
+
{ entries: queries || [], type: "query" }
|
|
1180
1180
|
];
|
|
1181
1181
|
for (const { entries, type } of collections) {
|
|
1182
1182
|
for (const entry of entries) {
|
package/dist/eventcatalog.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
} from "./chunk-PLNJC7NZ.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-7CRQXVYN.js";
|
|
10
|
+
import "./chunk-XRWNLEVD.js";
|
|
11
11
|
import "./chunk-4UVFXLPI.js";
|
|
12
12
|
import {
|
|
13
13
|
runMigrations
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./chunk-3KXCGYET.js";
|
|
23
23
|
import {
|
|
24
24
|
generate
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7BSZQI3M.js";
|
|
26
26
|
import {
|
|
27
27
|
logger
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NL4AAHR6.js";
|
|
29
29
|
import {
|
|
30
30
|
VERSION
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U6H6DNUN.js";
|
|
32
32
|
import {
|
|
33
33
|
getEventCatalogConfigFile,
|
|
34
34
|
verifyRequiredFieldsAreInCatalogConfigFile
|
|
@@ -521,9 +521,9 @@ async function buildFieldsIndex(catalogDir, outputDir) {
|
|
|
521
521
|
sdk.getQueries({ latestOnly: true })
|
|
522
522
|
]);
|
|
523
523
|
const collections = [
|
|
524
|
-
{ entries: events, type: "event" },
|
|
525
|
-
{ entries: commands, type: "command" },
|
|
526
|
-
{ entries: queries, type: "query" }
|
|
524
|
+
{ entries: events || [], type: "event" },
|
|
525
|
+
{ entries: commands || [], type: "command" },
|
|
526
|
+
{ entries: queries || [], type: "query" }
|
|
527
527
|
];
|
|
528
528
|
for (const { entries, type } of collections) {
|
|
529
529
|
for (const entry of entries) {
|
package/dist/generate.cjs
CHANGED
package/dist/generate.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generate
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7BSZQI3M.js";
|
|
4
|
+
import "./chunk-NL4AAHR6.js";
|
|
5
|
+
import "./chunk-U6H6DNUN.js";
|
|
6
6
|
import "./chunk-5T63CXKU.js";
|
|
7
7
|
export {
|
|
8
8
|
generate
|
package/dist/utils/cli-logger.js
CHANGED
|
@@ -124,6 +124,7 @@ const getAuthConfig = async () => {
|
|
|
124
124
|
const providers = await getAuthProviders();
|
|
125
125
|
|
|
126
126
|
return {
|
|
127
|
+
trustHost: true,
|
|
127
128
|
providers,
|
|
128
129
|
callbacks: {
|
|
129
130
|
async signIn({ user, account, profile }: { user: User; account: Account | null; profile?: Profile }) {
|
|
@@ -256,7 +256,12 @@ const repositoryUrl = catalog?.repositoryUrl || 'https://github.com/event-catalo
|
|
|
256
256
|
});
|
|
257
257
|
|
|
258
258
|
document.getElementById('signout-btn')?.addEventListener('click', async () => {
|
|
259
|
-
|
|
259
|
+
try {
|
|
260
|
+
await signOut();
|
|
261
|
+
} catch (error) {
|
|
262
|
+
console.error('Sign out failed:', error);
|
|
263
|
+
alert('Sign out failed. Please check your AUTH_TRUST_HOST configuration if running behind a reverse proxy.');
|
|
264
|
+
}
|
|
260
265
|
});
|
|
261
266
|
}
|
|
262
267
|
}
|
|
@@ -47,9 +47,9 @@ export async function buildFieldsIndex(catalogDir: string, outputDir?: string):
|
|
|
47
47
|
]);
|
|
48
48
|
|
|
49
49
|
const collections = [
|
|
50
|
-
{ entries: events, type: 'event' as const },
|
|
51
|
-
{ entries: commands, type: 'command' as const },
|
|
52
|
-
{ entries: queries, type: 'query' as const },
|
|
50
|
+
{ entries: events || [], type: 'event' as const },
|
|
51
|
+
{ entries: commands || [], type: 'command' as const },
|
|
52
|
+
{ entries: queries || [], type: 'query' as const },
|
|
53
53
|
];
|
|
54
54
|
|
|
55
55
|
for (const { entries, type } of collections) {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/event-catalog/eventcatalog.git"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
-
"version": "3.26.
|
|
9
|
+
"version": "3.26.9",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
"update-notifier": "^7.3.1",
|
|
103
103
|
"uuid": "^10.0.0",
|
|
104
104
|
"zod": "^4.3.6",
|
|
105
|
-
"@eventcatalog/sdk": "2.18.2",
|
|
106
105
|
"@eventcatalog/linter": "1.0.17",
|
|
106
|
+
"@eventcatalog/sdk": "2.18.2",
|
|
107
107
|
"@eventcatalog/visualiser": "^3.16.1"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|