@caido/sdk-frontend 0.45.2-beta.4 → 0.46.1-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caido/sdk-frontend",
3
- "version": "0.45.2-beta.4",
3
+ "version": "0.46.1-beta.0",
4
4
  "description": "Typing for the Caido Frontend SDK",
5
5
  "author": "Caido Labs Inc. <dev@caido.io>",
6
6
  "license": "MIT",
@@ -13843,6 +13843,13 @@ export type ReleaseFullFragment = {
13843
13843
  platform: string;
13844
13844
  }>;
13845
13845
  };
13846
+ export type LogLineFullFragment = {
13847
+ __typename: "LogLine";
13848
+ level: LogLevel;
13849
+ message: string;
13850
+ target: string;
13851
+ timestamp: Date;
13852
+ };
13846
13853
  export type GetUpdateStateQueryVariables = Exact<{
13847
13854
  [key: string]: never;
13848
13855
  }>;
@@ -13912,6 +13919,20 @@ export type RegenerateCertificateMutation = {
13912
13919
  success: boolean;
13913
13920
  };
13914
13921
  };
13922
+ export type CreatedLogLinesSubscriptionVariables = Exact<{
13923
+ duration: Scalars["Duration"]["input"];
13924
+ }>;
13925
+ export type CreatedLogLinesSubscription = {
13926
+ createdLogLines: {
13927
+ lines: Array<{
13928
+ __typename: "LogLine";
13929
+ level: LogLevel;
13930
+ message: string;
13931
+ target: string;
13932
+ timestamp: Date;
13933
+ }>;
13934
+ };
13935
+ };
13915
13936
  export type ScopeFullFragment = {
13916
13937
  __typename: "Scope";
13917
13938
  id: string;
@@ -15947,6 +15968,7 @@ export declare const RequestEdgeMetaFragmentDoc = "\n fragment requestEdgeMet
15947
15968
  export declare const ResponseFullFragmentDoc = "\n fragment responseFull on Response {\n ...responseMeta\n raw\n edits {\n ...responseMeta\n }\n}\n ";
15948
15969
  export declare const RuntimeFullFragmentDoc = "\n fragment runtimeFull on Runtime {\n __typename\n version\n platform\n}\n ";
15949
15970
  export declare const ReleaseFullFragmentDoc = "\n fragment releaseFull on Release {\n __typename\n links {\n __typename\n display\n link\n platform\n }\n releasedAt\n version\n}\n ";
15971
+ export declare const LogLineFullFragmentDoc = "\n fragment logLineFull on LogLine {\n __typename\n level\n message\n target\n timestamp\n}\n ";
15950
15972
  export declare const ScopeFullFragmentDoc = "\n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
15951
15973
  export declare const SitemapEntryMetaFragmentDoc = "\n fragment sitemapEntryMeta on SitemapEntry {\n __typename\n id\n label\n kind\n parentId\n metadata {\n ... on SitemapEntryMetadataDomain {\n isTls\n port\n }\n }\n hasDescendants\n}\n ";
15952
15974
  export declare const SitemapEntryEdgeMetaFragmentDoc = "\n fragment sitemapEntryEdgeMeta on SitemapEntryEdge {\n __typename\n cursor\n node {\n ...sitemapEntryMeta\n }\n}\n ";
@@ -16171,6 +16193,7 @@ export declare const GetLogsDocument = "\n query getLogs {\n runtime {\n
16171
16193
  export declare const GetCertificateDocument = "\n query getCertificate($password: Sensitive) {\n runtime {\n certificate {\n p12(password: $password)\n }\n }\n}\n ";
16172
16194
  export declare const ImportCertificateDocument = "\n mutation importCertificate($input: ImportCertificateInput!) {\n importCertificate(input: $input) {\n error {\n __typename\n ... on CertificateUserError {\n ...certificateUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n }\n}\n \n fragment certificateUserErrorFull on CertificateUserError {\n ...userErrorFull\n certificateReason: reason\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n ";
16173
16195
  export declare const RegenerateCertificateDocument = "\n mutation regenerateCertificate {\n regenerateCertificate {\n success\n }\n}\n ";
16196
+ export declare const CreatedLogLinesDocument = "\n subscription createdLogLines($duration: Duration!) {\n createdLogLines(duration: $duration) {\n lines {\n ...logLineFull\n }\n }\n}\n \n fragment logLineFull on LogLine {\n __typename\n level\n message\n target\n timestamp\n}\n ";
16174
16197
  export declare const CreateScopeDocument = "\n mutation createScope($input: CreateScopeInput!) {\n createScope(input: $input) {\n error {\n ... on InvalidGlobTermsUserError {\n ...invalidGlobTermsUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n scope {\n ...scopeFull\n }\n }\n}\n \n fragment invalidGlobTermsUserErrorFull on InvalidGlobTermsUserError {\n ...userErrorFull\n terms\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
16175
16198
  export declare const UpdateScopeDocument = "\n mutation updateScope($id: ID!, $input: UpdateScopeInput!) {\n updateScope(id: $id, input: $input) {\n error {\n ... on InvalidGlobTermsUserError {\n ...invalidGlobTermsUserErrorFull\n }\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n }\n scope {\n ...scopeFull\n }\n }\n}\n \n fragment invalidGlobTermsUserErrorFull on InvalidGlobTermsUserError {\n ...userErrorFull\n terms\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment scopeFull on Scope {\n __typename\n id\n name\n allowlist\n denylist\n indexed\n}\n ";
16176
16199
  export declare const DeleteScopeDocument = "\n mutation deleteScope($id: ID!) {\n deleteScope(id: $id) {\n deletedId\n }\n}\n ";
@@ -16443,6 +16466,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
16443
16466
  getCertificate(variables?: GetCertificateQueryVariables, options?: C): Promise<GetCertificateQuery>;
16444
16467
  importCertificate(variables: ImportCertificateMutationVariables, options?: C): Promise<ImportCertificateMutation>;
16445
16468
  regenerateCertificate(variables?: RegenerateCertificateMutationVariables, options?: C): Promise<RegenerateCertificateMutation>;
16469
+ createdLogLines(variables: CreatedLogLinesSubscriptionVariables, options?: C): AsyncIterable<CreatedLogLinesSubscription>;
16446
16470
  createScope(variables: CreateScopeMutationVariables, options?: C): Promise<CreateScopeMutation>;
16447
16471
  updateScope(variables: UpdateScopeMutationVariables, options?: C): Promise<UpdateScopeMutation>;
16448
16472
  deleteScope(variables: DeleteScopeMutationVariables, options?: C): Promise<DeleteScopeMutation>;