diff --git a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/AssetGraphJobSidebar.types.ts b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/AssetGraphJobSidebar.types.ts
index 7dcfd49eedbcd..09f4cf5279706 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/AssetGraphJobSidebar.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/AssetGraphJobSidebar.types.ts
@@ -34,12 +34,15 @@ export type AssetGraphSidebarQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/SidebarAssetInfo.types.ts b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/SidebarAssetInfo.types.ts
index 915dec42be276..12cde5ee9b91f 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/SidebarAssetInfo.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/asset-graph/types/SidebarAssetInfo.types.ts
@@ -26,12 +26,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -785,12 +788,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2062,12 +2068,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3339,12 +3348,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4607,12 +4619,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5890,12 +5905,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7167,12 +7185,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8444,12 +8465,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9712,12 +9736,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -10995,12 +11022,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -12272,12 +12302,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -13549,12 +13582,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -14817,12 +14853,15 @@ export type SidebarAssetFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -16096,12 +16135,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -16874,12 +16916,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -18157,12 +18202,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -19440,12 +19488,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -20714,12 +20765,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -22002,12 +22056,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -23285,12 +23342,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -24568,12 +24628,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -25842,12 +25905,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -27130,12 +27196,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -28413,12 +28482,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -29696,12 +29768,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -30970,12 +31045,15 @@ export type SidebarAssetQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/AutoMaterializePolicyPage/types/GetEvaluationsQuery.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/AutoMaterializePolicyPage/types/GetEvaluationsQuery.types.ts
index 37be13a6dc0c1..06c0f4d150537 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/AutoMaterializePolicyPage/types/GetEvaluationsQuery.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/AutoMaterializePolicyPage/types/GetEvaluationsQuery.types.ts
@@ -35,12 +35,15 @@ export type SpecificPartitionAssetConditionEvaluationNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -187,12 +190,15 @@ export type UnpartitionedAssetConditionEvaluationNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -426,12 +432,15 @@ export type AssetConditionEvaluationRecordFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -597,12 +606,15 @@ export type AssetConditionEvaluationRecordFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -848,12 +860,15 @@ export type GetEvaluationsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1025,12 +1040,15 @@ export type GetEvaluationsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1257,12 +1275,15 @@ export type GetEvaluationsSpecificPartitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1428,12 +1449,15 @@ export type GetEvaluationsSpecificPartitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetCheckDetailModal.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetCheckDetailModal.types.ts
index 5966b94267933..b2841a2b9824e 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetCheckDetailModal.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetCheckDetailModal.types.ts
@@ -36,12 +36,15 @@ export type AssetCheckExecutionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -212,12 +215,15 @@ export type AssetCheckDetailsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetChecks.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetChecks.types.ts
index 65c76f1096f7c..bfc4cbe6ddcda 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetChecks.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/AssetChecks.types.ts
@@ -58,12 +58,15 @@ export type AssetChecksQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/VirtualizedAssetCheckTable.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/VirtualizedAssetCheckTable.types.ts
index c083de42131d1..b78d2738af970 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/VirtualizedAssetCheckTable.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/types/VirtualizedAssetCheckTable.types.ts
@@ -41,12 +41,15 @@ export type AssetCheckTableFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetMetadata.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetMetadata.types.ts
index 96da44b113ccf..582bfb672dc60 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetMetadata.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetMetadata.types.ts
@@ -22,12 +22,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -186,12 +189,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1463,12 +1469,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2740,12 +2749,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4008,12 +4020,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5291,12 +5306,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6568,12 +6586,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7845,12 +7866,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9113,12 +9137,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -10396,12 +10423,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -11673,12 +11703,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -12950,12 +12983,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -14218,12 +14254,15 @@ export type AssetNodeOpMetadataFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetNodeDefinition.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetNodeDefinition.types.ts
index cf9c6e98c463d..8d134bac348ab 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetNodeDefinition.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetNodeDefinition.types.ts
@@ -616,12 +616,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -780,12 +783,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2057,12 +2063,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3334,12 +3343,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4602,12 +4614,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5885,12 +5900,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7162,12 +7180,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8439,12 +8460,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9707,12 +9731,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -10990,12 +11017,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -12267,12 +12297,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -13544,12 +13577,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -14812,12 +14848,15 @@ export type AssetNodeDefinitionFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetPartitionDetail.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetPartitionDetail.types.ts
index 66c3a0eb7d422..97d9db9f364b8 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetPartitionDetail.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetPartitionDetail.types.ts
@@ -63,12 +63,15 @@ export type AssetPartitionDetailQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -257,12 +260,15 @@ export type AssetPartitionDetailQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetView.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetView.types.ts
index 092b3a9e6c33e..41a397839cf18 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetView.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/types/AssetView.types.ts
@@ -670,12 +670,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -854,12 +857,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2141,12 +2147,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3428,12 +3437,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4706,12 +4718,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5997,12 +6012,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7284,12 +7302,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8571,12 +8592,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9849,12 +9873,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -11140,12 +11167,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -12427,12 +12457,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -13714,12 +13747,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -14992,12 +15028,15 @@ export type AssetViewDefinitionQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -16898,12 +16937,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -17062,12 +17104,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -18339,12 +18384,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -19616,12 +19664,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -20884,12 +20935,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -22167,12 +22221,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -23444,12 +23501,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -24721,12 +24781,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -25989,12 +26052,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -27272,12 +27338,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -28549,12 +28618,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -29826,12 +29898,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -31094,12 +31169,15 @@ export type AssetViewDefinitionNodeFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/types/useLatestPartitionEvents.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/types/useLatestPartitionEvents.types.ts
index 5830f5cd90806..249a33591cd48 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/types/useLatestPartitionEvents.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/types/useLatestPartitionEvents.types.ts
@@ -33,12 +33,15 @@ export type AssetOverviewMetadataEventsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -200,12 +203,15 @@ export type AssetOverviewMetadataEventsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/types/useRecentAssetEvents.types.ts b/js_modules/dagster-ui/packages/ui-core/src/assets/types/useRecentAssetEvents.types.ts
index 3e947866dbae7..c4313d7425b40 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/types/useRecentAssetEvents.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/types/useRecentAssetEvents.types.ts
@@ -45,12 +45,15 @@ export type AssetMaterializationFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -220,12 +223,15 @@ export type AssetObservationFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -404,12 +410,15 @@ export type AssetEventsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -593,12 +602,15 @@ export type AssetEventsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/code-links/CodeLink.tsx b/js_modules/dagster-ui/packages/ui-core/src/code-links/CodeLink.tsx
index a84621e5a5aad..d26c6744d8869 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/code-links/CodeLink.tsx
+++ b/js_modules/dagster-ui/packages/ui-core/src/code-links/CodeLink.tsx
@@ -1,22 +1,72 @@
-import {Box, Menu, MenuItem, Popover} from '@dagster-io/ui-components';
+import {Box, Menu, MiddleTruncate, Popover, Tooltip} from '@dagster-io/ui-components';
import {Button, ExternalAnchorButton} from '@dagster-io/ui-components/src/components/Button';
-import {Icon} from '@dagster-io/ui-components/src/components/Icon';
+import {Icon, IconName} from '@dagster-io/ui-components/src/components/Icon';
import * as React from 'react';
import {CodeLinkProtocolContext, ProtocolData} from './CodeLinkProtocol';
+import {assertUnreachable} from '../app/Util';
import {CodeReferencesMetadataEntry, SourceLocation} from '../graphql/types';
+import {MenuLink} from '../ui/MenuLink';
-const getCodeReferenceEntryLabel = (codeReference: SourceLocation): string => {
- return codeReference.label || (codeReference.filePath.split('/').pop() as string);
+const getCodeReferenceIcon = (codeReference: SourceLocation): IconName => {
+ switch (codeReference.__typename) {
+ case 'LocalFileCodeReference':
+ return 'open_in_new';
+ case 'UrlCodeReference':
+ return codeReference.url.includes('github') ? 'github' : 'gitlab';
+ default:
+ assertUnreachable(codeReference);
+ }
+};
+
+const getCodeReferenceEntryLabel = (codeReference: SourceLocation): React.ReactElement => {
+ switch (codeReference.__typename) {
+ case 'LocalFileCodeReference':
+ const label = codeReference.label || (codeReference.filePath.split('/').pop() as string);
+ return (
+
+ Open in editor
+
+ );
+ case 'UrlCodeReference':
+ const labelOrUrl =
+ codeReference.label || (codeReference.url.split('/').pop()?.split('#')[0] as string);
+ const sourceControlName = codeReference.url.includes('github') ? 'GitHub' : 'GitLab';
+ return (
+
+ Open in {sourceControlName}
+
+ );
+ default:
+ assertUnreachable(codeReference);
+ }
};
const getCodeReferenceLink = (
codeLinkProtocol: ProtocolData,
codeReference: SourceLocation,
): string => {
- return codeLinkProtocol.protocol
- .replace('{FILE}', codeReference.filePath)
- .replace('{LINE}', codeReference.lineNumber.toString());
+ switch (codeReference.__typename) {
+ case 'LocalFileCodeReference':
+ return codeLinkProtocol.protocol
+ .replace('{FILE}', codeReference.filePath)
+ .replace('{LINE}', codeReference.lineNumber.toString());
+ case 'UrlCodeReference':
+ return codeReference.url;
+ default:
+ assertUnreachable(codeReference);
+ }
+};
+
+const getCodeReferenceKey = (codeReference: SourceLocation): string => {
+ switch (codeReference.__typename) {
+ case 'LocalFileCodeReference':
+ return `${codeReference.filePath}:${codeReference.lineNumber}`;
+ case 'UrlCodeReference':
+ return codeReference.url;
+ default:
+ assertUnreachable(codeReference);
+ }
};
export const CodeLink = ({codeLinkData}: {codeLinkData: CodeReferencesMetadataEntry}) => {
@@ -25,6 +75,7 @@ export const CodeLink = ({codeLinkData}: {codeLinkData: CodeReferencesMetadataEn
const sources = codeLinkData.codeReferences;
const hasMultipleCodeSources = sources.length > 1;
+ const firstSource = sources[0] as SourceLocation;
return (
@@ -34,28 +85,35 @@ export const CodeLink = ({codeLinkData}: {codeLinkData: CodeReferencesMetadataEn
content={
}
>
- }>Open in editor
+ }>Open source code
) : (
- }
- href={getCodeReferenceLink(codeLinkProtocol, sources[0] as SourceLocation)}
- >
- Open {getCodeReferenceEntryLabel(sources[0] as SourceLocation)} in editor
-
+
+ }
+ href={getCodeReferenceLink(codeLinkProtocol, firstSource)}
+ style={{maxWidth: 300}}
+ >
+ {getCodeReferenceEntryLabel(firstSource)}
+
+
)}
);
diff --git a/js_modules/dagster-ui/packages/ui-core/src/dagstertype/types/DagsterType.types.ts b/js_modules/dagster-ui/packages/ui-core/src/dagstertype/types/DagsterType.types.ts
index 58c24061517ad..b34a980d952d3 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/dagstertype/types/DagsterType.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/dagstertype/types/DagsterType.types.ts
@@ -40,12 +40,15 @@ export type DagsterTypeFragment_ListDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1312,12 +1315,15 @@ export type DagsterTypeFragment_ListDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2584,12 +2590,15 @@ export type DagsterTypeFragment_ListDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3847,12 +3856,15 @@ export type DagsterTypeFragment_ListDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5108,12 +5120,15 @@ export type DagsterTypeFragment_NullableDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6380,12 +6395,15 @@ export type DagsterTypeFragment_NullableDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7652,12 +7670,15 @@ export type DagsterTypeFragment_NullableDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8915,12 +8936,15 @@ export type DagsterTypeFragment_NullableDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -10176,12 +10200,15 @@ export type DagsterTypeFragment_RegularDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -11448,12 +11475,15 @@ export type DagsterTypeFragment_RegularDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -12720,12 +12750,15 @@ export type DagsterTypeFragment_RegularDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -13983,12 +14016,15 @@ export type DagsterTypeFragment_RegularDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -15238,12 +15274,15 @@ export type InnerDagsterTypeFragment_ListDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -16488,12 +16527,15 @@ export type InnerDagsterTypeFragment_NullableDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -17738,12 +17780,15 @@ export type InnerDagsterTypeFragment_RegularDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/graphql/possibleTypes.generated.json b/js_modules/dagster-ui/packages/ui-core/src/graphql/possibleTypes.generated.json
index e04059a39f29a..9cab82b99d4c6 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/graphql/possibleTypes.generated.json
+++ b/js_modules/dagster-ui/packages/ui-core/src/graphql/possibleTypes.generated.json
@@ -1 +1 @@
-{"DisplayableEvent":["EngineEvent","ExecutionStepOutputEvent","ExpectationResult","FailureMetadata","HandledOutputEvent","LoadedInputEvent","ObjectStoreOperationResult","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","MaterializationEvent","ObservationEvent","TypeCheck"],"MarkerEvent":["EngineEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","StepWorkerStartedEvent","StepWorkerStartingEvent"],"ErrorEvent":["EngineEvent","ExecutionStepFailureEvent","ExecutionStepUpForRetryEvent","HookErroredEvent","RunFailureEvent","ResourceInitFailureEvent"],"MessageEvent":["EngineEvent","ExecutionStepFailureEvent","ExecutionStepInputEvent","ExecutionStepOutputEvent","ExecutionStepRestartEvent","ExecutionStepSkippedEvent","ExecutionStepStartEvent","ExecutionStepSuccessEvent","ExecutionStepUpForRetryEvent","HandledOutputEvent","HookCompletedEvent","HookErroredEvent","HookSkippedEvent","LoadedInputEvent","LogMessageEvent","ObjectStoreOperationEvent","RunCanceledEvent","RunCancelingEvent","RunDequeuedEvent","RunEnqueuedEvent","RunFailureEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","RunStartEvent","RunStartingEvent","RunSuccessEvent","StepExpectationResultEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","MaterializationEvent","ObservationEvent","AssetMaterializationPlannedEvent","LogsCapturedEvent","AlertStartEvent","AlertSuccessEvent","AlertFailureEvent","AssetCheckEvaluationPlannedEvent","AssetCheckEvaluationEvent"],"RunEvent":["RunCanceledEvent","RunCancelingEvent","RunDequeuedEvent","RunEnqueuedEvent","RunFailureEvent","RunStartEvent","RunStartingEvent","RunSuccessEvent","AssetMaterializationPlannedEvent","AlertStartEvent","AlertSuccessEvent","AlertFailureEvent"],"PipelineRunStepStats":["RunStepStats"],"StepEvent":["EngineEvent","ExecutionStepFailureEvent","ExecutionStepInputEvent","ExecutionStepOutputEvent","ExecutionStepRestartEvent","ExecutionStepSkippedEvent","ExecutionStepStartEvent","ExecutionStepSuccessEvent","ExecutionStepUpForRetryEvent","HandledOutputEvent","HookCompletedEvent","HookErroredEvent","HookSkippedEvent","LoadedInputEvent","ObjectStoreOperationEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","StepExpectationResultEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","MaterializationEvent","ObservationEvent","AssetCheckEvaluationPlannedEvent","AssetCheckEvaluationEvent"],"AssetOwner":["UserAssetOwner","TeamAssetOwner"],"AssetPartitionStatuses":["DefaultPartitionStatuses","MultiPartitionStatuses","TimePartitionStatuses"],"PartitionStatus1D":["TimePartitionStatuses","DefaultPartitionStatuses"],"AssetChecksOrError":["AssetChecks","AssetCheckNeedsMigrationError","AssetCheckNeedsUserCodeUpgrade","AssetCheckNeedsAgentUpgradeError"],"Instigator":["Schedule","Sensor"],"EvaluationStackEntry":["EvaluationStackListItemEntry","EvaluationStackPathEntry","EvaluationStackMapKeyEntry","EvaluationStackMapValueEntry"],"IPipelineSnapshot":["Pipeline","PipelineSnapshot","Job"],"PipelineConfigValidationError":["FieldNotDefinedConfigError","FieldsNotDefinedConfigError","MissingFieldConfigError","MissingFieldsConfigError","RuntimeMismatchConfigError","SelectorTypeConfigError"],"PipelineConfigValidationInvalid":["RunConfigValidationInvalid"],"PipelineConfigValidationResult":["InvalidSubsetError","PipelineConfigValidationValid","RunConfigValidationInvalid","PipelineNotFoundError","PythonError"],"PipelineReference":["PipelineSnapshot","UnknownPipeline"],"PipelineRun":["Run"],"DagsterRunEvent":["ExecutionStepFailureEvent","ExecutionStepInputEvent","ExecutionStepOutputEvent","ExecutionStepSkippedEvent","ExecutionStepStartEvent","ExecutionStepSuccessEvent","ExecutionStepUpForRetryEvent","ExecutionStepRestartEvent","LogMessageEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","RunFailureEvent","RunStartEvent","RunEnqueuedEvent","RunDequeuedEvent","RunStartingEvent","RunCancelingEvent","RunCanceledEvent","RunSuccessEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","HandledOutputEvent","LoadedInputEvent","LogsCapturedEvent","ObjectStoreOperationEvent","StepExpectationResultEvent","MaterializationEvent","ObservationEvent","EngineEvent","HookCompletedEvent","HookSkippedEvent","HookErroredEvent","AlertStartEvent","AlertSuccessEvent","AlertFailureEvent","AssetMaterializationPlannedEvent","AssetCheckEvaluationPlannedEvent","AssetCheckEvaluationEvent"],"PipelineRunLogsSubscriptionPayload":["PipelineRunLogsSubscriptionSuccess","PipelineRunLogsSubscriptionFailure"],"RunOrError":["Run","RunNotFoundError","PythonError"],"PipelineRunStatsSnapshot":["RunStatsSnapshot"],"RunStatsSnapshotOrError":["RunStatsSnapshot","PythonError"],"PipelineSnapshotOrError":["PipelineNotFoundError","PipelineSnapshot","PipelineSnapshotNotFoundError","PythonError"],"AssetOrError":["Asset","AssetNotFoundError"],"AssetsOrError":["AssetConnection","PythonError"],"DeletePipelineRunResult":["DeletePipelineRunSuccess","UnauthorizedError","PythonError","RunNotFoundError"],"ExecutionPlanOrError":["ExecutionPlan","RunConfigValidationInvalid","PipelineNotFoundError","InvalidSubsetError","PythonError"],"PipelineOrError":["Pipeline","PipelineNotFoundError","InvalidSubsetError","PythonError"],"ReloadRepositoryLocationMutationResult":["WorkspaceLocationEntry","ReloadNotSupported","RepositoryLocationNotFound","UnauthorizedError","PythonError"],"RepositoryLocationOrLoadError":["RepositoryLocation","PythonError"],"ReloadWorkspaceMutationResult":["Workspace","UnauthorizedError","PythonError"],"ShutdownRepositoryLocationMutationResult":["ShutdownRepositoryLocationSuccess","RepositoryLocationNotFound","UnauthorizedError","PythonError"],"TerminatePipelineExecutionFailure":["TerminateRunFailure"],"TerminatePipelineExecutionSuccess":["TerminateRunSuccess"],"TerminateRunResult":["TerminateRunSuccess","TerminateRunFailure","RunNotFoundError","UnauthorizedError","PythonError"],"ScheduleMutationResult":["PythonError","UnauthorizedError","ScheduleStateResult"],"ScheduleOrError":["Schedule","ScheduleNotFoundError","PythonError"],"SchedulerOrError":["Scheduler","SchedulerNotDefinedError","PythonError"],"SchedulesOrError":["Schedules","RepositoryNotFoundError","PythonError"],"ScheduleTickSpecificData":["ScheduleTickSuccessData","ScheduleTickFailureData"],"LaunchBackfillResult":["LaunchBackfillSuccess","PartitionSetNotFoundError","InvalidStepError","InvalidOutputError","RunConfigValidationInvalid","PipelineNotFoundError","RunConflict","UnauthorizedError","PythonError","InvalidSubsetError","PresetNotFoundError","ConflictingExecutionParamsError","NoModeProvidedError"],"ConfigTypeOrError":["EnumConfigType","CompositeConfigType","RegularConfigType","PipelineNotFoundError","ConfigTypeNotFoundError","PythonError"],"ConfigType":["ArrayConfigType","CompositeConfigType","EnumConfigType","NullableConfigType","RegularConfigType","ScalarUnionConfigType","MapConfigType"],"WrappingConfigType":["ArrayConfigType","NullableConfigType"],"DagsterType":["ListDagsterType","NullableDagsterType","RegularDagsterType"],"DagsterTypeOrError":["RegularDagsterType","PipelineNotFoundError","DagsterTypeNotFoundError","PythonError"],"WrappingDagsterType":["ListDagsterType","NullableDagsterType"],"Error":["AssetCheckNeedsMigrationError","AssetCheckNeedsUserCodeUpgrade","AssetCheckNeedsAgentUpgradeError","AssetNotFoundError","ConflictingExecutionParamsError","ConfigTypeNotFoundError","DagsterTypeNotFoundError","InvalidPipelineRunsFilterError","InvalidSubsetError","ModeNotFoundError","NoModeProvidedError","PartitionSetNotFoundError","PipelineNotFoundError","RunConflict","PipelineSnapshotNotFoundError","PresetNotFoundError","PythonError","ErrorChainLink","UnauthorizedError","ReloadNotSupported","RepositoryLocationNotFound","RepositoryNotFoundError","ResourceNotFoundError","RunGroupNotFoundError","RunNotFoundError","ScheduleNotFoundError","SchedulerNotDefinedError","SensorNotFoundError","DuplicateDynamicPartitionError","InstigationStateNotFoundError","SolidStepStatusUnavailableError","GraphNotFoundError","BackfillNotFoundError","PartitionSubsetDeserializationError","AutoMaterializeAssetEvaluationNeedsMigrationError"],"PipelineRunConflict":["RunConflict"],"PipelineRunNotFoundError":["RunNotFoundError"],"RepositoriesOrError":["RepositoryConnection","RepositoryNotFoundError","PythonError"],"RepositoryOrError":["PythonError","Repository","RepositoryNotFoundError"],"WorkspaceLocationEntryOrError":["WorkspaceLocationEntry","PythonError"],"InstigationTypeSpecificData":["SensorData","ScheduleData"],"InstigationStateOrError":["InstigationState","InstigationStateNotFoundError","PythonError"],"InstigationStatesOrError":["InstigationStates","PythonError"],"MetadataEntry":["TableColumnLineageMetadataEntry","TableSchemaMetadataEntry","TableMetadataEntry","FloatMetadataEntry","IntMetadataEntry","JsonMetadataEntry","BoolMetadataEntry","MarkdownMetadataEntry","PathMetadataEntry","NotebookMetadataEntry","PythonArtifactMetadataEntry","TextMetadataEntry","UrlMetadataEntry","PipelineRunMetadataEntry","AssetMetadataEntry","JobMetadataEntry","CodeReferencesMetadataEntry","NullMetadataEntry","TimestampMetadataEntry"],"SourceLocation":["LocalFileCodeReference"],"PartitionRunConfigOrError":["PartitionRunConfig","PythonError"],"AssetBackfillStatus":["AssetPartitionsStatusCounts","UnpartitionedAssetStatus"],"PartitionSetOrError":["PartitionSet","PartitionSetNotFoundError","PythonError"],"PartitionSetsOrError":["PartitionSets","PipelineNotFoundError","PythonError"],"PartitionsOrError":["Partitions","PythonError"],"PartitionStatusesOrError":["PartitionStatuses","PythonError"],"PartitionTagsOrError":["PartitionTags","PythonError"],"RunConfigSchemaOrError":["RunConfigSchema","PipelineNotFoundError","InvalidSubsetError","ModeNotFoundError","PythonError"],"LaunchRunResult":["LaunchRunSuccess","InvalidStepError","InvalidOutputError","RunConfigValidationInvalid","PipelineNotFoundError","RunConflict","UnauthorizedError","PythonError","InvalidSubsetError","PresetNotFoundError","ConflictingExecutionParamsError","NoModeProvidedError"],"LaunchRunReexecutionResult":["LaunchRunSuccess","InvalidStepError","InvalidOutputError","RunConfigValidationInvalid","PipelineNotFoundError","RunConflict","UnauthorizedError","PythonError","InvalidSubsetError","PresetNotFoundError","ConflictingExecutionParamsError","NoModeProvidedError"],"LaunchPipelineRunSuccess":["LaunchRunSuccess"],"RunsOrError":["Runs","InvalidPipelineRunsFilterError","PythonError"],"PipelineRuns":["Runs"],"RunGroupOrError":["RunGroup","RunGroupNotFoundError","PythonError"],"SensorOrError":["Sensor","SensorNotFoundError","UnauthorizedError","PythonError"],"SensorsOrError":["Sensors","RepositoryNotFoundError","PythonError"],"StopSensorMutationResultOrError":["StopSensorMutationResult","UnauthorizedError","PythonError"],"ISolidDefinition":["CompositeSolidDefinition","SolidDefinition"],"SolidContainer":["Pipeline","PipelineSnapshot","Job","CompositeSolidDefinition","Graph"],"SolidStepStatsOrError":["SolidStepStatsConnection","SolidStepStatusUnavailableError"],"WorkspaceOrError":["Workspace","PythonError"],"WorkspaceLocationStatusEntriesOrError":["WorkspaceLocationStatusEntries","PythonError"],"GraphOrError":["Graph","GraphNotFoundError","PythonError"],"ResourceDetailsOrError":["ResourceDetails","ResourceNotFoundError","PythonError"],"ResourcesOrError":["ResourceDetailsList","RepositoryNotFoundError","PythonError"],"EnvVarWithConsumersOrError":["EnvVarWithConsumersList","PythonError"],"RunTagKeysOrError":["PythonError","RunTagKeys"],"RunTagsOrError":["PythonError","RunTags"],"RunIdsOrError":["RunIds","InvalidPipelineRunsFilterError","PythonError"],"AssetNodeOrError":["AssetNode","AssetNotFoundError"],"PartitionBackfillOrError":["PartitionBackfill","BackfillNotFoundError","PythonError"],"PartitionBackfillsOrError":["PartitionBackfills","PythonError"],"EventConnectionOrError":["EventConnection","RunNotFoundError","PythonError"],"AutoMaterializeAssetEvaluationRecordsOrError":["AutoMaterializeAssetEvaluationRecords","AutoMaterializeAssetEvaluationNeedsMigrationError"],"PartitionKeysOrError":["PartitionKeys","PartitionSubsetDeserializationError"],"AutoMaterializeRuleEvaluationData":["TextRuleEvaluationData","ParentMaterializedRuleEvaluationData","WaitingOnKeysRuleEvaluationData"],"AssetConditionEvaluationNode":["UnpartitionedAssetConditionEvaluationNode","PartitionedAssetConditionEvaluationNode","SpecificPartitionAssetConditionEvaluationNode"],"AssetConditionEvaluationRecordsOrError":["AssetConditionEvaluationRecords","AutoMaterializeAssetEvaluationNeedsMigrationError"],"SensorDryRunResult":["PythonError","SensorNotFoundError","DryRunInstigationTick"],"ScheduleDryRunResult":["DryRunInstigationTick","PythonError","ScheduleNotFoundError"],"TerminateRunsResultOrError":["TerminateRunsResult","PythonError"],"AssetWipeMutationResult":["AssetNotFoundError","UnauthorizedError","PythonError","AssetWipeSuccess"],"ReportRunlessAssetEventsResult":["UnauthorizedError","PythonError","ReportRunlessAssetEventsSuccess"],"ResumeBackfillResult":["ResumeBackfillSuccess","UnauthorizedError","PythonError"],"CancelBackfillResult":["CancelBackfillSuccess","UnauthorizedError","PythonError"],"LogTelemetryMutationResult":["LogTelemetrySuccess","PythonError"],"AddDynamicPartitionResult":["AddDynamicPartitionSuccess","UnauthorizedError","PythonError","DuplicateDynamicPartitionError"]}
\ No newline at end of file
+{"DisplayableEvent":["EngineEvent","ExecutionStepOutputEvent","ExpectationResult","FailureMetadata","HandledOutputEvent","LoadedInputEvent","ObjectStoreOperationResult","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","MaterializationEvent","ObservationEvent","TypeCheck"],"MarkerEvent":["EngineEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","StepWorkerStartedEvent","StepWorkerStartingEvent"],"ErrorEvent":["EngineEvent","ExecutionStepFailureEvent","ExecutionStepUpForRetryEvent","HookErroredEvent","RunFailureEvent","ResourceInitFailureEvent"],"MessageEvent":["EngineEvent","ExecutionStepFailureEvent","ExecutionStepInputEvent","ExecutionStepOutputEvent","ExecutionStepRestartEvent","ExecutionStepSkippedEvent","ExecutionStepStartEvent","ExecutionStepSuccessEvent","ExecutionStepUpForRetryEvent","HandledOutputEvent","HookCompletedEvent","HookErroredEvent","HookSkippedEvent","LoadedInputEvent","LogMessageEvent","ObjectStoreOperationEvent","RunCanceledEvent","RunCancelingEvent","RunDequeuedEvent","RunEnqueuedEvent","RunFailureEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","RunStartEvent","RunStartingEvent","RunSuccessEvent","StepExpectationResultEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","MaterializationEvent","ObservationEvent","AssetMaterializationPlannedEvent","LogsCapturedEvent","AlertStartEvent","AlertSuccessEvent","AlertFailureEvent","AssetCheckEvaluationPlannedEvent","AssetCheckEvaluationEvent"],"RunEvent":["RunCanceledEvent","RunCancelingEvent","RunDequeuedEvent","RunEnqueuedEvent","RunFailureEvent","RunStartEvent","RunStartingEvent","RunSuccessEvent","AssetMaterializationPlannedEvent","AlertStartEvent","AlertSuccessEvent","AlertFailureEvent"],"PipelineRunStepStats":["RunStepStats"],"StepEvent":["EngineEvent","ExecutionStepFailureEvent","ExecutionStepInputEvent","ExecutionStepOutputEvent","ExecutionStepRestartEvent","ExecutionStepSkippedEvent","ExecutionStepStartEvent","ExecutionStepSuccessEvent","ExecutionStepUpForRetryEvent","HandledOutputEvent","HookCompletedEvent","HookErroredEvent","HookSkippedEvent","LoadedInputEvent","ObjectStoreOperationEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","StepExpectationResultEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","MaterializationEvent","ObservationEvent","AssetCheckEvaluationPlannedEvent","AssetCheckEvaluationEvent"],"AssetOwner":["UserAssetOwner","TeamAssetOwner"],"AssetPartitionStatuses":["DefaultPartitionStatuses","MultiPartitionStatuses","TimePartitionStatuses"],"PartitionStatus1D":["TimePartitionStatuses","DefaultPartitionStatuses"],"AssetChecksOrError":["AssetChecks","AssetCheckNeedsMigrationError","AssetCheckNeedsUserCodeUpgrade","AssetCheckNeedsAgentUpgradeError"],"Instigator":["Schedule","Sensor"],"EvaluationStackEntry":["EvaluationStackListItemEntry","EvaluationStackPathEntry","EvaluationStackMapKeyEntry","EvaluationStackMapValueEntry"],"IPipelineSnapshot":["Pipeline","PipelineSnapshot","Job"],"PipelineConfigValidationError":["FieldNotDefinedConfigError","FieldsNotDefinedConfigError","MissingFieldConfigError","MissingFieldsConfigError","RuntimeMismatchConfigError","SelectorTypeConfigError"],"PipelineConfigValidationInvalid":["RunConfigValidationInvalid"],"PipelineConfigValidationResult":["InvalidSubsetError","PipelineConfigValidationValid","RunConfigValidationInvalid","PipelineNotFoundError","PythonError"],"PipelineReference":["PipelineSnapshot","UnknownPipeline"],"PipelineRun":["Run"],"DagsterRunEvent":["ExecutionStepFailureEvent","ExecutionStepInputEvent","ExecutionStepOutputEvent","ExecutionStepSkippedEvent","ExecutionStepStartEvent","ExecutionStepSuccessEvent","ExecutionStepUpForRetryEvent","ExecutionStepRestartEvent","LogMessageEvent","ResourceInitFailureEvent","ResourceInitStartedEvent","ResourceInitSuccessEvent","RunFailureEvent","RunStartEvent","RunEnqueuedEvent","RunDequeuedEvent","RunStartingEvent","RunCancelingEvent","RunCanceledEvent","RunSuccessEvent","StepWorkerStartedEvent","StepWorkerStartingEvent","HandledOutputEvent","LoadedInputEvent","LogsCapturedEvent","ObjectStoreOperationEvent","StepExpectationResultEvent","MaterializationEvent","ObservationEvent","EngineEvent","HookCompletedEvent","HookSkippedEvent","HookErroredEvent","AlertStartEvent","AlertSuccessEvent","AlertFailureEvent","AssetMaterializationPlannedEvent","AssetCheckEvaluationPlannedEvent","AssetCheckEvaluationEvent"],"PipelineRunLogsSubscriptionPayload":["PipelineRunLogsSubscriptionSuccess","PipelineRunLogsSubscriptionFailure"],"RunOrError":["Run","RunNotFoundError","PythonError"],"PipelineRunStatsSnapshot":["RunStatsSnapshot"],"RunStatsSnapshotOrError":["RunStatsSnapshot","PythonError"],"PipelineSnapshotOrError":["PipelineNotFoundError","PipelineSnapshot","PipelineSnapshotNotFoundError","PythonError"],"AssetOrError":["Asset","AssetNotFoundError"],"AssetsOrError":["AssetConnection","PythonError"],"DeletePipelineRunResult":["DeletePipelineRunSuccess","UnauthorizedError","PythonError","RunNotFoundError"],"ExecutionPlanOrError":["ExecutionPlan","RunConfigValidationInvalid","PipelineNotFoundError","InvalidSubsetError","PythonError"],"PipelineOrError":["Pipeline","PipelineNotFoundError","InvalidSubsetError","PythonError"],"ReloadRepositoryLocationMutationResult":["WorkspaceLocationEntry","ReloadNotSupported","RepositoryLocationNotFound","UnauthorizedError","PythonError"],"RepositoryLocationOrLoadError":["RepositoryLocation","PythonError"],"ReloadWorkspaceMutationResult":["Workspace","UnauthorizedError","PythonError"],"ShutdownRepositoryLocationMutationResult":["ShutdownRepositoryLocationSuccess","RepositoryLocationNotFound","UnauthorizedError","PythonError"],"TerminatePipelineExecutionFailure":["TerminateRunFailure"],"TerminatePipelineExecutionSuccess":["TerminateRunSuccess"],"TerminateRunResult":["TerminateRunSuccess","TerminateRunFailure","RunNotFoundError","UnauthorizedError","PythonError"],"ScheduleMutationResult":["PythonError","UnauthorizedError","ScheduleStateResult"],"ScheduleOrError":["Schedule","ScheduleNotFoundError","PythonError"],"SchedulerOrError":["Scheduler","SchedulerNotDefinedError","PythonError"],"SchedulesOrError":["Schedules","RepositoryNotFoundError","PythonError"],"ScheduleTickSpecificData":["ScheduleTickSuccessData","ScheduleTickFailureData"],"LaunchBackfillResult":["LaunchBackfillSuccess","PartitionSetNotFoundError","InvalidStepError","InvalidOutputError","RunConfigValidationInvalid","PipelineNotFoundError","RunConflict","UnauthorizedError","PythonError","InvalidSubsetError","PresetNotFoundError","ConflictingExecutionParamsError","NoModeProvidedError"],"ConfigTypeOrError":["EnumConfigType","CompositeConfigType","RegularConfigType","PipelineNotFoundError","ConfigTypeNotFoundError","PythonError"],"ConfigType":["ArrayConfigType","CompositeConfigType","EnumConfigType","NullableConfigType","RegularConfigType","ScalarUnionConfigType","MapConfigType"],"WrappingConfigType":["ArrayConfigType","NullableConfigType"],"DagsterType":["ListDagsterType","NullableDagsterType","RegularDagsterType"],"DagsterTypeOrError":["RegularDagsterType","PipelineNotFoundError","DagsterTypeNotFoundError","PythonError"],"WrappingDagsterType":["ListDagsterType","NullableDagsterType"],"Error":["AssetCheckNeedsMigrationError","AssetCheckNeedsUserCodeUpgrade","AssetCheckNeedsAgentUpgradeError","AssetNotFoundError","ConflictingExecutionParamsError","ConfigTypeNotFoundError","DagsterTypeNotFoundError","InvalidPipelineRunsFilterError","InvalidSubsetError","ModeNotFoundError","NoModeProvidedError","PartitionSetNotFoundError","PipelineNotFoundError","RunConflict","PipelineSnapshotNotFoundError","PresetNotFoundError","PythonError","ErrorChainLink","UnauthorizedError","ReloadNotSupported","RepositoryLocationNotFound","RepositoryNotFoundError","ResourceNotFoundError","RunGroupNotFoundError","RunNotFoundError","ScheduleNotFoundError","SchedulerNotDefinedError","SensorNotFoundError","DuplicateDynamicPartitionError","InstigationStateNotFoundError","SolidStepStatusUnavailableError","GraphNotFoundError","BackfillNotFoundError","PartitionSubsetDeserializationError","AutoMaterializeAssetEvaluationNeedsMigrationError"],"PipelineRunConflict":["RunConflict"],"PipelineRunNotFoundError":["RunNotFoundError"],"RepositoriesOrError":["RepositoryConnection","RepositoryNotFoundError","PythonError"],"RepositoryOrError":["PythonError","Repository","RepositoryNotFoundError"],"WorkspaceLocationEntryOrError":["WorkspaceLocationEntry","PythonError"],"InstigationTypeSpecificData":["SensorData","ScheduleData"],"InstigationStateOrError":["InstigationState","InstigationStateNotFoundError","PythonError"],"InstigationStatesOrError":["InstigationStates","PythonError"],"MetadataEntry":["TableColumnLineageMetadataEntry","TableSchemaMetadataEntry","TableMetadataEntry","FloatMetadataEntry","IntMetadataEntry","JsonMetadataEntry","BoolMetadataEntry","MarkdownMetadataEntry","PathMetadataEntry","NotebookMetadataEntry","PythonArtifactMetadataEntry","TextMetadataEntry","UrlMetadataEntry","PipelineRunMetadataEntry","AssetMetadataEntry","JobMetadataEntry","CodeReferencesMetadataEntry","NullMetadataEntry","TimestampMetadataEntry"],"SourceLocation":["LocalFileCodeReference","UrlCodeReference"],"PartitionRunConfigOrError":["PartitionRunConfig","PythonError"],"AssetBackfillStatus":["AssetPartitionsStatusCounts","UnpartitionedAssetStatus"],"PartitionSetOrError":["PartitionSet","PartitionSetNotFoundError","PythonError"],"PartitionSetsOrError":["PartitionSets","PipelineNotFoundError","PythonError"],"PartitionsOrError":["Partitions","PythonError"],"PartitionStatusesOrError":["PartitionStatuses","PythonError"],"PartitionTagsOrError":["PartitionTags","PythonError"],"RunConfigSchemaOrError":["RunConfigSchema","PipelineNotFoundError","InvalidSubsetError","ModeNotFoundError","PythonError"],"LaunchRunResult":["LaunchRunSuccess","InvalidStepError","InvalidOutputError","RunConfigValidationInvalid","PipelineNotFoundError","RunConflict","UnauthorizedError","PythonError","InvalidSubsetError","PresetNotFoundError","ConflictingExecutionParamsError","NoModeProvidedError"],"LaunchRunReexecutionResult":["LaunchRunSuccess","InvalidStepError","InvalidOutputError","RunConfigValidationInvalid","PipelineNotFoundError","RunConflict","UnauthorizedError","PythonError","InvalidSubsetError","PresetNotFoundError","ConflictingExecutionParamsError","NoModeProvidedError"],"LaunchPipelineRunSuccess":["LaunchRunSuccess"],"RunsOrError":["Runs","InvalidPipelineRunsFilterError","PythonError"],"PipelineRuns":["Runs"],"RunGroupOrError":["RunGroup","RunGroupNotFoundError","PythonError"],"SensorOrError":["Sensor","SensorNotFoundError","UnauthorizedError","PythonError"],"SensorsOrError":["Sensors","RepositoryNotFoundError","PythonError"],"StopSensorMutationResultOrError":["StopSensorMutationResult","UnauthorizedError","PythonError"],"ISolidDefinition":["CompositeSolidDefinition","SolidDefinition"],"SolidContainer":["Pipeline","PipelineSnapshot","Job","CompositeSolidDefinition","Graph"],"SolidStepStatsOrError":["SolidStepStatsConnection","SolidStepStatusUnavailableError"],"WorkspaceOrError":["Workspace","PythonError"],"WorkspaceLocationStatusEntriesOrError":["WorkspaceLocationStatusEntries","PythonError"],"GraphOrError":["Graph","GraphNotFoundError","PythonError"],"ResourceDetailsOrError":["ResourceDetails","ResourceNotFoundError","PythonError"],"ResourcesOrError":["ResourceDetailsList","RepositoryNotFoundError","PythonError"],"EnvVarWithConsumersOrError":["EnvVarWithConsumersList","PythonError"],"RunTagKeysOrError":["PythonError","RunTagKeys"],"RunTagsOrError":["PythonError","RunTags"],"RunIdsOrError":["RunIds","InvalidPipelineRunsFilterError","PythonError"],"AssetNodeOrError":["AssetNode","AssetNotFoundError"],"PartitionBackfillOrError":["PartitionBackfill","BackfillNotFoundError","PythonError"],"PartitionBackfillsOrError":["PartitionBackfills","PythonError"],"EventConnectionOrError":["EventConnection","RunNotFoundError","PythonError"],"AutoMaterializeAssetEvaluationRecordsOrError":["AutoMaterializeAssetEvaluationRecords","AutoMaterializeAssetEvaluationNeedsMigrationError"],"PartitionKeysOrError":["PartitionKeys","PartitionSubsetDeserializationError"],"AutoMaterializeRuleEvaluationData":["TextRuleEvaluationData","ParentMaterializedRuleEvaluationData","WaitingOnKeysRuleEvaluationData"],"AssetConditionEvaluationNode":["UnpartitionedAssetConditionEvaluationNode","PartitionedAssetConditionEvaluationNode","SpecificPartitionAssetConditionEvaluationNode"],"AssetConditionEvaluationRecordsOrError":["AssetConditionEvaluationRecords","AutoMaterializeAssetEvaluationNeedsMigrationError"],"SensorDryRunResult":["PythonError","SensorNotFoundError","DryRunInstigationTick"],"ScheduleDryRunResult":["DryRunInstigationTick","PythonError","ScheduleNotFoundError"],"TerminateRunsResultOrError":["TerminateRunsResult","PythonError"],"AssetWipeMutationResult":["AssetNotFoundError","UnauthorizedError","PythonError","AssetWipeSuccess"],"ReportRunlessAssetEventsResult":["UnauthorizedError","PythonError","ReportRunlessAssetEventsSuccess"],"ResumeBackfillResult":["ResumeBackfillSuccess","UnauthorizedError","PythonError"],"CancelBackfillResult":["CancelBackfillSuccess","UnauthorizedError","PythonError"],"LogTelemetryMutationResult":["LogTelemetrySuccess","PythonError"],"AddDynamicPartitionResult":["AddDynamicPartitionSuccess","UnauthorizedError","PythonError","DuplicateDynamicPartitionError"]}
\ No newline at end of file
diff --git a/js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql b/js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql
index be05fae5aab4f..133038a4ce2d3 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql
+++ b/js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql
@@ -2684,7 +2684,7 @@ type CodeReferencesMetadataEntry implements MetadataEntry {
codeReferences: [SourceLocation!]!
}
-union SourceLocation = LocalFileCodeReference
+union SourceLocation = LocalFileCodeReference | UrlCodeReference
type LocalFileCodeReference {
filePath: String!
@@ -2692,6 +2692,11 @@ type LocalFileCodeReference {
label: String
}
+type UrlCodeReference {
+ url: String!
+ label: String
+}
+
type NullMetadataEntry implements MetadataEntry {
label: String!
description: String
diff --git a/js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts b/js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts
index 6aef0ff6c4b48..eed5bff35364c 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts
@@ -4972,7 +4972,7 @@ export type SolidStepStatusUnavailableError = Error & {
message: Scalars['String']['output'];
};
-export type SourceLocation = LocalFileCodeReference;
+export type SourceLocation = LocalFileCodeReference | UrlCodeReference;
export type SpecificPartitionAssetConditionEvaluationNode = {
__typename: 'SpecificPartitionAssetConditionEvaluationNode';
@@ -5442,6 +5442,12 @@ export type UnpartitionedAssetStatus = {
materialized: Scalars['Boolean']['output'];
};
+export type UrlCodeReference = {
+ __typename: 'UrlCodeReference';
+ label: Maybe;
+ url: Scalars['String']['output'];
+};
+
export type UrlMetadataEntry = MetadataEntry & {
__typename: 'UrlMetadataEntry';
description: Maybe;
@@ -14751,6 +14757,19 @@ export const buildUnpartitionedAssetStatus = (
};
};
+export const buildUrlCodeReference = (
+ overrides?: Partial,
+ _relationshipsToOmit: Set = new Set(),
+): {__typename: 'UrlCodeReference'} & UrlCodeReference => {
+ const relationshipsToOmit: Set = new Set(_relationshipsToOmit);
+ relationshipsToOmit.add('UrlCodeReference');
+ return {
+ __typename: 'UrlCodeReference',
+ label: overrides && overrides.hasOwnProperty('label') ? overrides.label! : 'alias',
+ url: overrides && overrides.hasOwnProperty('url') ? overrides.url! : 'quia',
+ };
+};
+
export const buildUrlMetadataEntry = (
overrides?: Partial,
_relationshipsToOmit: Set = new Set(),
diff --git a/js_modules/dagster-ui/packages/ui-core/src/metadata/MetadataEntryFragment.tsx b/js_modules/dagster-ui/packages/ui-core/src/metadata/MetadataEntryFragment.tsx
index d29898e18d266..fc6e31d24f372 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/metadata/MetadataEntryFragment.tsx
+++ b/js_modules/dagster-ui/packages/ui-core/src/metadata/MetadataEntryFragment.tsx
@@ -54,15 +54,6 @@ export const METADATA_ENTRY_FRAGMENT = gql`
repositoryName
locationName
}
- ... on CodeReferencesMetadataEntry {
- codeReferences {
- ... on LocalFileCodeReference {
- filePath
- lineNumber
- label
- }
- }
- }
... on TableColumnLineageMetadataEntry {
lineage {
columnName
@@ -93,6 +84,10 @@ export const METADATA_ENTRY_FRAGMENT = gql`
lineNumber
label
}
+ ... on UrlCodeReference {
+ url
+ label
+ }
}
}
}
diff --git a/js_modules/dagster-ui/packages/ui-core/src/metadata/__stories__/MetadataEntry.stories.tsx b/js_modules/dagster-ui/packages/ui-core/src/metadata/__stories__/MetadataEntry.stories.tsx
index 5bd4ce02fa77d..457d4b6158edf 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/metadata/__stories__/MetadataEntry.stories.tsx
+++ b/js_modules/dagster-ui/packages/ui-core/src/metadata/__stories__/MetadataEntry.stories.tsx
@@ -7,6 +7,8 @@ import {
IntMetadataEntry,
JsonMetadataEntry,
TableSchemaMetadataEntry,
+ buildLocalFileCodeReference,
+ buildUrlCodeReference,
} from '../../graphql/types';
import {MetadataEntries} from '../MetadataEntry';
import {MetadataEntryFragment} from '../types/MetadataEntryFragment.types';
@@ -264,12 +266,15 @@ function buildMockMetadataEntry(type: MetadataEntryFragment['__typename']): Meta
description: 'This is the description',
label: 'my_code_references',
codeReferences: [
- {
- __typename: 'LocalFileCodeReference',
+ buildLocalFileCodeReference({
filePath: '/path/to/file.py',
lineNumber: 12,
label: 'my_code_reference',
- },
+ }),
+ buildUrlCodeReference({
+ url: 'http://localhost:3000/assets/',
+ label: 'my_code_reference',
+ }),
],
};
default:
diff --git a/js_modules/dagster-ui/packages/ui-core/src/metadata/types/MetadataEntryFragment.types.ts b/js_modules/dagster-ui/packages/ui-core/src/metadata/types/MetadataEntryFragment.types.ts
index 3af6ca4f7e2ff..b253cfa52f483 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/metadata/types/MetadataEntryFragment.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/metadata/types/MetadataEntryFragment.types.ts
@@ -20,12 +20,15 @@ export type MetadataEntryFragment_CodeReferencesMetadataEntry = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
};
export type MetadataEntryFragment_FloatMetadataEntry = {
diff --git a/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/GraphExplorer.types.ts b/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/GraphExplorer.types.ts
index 95e9fe08fec96..f3b8cfbc1220d 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/GraphExplorer.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/GraphExplorer.types.ts
@@ -4550,12 +4550,15 @@ export type GraphExplorerFragment_PipelineSnapshot = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/PipelineExplorerRoot.types.ts b/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/PipelineExplorerRoot.types.ts
index 31adaa1fad60f..d613c1564d98a 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/PipelineExplorerRoot.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/PipelineExplorerRoot.types.ts
@@ -37,12 +37,15 @@ export type PipelineExplorerRootQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/SidebarContainerOverview.types.ts b/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/SidebarContainerOverview.types.ts
index db5a20ff3bcb3..6c76d75bb8bfe 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/SidebarContainerOverview.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/pipelines/types/SidebarContainerOverview.types.ts
@@ -4550,12 +4550,15 @@ export type SidebarRootContainerFragment_PipelineSnapshot = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsProvider.types.ts b/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsProvider.types.ts
index b9452277bfca7..0ab10ded417fa 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsProvider.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsProvider.types.ts
@@ -82,12 +82,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -279,12 +282,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -473,12 +479,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -654,12 +663,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -832,12 +844,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -999,12 +1014,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1233,12 +1251,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1447,12 +1468,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1644,12 +1668,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1819,12 +1846,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1996,12 +2026,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2172,12 +2205,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2357,12 +2393,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2532,12 +2571,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2790,12 +2832,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2969,12 +3014,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3144,12 +3192,15 @@ export type PipelineRunLogsSubscription = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3361,12 +3412,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3555,12 +3609,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3744,12 +3801,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -3922,12 +3982,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4097,12 +4160,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4259,12 +4325,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4490,12 +4559,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4699,12 +4771,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -4891,12 +4966,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5061,12 +5139,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5235,12 +5316,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5406,12 +5490,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5586,12 +5673,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -5756,12 +5846,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6009,12 +6102,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6185,12 +6281,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6355,12 +6454,15 @@ export type RunLogsSubscriptionSuccessFragment = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6585,12 +6687,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6782,12 +6887,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -6976,12 +7084,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7157,12 +7268,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7335,12 +7449,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7502,12 +7619,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7736,12 +7856,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -7950,12 +8073,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8147,12 +8273,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8322,12 +8451,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8499,12 +8631,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8675,12 +8810,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -8860,12 +8998,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9035,12 +9176,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9293,12 +9437,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9472,12 +9619,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -9647,12 +9797,15 @@ export type RunLogsQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsRow.types.ts b/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsRow.types.ts
index 943b33c46de80..5a0f70a40c04e 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsRow.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsRow.types.ts
@@ -63,12 +63,15 @@ export type LogsRowStructuredFragment_AssetCheckEvaluationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -242,12 +245,15 @@ export type LogsRowStructuredFragment_EngineEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -416,12 +422,15 @@ export type LogsRowStructuredFragment_ExecutionStepFailureEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -579,12 +588,15 @@ export type LogsRowStructuredFragment_ExecutionStepInputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -739,12 +751,15 @@ export type LogsRowStructuredFragment_ExecutionStepOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -886,12 +901,15 @@ export type LogsRowStructuredFragment_ExecutionStepOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1102,12 +1120,15 @@ export type LogsRowStructuredFragment_HandledOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1296,12 +1317,15 @@ export type LogsRowStructuredFragment_LoadedInputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1472,12 +1496,15 @@ export type LogsRowStructuredFragment_MaterializationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1627,12 +1654,15 @@ export type LogsRowStructuredFragment_ObjectStoreOperationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1786,12 +1816,15 @@ export type LogsRowStructuredFragment_ObservationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1942,12 +1975,15 @@ export type LogsRowStructuredFragment_ResourceInitFailureEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2107,12 +2143,15 @@ export type LogsRowStructuredFragment_ResourceInitStartedEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2262,12 +2301,15 @@ export type LogsRowStructuredFragment_ResourceInitSuccessEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2500,12 +2542,15 @@ export type LogsRowStructuredFragment_StepExpectationResultEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2661,12 +2706,15 @@ export type LogsRowStructuredFragment_StepWorkerStartedEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2816,12 +2864,15 @@ export type LogsRowStructuredFragment_StepWorkerStartingEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsScrollingTable.types.ts b/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsScrollingTable.types.ts
index 7ab8a9f4c4f0e..a31f0021b2146 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsScrollingTable.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/runs/types/LogsScrollingTable.types.ts
@@ -63,12 +63,15 @@ export type LogsScrollingTableMessageFragment_AssetCheckEvaluationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -242,12 +245,15 @@ export type LogsScrollingTableMessageFragment_EngineEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -416,12 +422,15 @@ export type LogsScrollingTableMessageFragment_ExecutionStepFailureEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -579,12 +588,15 @@ export type LogsScrollingTableMessageFragment_ExecutionStepInputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -739,12 +751,15 @@ export type LogsScrollingTableMessageFragment_ExecutionStepOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -886,12 +901,15 @@ export type LogsScrollingTableMessageFragment_ExecutionStepOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1102,12 +1120,15 @@ export type LogsScrollingTableMessageFragment_HandledOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1296,12 +1317,15 @@ export type LogsScrollingTableMessageFragment_LoadedInputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1472,12 +1496,15 @@ export type LogsScrollingTableMessageFragment_MaterializationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1627,12 +1654,15 @@ export type LogsScrollingTableMessageFragment_ObjectStoreOperationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1786,12 +1816,15 @@ export type LogsScrollingTableMessageFragment_ObservationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1942,12 +1975,15 @@ export type LogsScrollingTableMessageFragment_ResourceInitFailureEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2107,12 +2143,15 @@ export type LogsScrollingTableMessageFragment_ResourceInitStartedEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2262,12 +2301,15 @@ export type LogsScrollingTableMessageFragment_ResourceInitSuccessEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2500,12 +2542,15 @@ export type LogsScrollingTableMessageFragment_StepExpectationResultEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2661,12 +2706,15 @@ export type LogsScrollingTableMessageFragment_StepWorkerStartedEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2816,12 +2864,15 @@ export type LogsScrollingTableMessageFragment_StepWorkerStartingEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunFragments.types.ts b/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunFragments.types.ts
index 35dc1a2cc5387..b80f63cb472a9 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunFragments.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunFragments.types.ts
@@ -120,12 +120,15 @@ export type RunDagsterRunEventFragment_AssetCheckEvaluationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -299,12 +302,15 @@ export type RunDagsterRunEventFragment_EngineEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -473,12 +479,15 @@ export type RunDagsterRunEventFragment_ExecutionStepFailureEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -636,12 +645,15 @@ export type RunDagsterRunEventFragment_ExecutionStepInputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -796,12 +808,15 @@ export type RunDagsterRunEventFragment_ExecutionStepOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -943,12 +958,15 @@ export type RunDagsterRunEventFragment_ExecutionStepOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1159,12 +1177,15 @@ export type RunDagsterRunEventFragment_HandledOutputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1353,12 +1374,15 @@ export type RunDagsterRunEventFragment_LoadedInputEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1530,12 +1554,15 @@ export type RunDagsterRunEventFragment_MaterializationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1685,12 +1712,15 @@ export type RunDagsterRunEventFragment_ObjectStoreOperationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1844,12 +1874,15 @@ export type RunDagsterRunEventFragment_ObservationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2000,12 +2033,15 @@ export type RunDagsterRunEventFragment_ResourceInitFailureEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2165,12 +2201,15 @@ export type RunDagsterRunEventFragment_ResourceInitStartedEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2320,12 +2359,15 @@ export type RunDagsterRunEventFragment_ResourceInitSuccessEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2558,12 +2600,15 @@ export type RunDagsterRunEventFragment_StepExpectationResultEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2719,12 +2764,15 @@ export type RunDagsterRunEventFragment_StepWorkerStartedEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2874,12 +2922,15 @@ export type RunDagsterRunEventFragment_StepWorkerStartingEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunMetadataProvider.types.ts b/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunMetadataProvider.types.ts
index 42b2dfbfcdf95..b641a1899cf73 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunMetadataProvider.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/runs/types/RunMetadataProvider.types.ts
@@ -195,12 +195,15 @@ export type RunMetadataProviderMessageFragment_ObjectStoreOperationEvent = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorer.types.ts b/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorer.types.ts
index 55992c34f1ca1..7960bd27ec9fc 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorer.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorer.types.ts
@@ -23,12 +23,15 @@ export type TypeExplorerFragment_ListDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -1267,12 +1270,15 @@ export type TypeExplorerFragment_NullableDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
@@ -2511,12 +2517,15 @@ export type TypeExplorerFragment_RegularDagsterType = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorerContainer.types.ts b/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorerContainer.types.ts
index 5a2cb321efc58..9a17959c53d06 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorerContainer.types.ts
+++ b/js_modules/dagster-ui/packages/ui-core/src/typeexplorer/types/TypeExplorerContainer.types.ts
@@ -40,12 +40,15 @@ export type TypeExplorerContainerQuery = {
__typename: 'CodeReferencesMetadataEntry';
label: string;
description: string | null;
- codeReferences: Array<{
- __typename: 'LocalFileCodeReference';
- filePath: string;
- lineNumber: number;
- label: string | null;
- }>;
+ codeReferences: Array<
+ | {
+ __typename: 'LocalFileCodeReference';
+ filePath: string;
+ lineNumber: number;
+ label: string | null;
+ }
+ | {__typename: 'UrlCodeReference'; url: string; label: string | null}
+ >;
}
| {
__typename: 'FloatMetadataEntry';
diff --git a/python_modules/dagster-graphql/dagster_graphql/implementation/events.py b/python_modules/dagster-graphql/dagster_graphql/implementation/events.py
index f30c5aab7b9df..9d3cbf410d66e 100644
--- a/python_modules/dagster-graphql/dagster_graphql/implementation/events.py
+++ b/python_modules/dagster-graphql/dagster_graphql/implementation/events.py
@@ -65,6 +65,7 @@ def iterate_metadata_entries(metadata: Mapping[str, MetadataValue]) -> Iterator[
GrapheneTableSchemaMetadataEntry,
GrapheneTextMetadataEntry,
GrapheneTimestampMetadataEntry,
+ GrapheneUrlCodeReference,
GrapheneUrlMetadataEntry,
)
from ..schema.table import GrapheneTable, GrapheneTableSchema
@@ -159,14 +160,18 @@ def iterate_metadata_entries(metadata: Mapping[str, MetadataValue]) -> Iterator[
elif isinstance(value, CodeReferencesMetadataValue):
yield GrapheneCodeReferencesMetadataEntry(
label=key,
- code_references=[
+ codeReferences=[
GrapheneLocalFileCodeReference(
filePath=reference.file_path,
lineNumber=reference.line_number,
label=reference.label,
)
- for reference in value.code_references
if isinstance(reference, LocalFileCodeReference)
+ else GrapheneUrlCodeReference(
+ url=reference.url,
+ label=reference.label,
+ )
+ for reference in value.code_references
],
)
elif isinstance(value, TableMetadataValue):
diff --git a/python_modules/dagster-graphql/dagster_graphql/schema/metadata.py b/python_modules/dagster-graphql/dagster_graphql/schema/metadata.py
index 45fc64c448bca..6c3153608ec49 100644
--- a/python_modules/dagster-graphql/dagster_graphql/schema/metadata.py
+++ b/python_modules/dagster-graphql/dagster_graphql/schema/metadata.py
@@ -171,14 +171,22 @@ class Meta:
name = "LocalFileCodeReference"
+class GrapheneUrlCodeReference(graphene.ObjectType):
+ url = graphene.NonNull(graphene.String)
+ label = graphene.String()
+
+ class Meta:
+ name = "UrlCodeReference"
+
+
class GrapheneSourceLocation(graphene.Union):
class Meta:
- types = (GrapheneLocalFileCodeReference,)
+ types = (GrapheneLocalFileCodeReference, GrapheneUrlCodeReference)
name = "SourceLocation"
class GrapheneCodeReferencesMetadataEntry(graphene.ObjectType):
- code_references = non_null_list(GrapheneSourceLocation)
+ codeReferences = non_null_list(GrapheneSourceLocation)
class Meta:
interfaces = (GrapheneMetadataEntry,)