@merittdev/horus-lens 0.0.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -27
- package/dist/browser.cjs +1 -83
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +2 -4
- package/dist/{chunk-DU7HNRF4.js → chunk-A6SNBIRS.js} +2 -2
- package/dist/{chunk-S6S3ZZQA.js → chunk-MTQ3IO4U.js} +13628 -967
- package/dist/chunk-MTQ3IO4U.js.map +1 -0
- package/dist/index.cjs +1 -109
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -165
- package/dist/index.d.ts +1 -165
- package/dist/index.js +1 -29
- package/dist/lens.min.js +31 -31
- package/dist/lens.min.js.map +1 -1
- package/dist/react.cjs +6 -85
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +18 -6
- package/dist/react.d.ts +18 -6
- package/dist/react.js +6 -6
- package/dist/react.js.map +1 -1
- package/package.json +5 -13
- package/dist/chunk-DWOH2ENF.js +0 -17613
- package/dist/chunk-DWOH2ENF.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-S6S3ZZQA.js.map +0 -1
- package/dist/dashboard.cjs +0 -19774
- package/dist/dashboard.cjs.map +0 -1
- package/dist/dashboard.css +0 -2233
- package/dist/dashboard.d.cts +0 -707
- package/dist/dashboard.d.ts +0 -707
- package/dist/dashboard.js +0 -2237
- package/dist/dashboard.js.map +0 -1
- package/dist/rrweb-EYUUZIYR.js +0 -30
- package/dist/rrweb-EYUUZIYR.js.map +0 -1
- /package/dist/{chunk-DU7HNRF4.js.map → chunk-A6SNBIRS.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -659,170 +659,6 @@ declare const ApiErrorSchema: z.ZodObject<{
|
|
|
659
659
|
}, z.core.$strip>;
|
|
660
660
|
type ApiError = z.infer<typeof ApiErrorSchema>;
|
|
661
661
|
|
|
662
|
-
declare const IntegrationProviderSchema: z.ZodEnum<{
|
|
663
|
-
github: "github";
|
|
664
|
-
jira: "jira";
|
|
665
|
-
linear: "linear";
|
|
666
|
-
}>;
|
|
667
|
-
type IntegrationProvider = z.infer<typeof IntegrationProviderSchema>;
|
|
668
|
-
declare const IntegrationStatusSchema: z.ZodEnum<{
|
|
669
|
-
disconnected: "disconnected";
|
|
670
|
-
pending: "pending";
|
|
671
|
-
connected: "connected";
|
|
672
|
-
}>;
|
|
673
|
-
type IntegrationStatus = z.infer<typeof IntegrationStatusSchema>;
|
|
674
|
-
/**
|
|
675
|
-
* One integration per provider per project; at most ONE is `active` — the
|
|
676
|
-
* active one is the destination issues are routed to.
|
|
677
|
-
*/
|
|
678
|
-
/** Non-secret issue-routing settings, editable from the dashboard. */
|
|
679
|
-
declare const IntegrationConfigSchema: z.ZodObject<{
|
|
680
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
681
|
-
teamKey: z.ZodOptional<z.ZodString>;
|
|
682
|
-
projectKey: z.ZodOptional<z.ZodString>;
|
|
683
|
-
issueType: z.ZodOptional<z.ZodString>;
|
|
684
|
-
}, z.core.$strip>;
|
|
685
|
-
type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
|
|
686
|
-
declare const IntegrationSchema: z.ZodObject<{
|
|
687
|
-
provider: z.ZodEnum<{
|
|
688
|
-
github: "github";
|
|
689
|
-
jira: "jira";
|
|
690
|
-
linear: "linear";
|
|
691
|
-
}>;
|
|
692
|
-
status: z.ZodEnum<{
|
|
693
|
-
disconnected: "disconnected";
|
|
694
|
-
pending: "pending";
|
|
695
|
-
connected: "connected";
|
|
696
|
-
}>;
|
|
697
|
-
account: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
698
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
699
|
-
config: z.ZodDefault<z.ZodObject<{
|
|
700
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
701
|
-
teamKey: z.ZodOptional<z.ZodString>;
|
|
702
|
-
projectKey: z.ZodOptional<z.ZodString>;
|
|
703
|
-
issueType: z.ZodOptional<z.ZodString>;
|
|
704
|
-
}, z.core.$strip>>;
|
|
705
|
-
}, z.core.$strip>;
|
|
706
|
-
type Integration = z.infer<typeof IntegrationSchema>;
|
|
707
|
-
/** Write-only S3 credentials. The secret is never returned by any endpoint. */
|
|
708
|
-
declare const S3ConfigInputSchema: z.ZodObject<{
|
|
709
|
-
bucket: z.ZodString;
|
|
710
|
-
region: z.ZodString;
|
|
711
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
712
|
-
accessKeyId: z.ZodString;
|
|
713
|
-
secretAccessKey: z.ZodString;
|
|
714
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
-
}, z.core.$strip>;
|
|
716
|
-
type S3ConfigInput = z.infer<typeof S3ConfigInputSchema>;
|
|
717
|
-
/** What the API returns about a project's S3 config — secret omitted, key masked. */
|
|
718
|
-
declare const S3ConfigPublicSchema: z.ZodObject<{
|
|
719
|
-
bucket: z.ZodString;
|
|
720
|
-
region: z.ZodString;
|
|
721
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
722
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
723
|
-
accessKeyIdMasked: z.ZodString;
|
|
724
|
-
}, z.core.$strip>;
|
|
725
|
-
type S3ConfigPublic = z.infer<typeof S3ConfigPublicSchema>;
|
|
726
|
-
declare const ProjectSchema: z.ZodObject<{
|
|
727
|
-
id: z.ZodString;
|
|
728
|
-
name: z.ZodString;
|
|
729
|
-
accessId: z.ZodString;
|
|
730
|
-
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
731
|
-
destination: z.ZodNullable<z.ZodEnum<{
|
|
732
|
-
github: "github";
|
|
733
|
-
jira: "jira";
|
|
734
|
-
linear: "linear";
|
|
735
|
-
}>>;
|
|
736
|
-
dashboardUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
737
|
-
s3: z.ZodNullable<z.ZodObject<{
|
|
738
|
-
bucket: z.ZodString;
|
|
739
|
-
region: z.ZodString;
|
|
740
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
741
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
742
|
-
accessKeyIdMasked: z.ZodString;
|
|
743
|
-
}, z.core.$strip>>;
|
|
744
|
-
onboardedAt: z.ZodNullable<z.ZodString>;
|
|
745
|
-
createdAt: z.ZodString;
|
|
746
|
-
}, z.core.$strip>;
|
|
747
|
-
type Project = z.infer<typeof ProjectSchema>;
|
|
748
|
-
/** POST /v1/projects — bootstrap auth (admin token). Secret is shown exactly once. */
|
|
749
|
-
declare const CreateProjectRequestSchema: z.ZodObject<{
|
|
750
|
-
name: z.ZodString;
|
|
751
|
-
allowedOrigins: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
752
|
-
}, z.core.$strip>;
|
|
753
|
-
type CreateProjectRequest = z.infer<typeof CreateProjectRequestSchema>;
|
|
754
|
-
declare const CreateProjectResponseSchema: z.ZodObject<{
|
|
755
|
-
project: z.ZodObject<{
|
|
756
|
-
id: z.ZodString;
|
|
757
|
-
name: z.ZodString;
|
|
758
|
-
accessId: z.ZodString;
|
|
759
|
-
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
760
|
-
destination: z.ZodNullable<z.ZodEnum<{
|
|
761
|
-
github: "github";
|
|
762
|
-
jira: "jira";
|
|
763
|
-
linear: "linear";
|
|
764
|
-
}>>;
|
|
765
|
-
dashboardUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
766
|
-
s3: z.ZodNullable<z.ZodObject<{
|
|
767
|
-
bucket: z.ZodString;
|
|
768
|
-
region: z.ZodString;
|
|
769
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
770
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
771
|
-
accessKeyIdMasked: z.ZodString;
|
|
772
|
-
}, z.core.$strip>>;
|
|
773
|
-
onboardedAt: z.ZodNullable<z.ZodString>;
|
|
774
|
-
createdAt: z.ZodString;
|
|
775
|
-
}, z.core.$strip>;
|
|
776
|
-
accessId: z.ZodString;
|
|
777
|
-
accessSecret: z.ZodString;
|
|
778
|
-
}, z.core.$strip>;
|
|
779
|
-
type CreateProjectResponse = z.infer<typeof CreateProjectResponseSchema>;
|
|
780
|
-
/** PATCH /v1/project — secret auth. */
|
|
781
|
-
declare const UpdateProjectRequestSchema: z.ZodObject<{
|
|
782
|
-
name: z.ZodOptional<z.ZodString>;
|
|
783
|
-
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
784
|
-
onboarded: z.ZodOptional<z.ZodBoolean>;
|
|
785
|
-
dashboardUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
|
-
}, z.core.$strip>;
|
|
787
|
-
type UpdateProjectRequest = z.infer<typeof UpdateProjectRequestSchema>;
|
|
788
|
-
declare const ListIntegrationsResponseSchema: z.ZodObject<{
|
|
789
|
-
integrations: z.ZodArray<z.ZodObject<{
|
|
790
|
-
provider: z.ZodEnum<{
|
|
791
|
-
github: "github";
|
|
792
|
-
jira: "jira";
|
|
793
|
-
linear: "linear";
|
|
794
|
-
}>;
|
|
795
|
-
status: z.ZodEnum<{
|
|
796
|
-
disconnected: "disconnected";
|
|
797
|
-
pending: "pending";
|
|
798
|
-
connected: "connected";
|
|
799
|
-
}>;
|
|
800
|
-
account: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
801
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
802
|
-
config: z.ZodDefault<z.ZodObject<{
|
|
803
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
804
|
-
teamKey: z.ZodOptional<z.ZodString>;
|
|
805
|
-
projectKey: z.ZodOptional<z.ZodString>;
|
|
806
|
-
issueType: z.ZodOptional<z.ZodString>;
|
|
807
|
-
}, z.core.$strip>>;
|
|
808
|
-
}, z.core.$strip>>;
|
|
809
|
-
}, z.core.$strip>;
|
|
810
|
-
type ListIntegrationsResponse = z.infer<typeof ListIntegrationsResponseSchema>;
|
|
811
|
-
/** Body for POST /v1/integrations/:provider/connect. */
|
|
812
|
-
declare const ConnectIntegrationRequestSchema: z.ZodObject<{
|
|
813
|
-
returnUrl: z.ZodOptional<z.ZodString>;
|
|
814
|
-
}, z.core.$strip>;
|
|
815
|
-
type ConnectIntegrationRequest = z.infer<typeof ConnectIntegrationRequestSchema>;
|
|
816
|
-
declare const ConnectIntegrationResponseSchema: z.ZodObject<{
|
|
817
|
-
authorizeUrl: z.ZodString;
|
|
818
|
-
provider: z.ZodEnum<{
|
|
819
|
-
github: "github";
|
|
820
|
-
jira: "jira";
|
|
821
|
-
linear: "linear";
|
|
822
|
-
}>;
|
|
823
|
-
}, z.core.$strip>;
|
|
824
|
-
type ConnectIntegrationResponse = z.infer<typeof ConnectIntegrationResponseSchema>;
|
|
825
|
-
|
|
826
662
|
declare const SDK_NAME = "@merittdev/horus-lens";
|
|
827
663
|
declare const SDK_VERSION = "0.0.1";
|
|
828
664
|
|
|
@@ -903,4 +739,4 @@ declare class LensClient {
|
|
|
903
739
|
private warn;
|
|
904
740
|
}
|
|
905
741
|
|
|
906
|
-
export { ACCESS_ID_PREFIX, ACCESS_SECRET_PREFIX, type Annotation, AnnotationSchema, type ApiError, ApiErrorSchema, type AppContext, AppContextSchema, type AssetKind, AssetKindSchema, type AssetRef, AssetRefSchema, type AttachAssetRequest, AttachAssetRequestSchema, type
|
|
742
|
+
export { ACCESS_ID_PREFIX, ACCESS_SECRET_PREFIX, type Annotation, AnnotationSchema, type ApiError, ApiErrorSchema, type AppContext, AppContextSchema, type AssetKind, AssetKindSchema, type AssetRef, AssetRefSchema, type AttachAssetRequest, AttachAssetRequestSchema, type ConsoleEntry, ConsoleEntrySchema, type ConsoleLevel, ConsoleLevelSchema, type EnvContext, EnvContextSchema, type ErrorEntry, ErrorEntrySchema, type FinalizeReportRequest, FinalizeReportRequestSchema, type FinalizeReportResponse, FinalizeReportResponseSchema, type InitiateReportRequest, InitiateReportRequestSchema, type InitiateReportResponse, InitiateReportResponseSchema, LensClient, type LensConfig, type ListReportsQuery, ListReportsQuerySchema, type NetworkEntry, NetworkEntrySchema, type Report, type ReportMetadata, ReportMetadataSchema, ReportSchema, type ReportStatus, ReportStatusSchema, type ReportSummary, ReportSummarySchema, SDK_NAME, SDK_VERSION, type TargetElement, TargetElementSchema, isAccessId, isAccessSecret };
|
package/dist/index.d.ts
CHANGED
|
@@ -659,170 +659,6 @@ declare const ApiErrorSchema: z.ZodObject<{
|
|
|
659
659
|
}, z.core.$strip>;
|
|
660
660
|
type ApiError = z.infer<typeof ApiErrorSchema>;
|
|
661
661
|
|
|
662
|
-
declare const IntegrationProviderSchema: z.ZodEnum<{
|
|
663
|
-
github: "github";
|
|
664
|
-
jira: "jira";
|
|
665
|
-
linear: "linear";
|
|
666
|
-
}>;
|
|
667
|
-
type IntegrationProvider = z.infer<typeof IntegrationProviderSchema>;
|
|
668
|
-
declare const IntegrationStatusSchema: z.ZodEnum<{
|
|
669
|
-
disconnected: "disconnected";
|
|
670
|
-
pending: "pending";
|
|
671
|
-
connected: "connected";
|
|
672
|
-
}>;
|
|
673
|
-
type IntegrationStatus = z.infer<typeof IntegrationStatusSchema>;
|
|
674
|
-
/**
|
|
675
|
-
* One integration per provider per project; at most ONE is `active` — the
|
|
676
|
-
* active one is the destination issues are routed to.
|
|
677
|
-
*/
|
|
678
|
-
/** Non-secret issue-routing settings, editable from the dashboard. */
|
|
679
|
-
declare const IntegrationConfigSchema: z.ZodObject<{
|
|
680
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
681
|
-
teamKey: z.ZodOptional<z.ZodString>;
|
|
682
|
-
projectKey: z.ZodOptional<z.ZodString>;
|
|
683
|
-
issueType: z.ZodOptional<z.ZodString>;
|
|
684
|
-
}, z.core.$strip>;
|
|
685
|
-
type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
|
|
686
|
-
declare const IntegrationSchema: z.ZodObject<{
|
|
687
|
-
provider: z.ZodEnum<{
|
|
688
|
-
github: "github";
|
|
689
|
-
jira: "jira";
|
|
690
|
-
linear: "linear";
|
|
691
|
-
}>;
|
|
692
|
-
status: z.ZodEnum<{
|
|
693
|
-
disconnected: "disconnected";
|
|
694
|
-
pending: "pending";
|
|
695
|
-
connected: "connected";
|
|
696
|
-
}>;
|
|
697
|
-
account: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
698
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
699
|
-
config: z.ZodDefault<z.ZodObject<{
|
|
700
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
701
|
-
teamKey: z.ZodOptional<z.ZodString>;
|
|
702
|
-
projectKey: z.ZodOptional<z.ZodString>;
|
|
703
|
-
issueType: z.ZodOptional<z.ZodString>;
|
|
704
|
-
}, z.core.$strip>>;
|
|
705
|
-
}, z.core.$strip>;
|
|
706
|
-
type Integration = z.infer<typeof IntegrationSchema>;
|
|
707
|
-
/** Write-only S3 credentials. The secret is never returned by any endpoint. */
|
|
708
|
-
declare const S3ConfigInputSchema: z.ZodObject<{
|
|
709
|
-
bucket: z.ZodString;
|
|
710
|
-
region: z.ZodString;
|
|
711
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
712
|
-
accessKeyId: z.ZodString;
|
|
713
|
-
secretAccessKey: z.ZodString;
|
|
714
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
-
}, z.core.$strip>;
|
|
716
|
-
type S3ConfigInput = z.infer<typeof S3ConfigInputSchema>;
|
|
717
|
-
/** What the API returns about a project's S3 config — secret omitted, key masked. */
|
|
718
|
-
declare const S3ConfigPublicSchema: z.ZodObject<{
|
|
719
|
-
bucket: z.ZodString;
|
|
720
|
-
region: z.ZodString;
|
|
721
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
722
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
723
|
-
accessKeyIdMasked: z.ZodString;
|
|
724
|
-
}, z.core.$strip>;
|
|
725
|
-
type S3ConfigPublic = z.infer<typeof S3ConfigPublicSchema>;
|
|
726
|
-
declare const ProjectSchema: z.ZodObject<{
|
|
727
|
-
id: z.ZodString;
|
|
728
|
-
name: z.ZodString;
|
|
729
|
-
accessId: z.ZodString;
|
|
730
|
-
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
731
|
-
destination: z.ZodNullable<z.ZodEnum<{
|
|
732
|
-
github: "github";
|
|
733
|
-
jira: "jira";
|
|
734
|
-
linear: "linear";
|
|
735
|
-
}>>;
|
|
736
|
-
dashboardUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
737
|
-
s3: z.ZodNullable<z.ZodObject<{
|
|
738
|
-
bucket: z.ZodString;
|
|
739
|
-
region: z.ZodString;
|
|
740
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
741
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
742
|
-
accessKeyIdMasked: z.ZodString;
|
|
743
|
-
}, z.core.$strip>>;
|
|
744
|
-
onboardedAt: z.ZodNullable<z.ZodString>;
|
|
745
|
-
createdAt: z.ZodString;
|
|
746
|
-
}, z.core.$strip>;
|
|
747
|
-
type Project = z.infer<typeof ProjectSchema>;
|
|
748
|
-
/** POST /v1/projects — bootstrap auth (admin token). Secret is shown exactly once. */
|
|
749
|
-
declare const CreateProjectRequestSchema: z.ZodObject<{
|
|
750
|
-
name: z.ZodString;
|
|
751
|
-
allowedOrigins: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
752
|
-
}, z.core.$strip>;
|
|
753
|
-
type CreateProjectRequest = z.infer<typeof CreateProjectRequestSchema>;
|
|
754
|
-
declare const CreateProjectResponseSchema: z.ZodObject<{
|
|
755
|
-
project: z.ZodObject<{
|
|
756
|
-
id: z.ZodString;
|
|
757
|
-
name: z.ZodString;
|
|
758
|
-
accessId: z.ZodString;
|
|
759
|
-
allowedOrigins: z.ZodArray<z.ZodString>;
|
|
760
|
-
destination: z.ZodNullable<z.ZodEnum<{
|
|
761
|
-
github: "github";
|
|
762
|
-
jira: "jira";
|
|
763
|
-
linear: "linear";
|
|
764
|
-
}>>;
|
|
765
|
-
dashboardUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
766
|
-
s3: z.ZodNullable<z.ZodObject<{
|
|
767
|
-
bucket: z.ZodString;
|
|
768
|
-
region: z.ZodString;
|
|
769
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
770
|
-
forcePathStyle: z.ZodOptional<z.ZodBoolean>;
|
|
771
|
-
accessKeyIdMasked: z.ZodString;
|
|
772
|
-
}, z.core.$strip>>;
|
|
773
|
-
onboardedAt: z.ZodNullable<z.ZodString>;
|
|
774
|
-
createdAt: z.ZodString;
|
|
775
|
-
}, z.core.$strip>;
|
|
776
|
-
accessId: z.ZodString;
|
|
777
|
-
accessSecret: z.ZodString;
|
|
778
|
-
}, z.core.$strip>;
|
|
779
|
-
type CreateProjectResponse = z.infer<typeof CreateProjectResponseSchema>;
|
|
780
|
-
/** PATCH /v1/project — secret auth. */
|
|
781
|
-
declare const UpdateProjectRequestSchema: z.ZodObject<{
|
|
782
|
-
name: z.ZodOptional<z.ZodString>;
|
|
783
|
-
allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
784
|
-
onboarded: z.ZodOptional<z.ZodBoolean>;
|
|
785
|
-
dashboardUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
|
-
}, z.core.$strip>;
|
|
787
|
-
type UpdateProjectRequest = z.infer<typeof UpdateProjectRequestSchema>;
|
|
788
|
-
declare const ListIntegrationsResponseSchema: z.ZodObject<{
|
|
789
|
-
integrations: z.ZodArray<z.ZodObject<{
|
|
790
|
-
provider: z.ZodEnum<{
|
|
791
|
-
github: "github";
|
|
792
|
-
jira: "jira";
|
|
793
|
-
linear: "linear";
|
|
794
|
-
}>;
|
|
795
|
-
status: z.ZodEnum<{
|
|
796
|
-
disconnected: "disconnected";
|
|
797
|
-
pending: "pending";
|
|
798
|
-
connected: "connected";
|
|
799
|
-
}>;
|
|
800
|
-
account: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
801
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
|
802
|
-
config: z.ZodDefault<z.ZodObject<{
|
|
803
|
-
repo: z.ZodOptional<z.ZodString>;
|
|
804
|
-
teamKey: z.ZodOptional<z.ZodString>;
|
|
805
|
-
projectKey: z.ZodOptional<z.ZodString>;
|
|
806
|
-
issueType: z.ZodOptional<z.ZodString>;
|
|
807
|
-
}, z.core.$strip>>;
|
|
808
|
-
}, z.core.$strip>>;
|
|
809
|
-
}, z.core.$strip>;
|
|
810
|
-
type ListIntegrationsResponse = z.infer<typeof ListIntegrationsResponseSchema>;
|
|
811
|
-
/** Body for POST /v1/integrations/:provider/connect. */
|
|
812
|
-
declare const ConnectIntegrationRequestSchema: z.ZodObject<{
|
|
813
|
-
returnUrl: z.ZodOptional<z.ZodString>;
|
|
814
|
-
}, z.core.$strip>;
|
|
815
|
-
type ConnectIntegrationRequest = z.infer<typeof ConnectIntegrationRequestSchema>;
|
|
816
|
-
declare const ConnectIntegrationResponseSchema: z.ZodObject<{
|
|
817
|
-
authorizeUrl: z.ZodString;
|
|
818
|
-
provider: z.ZodEnum<{
|
|
819
|
-
github: "github";
|
|
820
|
-
jira: "jira";
|
|
821
|
-
linear: "linear";
|
|
822
|
-
}>;
|
|
823
|
-
}, z.core.$strip>;
|
|
824
|
-
type ConnectIntegrationResponse = z.infer<typeof ConnectIntegrationResponseSchema>;
|
|
825
|
-
|
|
826
662
|
declare const SDK_NAME = "@merittdev/horus-lens";
|
|
827
663
|
declare const SDK_VERSION = "0.0.1";
|
|
828
664
|
|
|
@@ -903,4 +739,4 @@ declare class LensClient {
|
|
|
903
739
|
private warn;
|
|
904
740
|
}
|
|
905
741
|
|
|
906
|
-
export { ACCESS_ID_PREFIX, ACCESS_SECRET_PREFIX, type Annotation, AnnotationSchema, type ApiError, ApiErrorSchema, type AppContext, AppContextSchema, type AssetKind, AssetKindSchema, type AssetRef, AssetRefSchema, type AttachAssetRequest, AttachAssetRequestSchema, type
|
|
742
|
+
export { ACCESS_ID_PREFIX, ACCESS_SECRET_PREFIX, type Annotation, AnnotationSchema, type ApiError, ApiErrorSchema, type AppContext, AppContextSchema, type AssetKind, AssetKindSchema, type AssetRef, AssetRefSchema, type AttachAssetRequest, AttachAssetRequestSchema, type ConsoleEntry, ConsoleEntrySchema, type ConsoleLevel, ConsoleLevelSchema, type EnvContext, EnvContextSchema, type ErrorEntry, ErrorEntrySchema, type FinalizeReportRequest, FinalizeReportRequestSchema, type FinalizeReportResponse, FinalizeReportResponseSchema, type InitiateReportRequest, InitiateReportRequestSchema, type InitiateReportResponse, InitiateReportResponseSchema, LensClient, type LensConfig, type ListReportsQuery, ListReportsQuerySchema, type NetworkEntry, NetworkEntrySchema, type Report, type ReportMetadata, ReportMetadataSchema, ReportSchema, type ReportStatus, ReportStatusSchema, type ReportSummary, ReportSummarySchema, SDK_NAME, SDK_VERSION, type TargetElement, TargetElementSchema, isAccessId, isAccessSecret };
|
package/dist/index.js
CHANGED
|
@@ -7,42 +7,27 @@ import {
|
|
|
7
7
|
AssetKindSchema,
|
|
8
8
|
AssetRefSchema,
|
|
9
9
|
AttachAssetRequestSchema,
|
|
10
|
-
ConnectIntegrationRequestSchema,
|
|
11
|
-
ConnectIntegrationResponseSchema,
|
|
12
10
|
ConsoleEntrySchema,
|
|
13
11
|
ConsoleLevelSchema,
|
|
14
|
-
CreateProjectRequestSchema,
|
|
15
|
-
CreateProjectResponseSchema,
|
|
16
12
|
EnvContextSchema,
|
|
17
13
|
ErrorEntrySchema,
|
|
18
14
|
FinalizeReportRequestSchema,
|
|
19
15
|
FinalizeReportResponseSchema,
|
|
20
16
|
InitiateReportRequestSchema,
|
|
21
17
|
InitiateReportResponseSchema,
|
|
22
|
-
IntegrationConfigSchema,
|
|
23
|
-
IntegrationProviderSchema,
|
|
24
|
-
IntegrationSchema,
|
|
25
|
-
IntegrationStatusSchema,
|
|
26
18
|
LensClient,
|
|
27
|
-
ListIntegrationsResponseSchema,
|
|
28
19
|
ListReportsQuerySchema,
|
|
29
20
|
NetworkEntrySchema,
|
|
30
|
-
ProjectSchema,
|
|
31
21
|
ReportMetadataSchema,
|
|
32
22
|
ReportSchema,
|
|
33
23
|
ReportStatusSchema,
|
|
34
24
|
ReportSummarySchema,
|
|
35
|
-
S3ConfigInputSchema,
|
|
36
|
-
S3ConfigPublicSchema,
|
|
37
25
|
SDK_NAME,
|
|
38
26
|
SDK_VERSION,
|
|
39
27
|
TargetElementSchema,
|
|
40
|
-
UpdateProjectRequestSchema,
|
|
41
28
|
isAccessId,
|
|
42
29
|
isAccessSecret
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-DWOH2ENF.js";
|
|
45
|
-
import "./chunk-PZ5AY32C.js";
|
|
30
|
+
} from "./chunk-MTQ3IO4U.js";
|
|
46
31
|
export {
|
|
47
32
|
ACCESS_ID_PREFIX,
|
|
48
33
|
ACCESS_SECRET_PREFIX,
|
|
@@ -52,37 +37,24 @@ export {
|
|
|
52
37
|
AssetKindSchema,
|
|
53
38
|
AssetRefSchema,
|
|
54
39
|
AttachAssetRequestSchema,
|
|
55
|
-
ConnectIntegrationRequestSchema,
|
|
56
|
-
ConnectIntegrationResponseSchema,
|
|
57
40
|
ConsoleEntrySchema,
|
|
58
41
|
ConsoleLevelSchema,
|
|
59
|
-
CreateProjectRequestSchema,
|
|
60
|
-
CreateProjectResponseSchema,
|
|
61
42
|
EnvContextSchema,
|
|
62
43
|
ErrorEntrySchema,
|
|
63
44
|
FinalizeReportRequestSchema,
|
|
64
45
|
FinalizeReportResponseSchema,
|
|
65
46
|
InitiateReportRequestSchema,
|
|
66
47
|
InitiateReportResponseSchema,
|
|
67
|
-
IntegrationConfigSchema,
|
|
68
|
-
IntegrationProviderSchema,
|
|
69
|
-
IntegrationSchema,
|
|
70
|
-
IntegrationStatusSchema,
|
|
71
48
|
LensClient,
|
|
72
|
-
ListIntegrationsResponseSchema,
|
|
73
49
|
ListReportsQuerySchema,
|
|
74
50
|
NetworkEntrySchema,
|
|
75
|
-
ProjectSchema,
|
|
76
51
|
ReportMetadataSchema,
|
|
77
52
|
ReportSchema,
|
|
78
53
|
ReportStatusSchema,
|
|
79
54
|
ReportSummarySchema,
|
|
80
|
-
S3ConfigInputSchema,
|
|
81
|
-
S3ConfigPublicSchema,
|
|
82
55
|
SDK_NAME,
|
|
83
56
|
SDK_VERSION,
|
|
84
57
|
TargetElementSchema,
|
|
85
|
-
UpdateProjectRequestSchema,
|
|
86
58
|
isAccessId,
|
|
87
59
|
isAccessSecret
|
|
88
60
|
};
|