graphlit-client 1.0.20250428007 → 1.0.20250501001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApolloClient, NormalizedCacheObject } from '@apollo/client/core';
2
- import * as Types from './generated/graphql-types';
2
+ import * as Types from './generated/graphql-types.js';
3
3
  declare class Graphlit {
4
4
  client: ApolloClient<NormalizedCacheObject> | undefined;
5
5
  token: string | undefined;
@@ -282,4 +282,4 @@ declare class Graphlit {
282
282
  private queryAndCheckError;
283
283
  }
284
284
  export { Graphlit };
285
- export * as Types from './generated/graphql-types';
285
+ export * as Types from './generated/graphql-types.js';
package/dist/client.js CHANGED
@@ -45,7 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
45
45
  exports.Types = exports.Graphlit = void 0;
46
46
  const jwt = __importStar(require("jsonwebtoken"));
47
47
  const core_1 = require("@apollo/client/core");
48
- const Documents = __importStar(require("./generated/graphql-documents"));
48
+ const Documents = __importStar(require("./generated/graphql-documents.js"));
49
49
  const dotenv = __importStar(require("dotenv"));
50
50
  // Define the Graphlit class
51
51
  class Graphlit {
@@ -1540,4 +1540,4 @@ class Graphlit {
1540
1540
  }
1541
1541
  }
1542
1542
  exports.Graphlit = Graphlit;
1543
- exports.Types = __importStar(require("./generated/graphql-types"));
1543
+ exports.Types = __importStar(require("./generated/graphql-types.js"));
@@ -3769,10 +3769,12 @@ exports.Prompt = (0, graphql_tag_1.default) `
3769
3769
  }
3770
3770
  `;
3771
3771
  exports.PromptConversation = (0, graphql_tag_1.default) `
3772
- mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $includeDetails: Boolean, $correlationId: String) {
3772
+ mutation PromptConversation($prompt: String!, $mimeType: String, $data: String, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $includeDetails: Boolean, $correlationId: String) {
3773
3773
  promptConversation(
3774
3774
  prompt: $prompt
3775
3775
  id: $id
3776
+ mimeType: $mimeType
3777
+ data: $data
3776
3778
  specification: $specification
3777
3779
  tools: $tools
3778
3780
  requireTool: $requireTool
@@ -18024,6 +18024,8 @@ export type PromptMutation = {
18024
18024
  };
18025
18025
  export type PromptConversationMutationVariables = Exact<{
18026
18026
  prompt: Scalars['String']['input'];
18027
+ mimeType?: InputMaybe<Scalars['String']['input']>;
18028
+ data?: InputMaybe<Scalars['String']['input']>;
18027
18029
  id?: InputMaybe<Scalars['ID']['input']>;
18028
18030
  specification?: InputMaybe<EntityReferenceInput>;
18029
18031
  tools?: InputMaybe<Array<ToolDefinitionInput> | ToolDefinitionInput>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250428007",
3
+ "version": "1.0.20250501001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",