@burdenoff/fluidgrids-fe-sdk 2026.804.2 → 2026.805.2

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.
@@ -1,8 +1,8 @@
1
- export { WorkflowBuilder } from './chunk-WQ4QNHDN.js';
1
+ export { WorkflowBuilder } from './chunk-TOBDOMLN.js';
2
2
  import './chunk-P5PKRQAO.js';
3
3
  import './chunk-OHGXRM6Z.js';
4
4
  import './chunk-BQXHJIER.js';
5
- import './chunk-PNOA7CQV.js';
5
+ import './chunk-6LXMUIR3.js';
6
6
  import './chunk-Y36DJHU3.js';
7
7
  import './chunk-MH4AHYK3.js';
8
8
  import './chunk-UIY2HBWA.js';
@@ -13,5 +13,5 @@ import './chunk-XQP33UJR.js';
13
13
  import './chunk-DBOMRIP5.js';
14
14
  import './chunk-3ZYUGTIT.js';
15
15
  import './chunk-7VNIEIR6.js';
16
- //# sourceMappingURL=WorkflowBuilder-ETVB66U6.js.map
17
- //# sourceMappingURL=WorkflowBuilder-ETVB66U6.js.map
16
+ //# sourceMappingURL=WorkflowBuilder-TQ7VHVUD.js.map
17
+ //# sourceMappingURL=WorkflowBuilder-TQ7VHVUD.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-ETVB66U6.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"WorkflowBuilder-TQ7VHVUD.js"}
@@ -36,11 +36,12 @@ function useInstallWorkflowNodeMutation(baseOptions) {
36
36
  return ApolloReactHooks.useMutation(InstallWorkflowNodeDocument, options);
37
37
  }
38
38
  var InstallPurchasedNodeDocument = gql`
39
- mutation InstallPurchasedNode($productId: String!, $workspaceId: String!, $orderId: ID) {
39
+ mutation InstallPurchasedNode($productId: String!, $workspaceId: String!, $orderId: ID, $version: String) {
40
40
  installPurchasedApp(
41
41
  productId: $productId
42
42
  workspaceId: $workspaceId
43
43
  orderId: $orderId
44
+ version: $version
44
45
  ) {
45
46
  success
46
47
  installation {
@@ -94,6 +95,7 @@ var BrowseWorkflowNodesDocument = gql`
94
95
  browseStore(input: $input) {
95
96
  products {
96
97
  id
98
+ productId
97
99
  name
98
100
  slug
99
101
  type
@@ -240,6 +242,29 @@ function useGetMyNodeInstallationsSuspenseQuery(baseOptions) {
240
242
  const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
241
243
  return ApolloReactHooks.useSuspenseQuery(GetMyNodeInstallationsDocument, options);
242
244
  }
245
+ var GetNodeInstallableVersionsDocument = gql`
246
+ query GetNodeInstallableVersions($applicationId: ID!) {
247
+ installableApplicationVersions(applicationId: $applicationId) {
248
+ id
249
+ version
250
+ status
251
+ isLatest
252
+ manifest
253
+ }
254
+ }
255
+ `;
256
+ function useGetNodeInstallableVersionsQuery(baseOptions) {
257
+ const options = { ...defaultOptions, ...baseOptions };
258
+ return ApolloReactHooks.useQuery(GetNodeInstallableVersionsDocument, options);
259
+ }
260
+ function useGetNodeInstallableVersionsLazyQuery(baseOptions) {
261
+ const options = { ...defaultOptions, ...baseOptions };
262
+ return ApolloReactHooks.useLazyQuery(GetNodeInstallableVersionsDocument, options);
263
+ }
264
+ function useGetNodeInstallableVersionsSuspenseQuery(baseOptions) {
265
+ const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
266
+ return ApolloReactHooks.useSuspenseQuery(GetNodeInstallableVersionsDocument, options);
267
+ }
243
268
  var GetWorkflowTemplateDetailDocument = gql`
244
269
  query GetWorkflowTemplateDetail($id: ID!) {
245
270
  product(id: $id) {
@@ -295,6 +320,6 @@ function useGetWorkflowTemplateDetailSuspenseQuery(baseOptions) {
295
320
  return ApolloReactHooks.useSuspenseQuery(GetWorkflowTemplateDetailDocument, options);
296
321
  }
297
322
 
298
- export { BrowseWorkflowNodesDocument, BrowseWorkflowTemplatesDocument, CreateStoreOrderDocument, GetMyNodeInstallationsDocument, GetWorkflowTemplateDetailDocument, InstallPurchasedNodeDocument, InstallWorkflowNodeDocument, RecordDownloadDocument, UninstallWorkflowNodeDocument, useBrowseWorkflowNodesLazyQuery, useBrowseWorkflowNodesQuery, useBrowseWorkflowNodesSuspenseQuery, useBrowseWorkflowTemplatesLazyQuery, useBrowseWorkflowTemplatesQuery, useBrowseWorkflowTemplatesSuspenseQuery, useCreateStoreOrderMutation, useGetMyNodeInstallationsLazyQuery, useGetMyNodeInstallationsQuery, useGetMyNodeInstallationsSuspenseQuery, useGetWorkflowTemplateDetailLazyQuery, useGetWorkflowTemplateDetailQuery, useGetWorkflowTemplateDetailSuspenseQuery, useInstallPurchasedNodeMutation, useInstallWorkflowNodeMutation, useRecordDownloadMutation, useUninstallWorkflowNodeMutation };
299
- //# sourceMappingURL=chunk-PNOA7CQV.js.map
300
- //# sourceMappingURL=chunk-PNOA7CQV.js.map
323
+ export { BrowseWorkflowNodesDocument, BrowseWorkflowTemplatesDocument, CreateStoreOrderDocument, GetMyNodeInstallationsDocument, GetNodeInstallableVersionsDocument, GetWorkflowTemplateDetailDocument, InstallPurchasedNodeDocument, InstallWorkflowNodeDocument, RecordDownloadDocument, UninstallWorkflowNodeDocument, useBrowseWorkflowNodesLazyQuery, useBrowseWorkflowNodesQuery, useBrowseWorkflowNodesSuspenseQuery, useBrowseWorkflowTemplatesLazyQuery, useBrowseWorkflowTemplatesQuery, useBrowseWorkflowTemplatesSuspenseQuery, useCreateStoreOrderMutation, useGetMyNodeInstallationsLazyQuery, useGetMyNodeInstallationsQuery, useGetMyNodeInstallationsSuspenseQuery, useGetNodeInstallableVersionsLazyQuery, useGetNodeInstallableVersionsQuery, useGetNodeInstallableVersionsSuspenseQuery, useGetWorkflowTemplateDetailLazyQuery, useGetWorkflowTemplateDetailQuery, useGetWorkflowTemplateDetailSuspenseQuery, useInstallPurchasedNodeMutation, useInstallWorkflowNodeMutation, useRecordDownloadMutation, useUninstallWorkflowNodeMutation };
324
+ //# sourceMappingURL=chunk-6LXMUIR3.js.map
325
+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AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAA;AA2D1C,SAAS,kCAAkC,WAAA,EAA2N;AACrQ,EAAA,MAAM,OAAA,GAAU,EAAC,GAAG,cAAA,EAAgB,GAAG,WAAA,EAAW;AAClD,EAAA,OAAwB,gBAAA,CAAA,QAAA,CAAkF,mCAAmC,OAAO,CAAA;AACtJ;AACC,SAAS,sCAAsC,WAAA,EAA8H;AAC1K,EAAA,MAAM,OAAA,GAAU,EAAC,GAAG,cAAA,EAAgB,GAAG,WAAA,EAAW;AAClD,EAAA,OAAwB,gBAAA,CAAA,YAAA,CAAsF,mCAAmC,OAAO,CAAA;AAC1J;AAID,SAAS,0CAA0C,WAAA,EAA+J;AAC/M,EAAA,MAAM,OAAA,GAAU,gBAAiC,gBAAA,CAAA,SAAA,GAAY,WAAA,GAAc,EAAC,GAAG,cAAA,EAAgB,GAAG,WAAA,EAAW;AAC7G,EAAA,OAAwB,gBAAA,CAAA,gBAAA,CAA0F,mCAAmC,OAAO,CAAA;AAC9J","file":"chunk-6LXMUIR3.js","sourcesContent":["// @ts-nocheck\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type CreateStoreOrderMutationVariables = Exact<{\n input: CreateStoreOrderInput;\n}>;\n\n\nexport type CreateStoreOrderMutation = { __typename?: 'Mutation', createStoreOrder: { __typename?: 'StoreOrder', id: string, status: OrderStatus, total: number, lineItems: Record<string, unknown>, createdAt: string } };\n\nexport type InstallWorkflowNodeMutationVariables = Exact<{\n input: RecordAppInstallationInput;\n}>;\n\n\nexport type InstallWorkflowNodeMutation = { __typename?: 'Mutation', recordAppInstallation: { __typename?: 'StoreAppInstallation', id: string, productId: string, workspaceId: string, organizationId?: string | null, status: StoreInstallationStatus, version?: string | null, manifest?: Record<string, unknown> | null, installedAt: string } };\n\nexport type InstallPurchasedNodeMutationVariables = Exact<{\n productId: Scalars['String']['input'];\n workspaceId: Scalars['String']['input'];\n orderId?: InputMaybe<Scalars['ID']['input']>;\n version?: InputMaybe<Scalars['String']['input']>;\n}>;\n\n\nexport type InstallPurchasedNodeMutation = { __typename?: 'Mutation', installPurchasedApp: { __typename?: 'InstallPurchasedAppResult', success: boolean, error?: string | null, message?: string | null, installation?: { __typename?: 'StoreAppInstallation', id: string, productId: string, workspaceId: string, organizationId?: string | null, status: StoreInstallationStatus, version?: string | null, manifest?: Record<string, unknown> | null, installedAt: string } | null } };\n\nexport type RecordDownloadMutationVariables = Exact<{\n productId: Scalars['String']['input'];\n}>;\n\n\nexport type RecordDownloadMutation = { __typename?: 'Mutation', recordDownload: { __typename?: 'ProductDownload', id: string, downloadedAt: string } };\n\nexport type UninstallWorkflowNodeMutationVariables = Exact<{\n productId: Scalars['String']['input'];\n workspaceId: Scalars['String']['input'];\n}>;\n\n\nexport type UninstallWorkflowNodeMutation = { __typename?: 'Mutation', recordAppUninstallation: { __typename?: 'StoreAppInstallation', id: string, productId: string, workspaceId: string, status: StoreInstallationStatus, uninstalledAt?: string | null } };\n\nexport type BrowseWorkflowNodesQueryVariables = Exact<{\n input: BrowseStoreInput;\n}>;\n\n\nexport type BrowseWorkflowNodesQuery = { __typename?: 'Query', browseStore: { __typename?: 'BrowseStoreResult', totalCount: number, hasMore: boolean, nextCursor?: string | null, products: Array<{ __typename?: 'StoreProduct', id: string, productId?: string | null, name: string, slug: string, type: ProductType, subType?: string | null, description?: string | null, icon?: string | null, rating?: number | null, reviewCount: number, downloads: number, price: number, pricingModel: PricingModel, currency: string, featured: boolean, manifest?: Record<string, unknown> | null, manifestVersion?: string | null, authorName?: string | null, license?: string | null, compatibleProducts: Array<string>, requiredPermissions: Array<string>, integrationDeps: Array<string>, zipFileUrl?: string | null, isPurchased?: boolean | null, publisher?: { __typename?: 'Publisher', id: string, name: string, isVerified: boolean } | null }> } };\n\nexport type BrowseWorkflowTemplatesQueryVariables = Exact<{\n input: BrowseStoreInput;\n}>;\n\n\nexport type BrowseWorkflowTemplatesQuery = { __typename?: 'Query', browseStore: { __typename?: 'BrowseStoreResult', totalCount: number, hasMore: boolean, nextCursor?: string | null, products: Array<{ __typename?: 'StoreProduct', id: string, name: string, slug: string, type: ProductType, subType?: string | null, description?: string | null, longDescription?: string | null, icon?: string | null, screenshots: Array<string>, videoUrls: Array<string>, rating?: number | null, reviewCount: number, downloads: number, viewCount: number, price: number, pricingModel: PricingModel, currency: string, featured: boolean, manifest?: Record<string, unknown> | null, manifestVersion?: string | null, content?: Record<string, unknown> | null, authorName?: string | null, license?: string | null, category?: string | null, tags: Array<string>, compatibleProducts: Array<string>, zipFileUrl?: string | null, isPurchased?: boolean | null, createdAt: string, updatedAt: string, publishedAt?: string | null, publisher?: { __typename?: 'Publisher', id: string, name: string, email: string, websiteUrl?: string | null, logoUrl?: string | null, isVerified: boolean } | null }> } };\n\nexport type GetMyNodeInstallationsQueryVariables = Exact<{\n workspaceId: Scalars['String']['input'];\n limit?: InputMaybe<Scalars['Int']['input']>;\n offset?: InputMaybe<Scalars['Int']['input']>;\n}>;\n\n\nexport type GetMyNodeInstallationsQuery = { __typename?: 'Query', myStoreAppInstallations: { __typename?: 'StoreAppInstallationConnection', total: number, hasMore: boolean, items: Array<{ __typename?: 'StoreAppInstallation', id: string, productId: string, workspaceId: string, installedById: string, status: StoreInstallationStatus, version?: string | null, manifest?: Record<string, unknown> | null, installedAt: string, updatedAt: string, productName?: string | null, productIcon?: string | null, productStatus?: string | null }> } };\n\nexport type GetNodeInstallableVersionsQueryVariables = Exact<{\n applicationId: Scalars['ID']['input'];\n}>;\n\n\nexport type GetNodeInstallableVersionsQuery = { __typename?: 'Query', installableApplicationVersions: Array<{ __typename?: 'ApplicationVersion', id: string, version: string, status: string, isLatest: boolean, manifest?: Record<string, unknown> | null }> };\n\nexport type GetWorkflowTemplateDetailQueryVariables = Exact<{\n id: Scalars['ID']['input'];\n}>;\n\n\nexport type GetWorkflowTemplateDetailQuery = { __typename?: 'Query', product?: { __typename?: 'StoreProduct', id: string, name: string, slug: string, type: ProductType, description?: string | null, longDescription?: string | null, icon?: string | null, screenshots: Array<string>, videoUrls: Array<string>, rating?: number | null, reviewCount: number, downloads: number, viewCount: number, price: number, pricingModel: PricingModel, currency: string, featured: boolean, content?: Record<string, unknown> | null, manifest?: Record<string, unknown> | null, manifestVersion?: string | null, authorName?: string | null, license?: string | null, category?: string | null, tags: Array<string>, compatibleProducts: Array<string>, createdAt: string, updatedAt: string, publishedAt?: string | null, publisher?: { __typename?: 'Publisher', id: string, name: string, email: string, websiteUrl?: string | null, logoUrl?: string | null, isVerified: boolean } | null } | null };\n\n\nexport const CreateStoreOrderDocument = gql`\n mutation CreateStoreOrder($input: CreateStoreOrderInput!) {\n createStoreOrder(input: $input) {\n id\n status\n total\n lineItems\n createdAt\n }\n}\n `;\nexport type CreateStoreOrderMutationFn = Apollo.MutationFunction<CreateStoreOrderMutation, CreateStoreOrderMutationVariables>;\n\n/**\n * __useCreateStoreOrderMutation__\n *\n * To run a mutation, you first call `useCreateStoreOrderMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateStoreOrderMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [createStoreOrderMutation, { data, loading, error }] = useCreateStoreOrderMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateStoreOrderMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<CreateStoreOrderMutation, CreateStoreOrderMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<CreateStoreOrderMutation, CreateStoreOrderMutationVariables>(CreateStoreOrderDocument, options);\n }\nexport type CreateStoreOrderMutationHookResult = ReturnType<typeof useCreateStoreOrderMutation>;\nexport type CreateStoreOrderMutationResult = Apollo.MutationResult<CreateStoreOrderMutation>;\nexport type CreateStoreOrderMutationOptions = Apollo.BaseMutationOptions<CreateStoreOrderMutation, CreateStoreOrderMutationVariables>;\nexport const InstallWorkflowNodeDocument = gql`\n mutation InstallWorkflowNode($input: RecordAppInstallationInput!) {\n recordAppInstallation(input: $input) {\n id\n productId\n workspaceId\n organizationId\n status\n version\n manifest\n installedAt\n }\n}\n `;\nexport type InstallWorkflowNodeMutationFn = Apollo.MutationFunction<InstallWorkflowNodeMutation, InstallWorkflowNodeMutationVariables>;\n\n/**\n * __useInstallWorkflowNodeMutation__\n *\n * To run a mutation, you first call `useInstallWorkflowNodeMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useInstallWorkflowNodeMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [installWorkflowNodeMutation, { data, loading, error }] = useInstallWorkflowNodeMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useInstallWorkflowNodeMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<InstallWorkflowNodeMutation, InstallWorkflowNodeMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<InstallWorkflowNodeMutation, InstallWorkflowNodeMutationVariables>(InstallWorkflowNodeDocument, options);\n }\nexport type InstallWorkflowNodeMutationHookResult = ReturnType<typeof useInstallWorkflowNodeMutation>;\nexport type InstallWorkflowNodeMutationResult = Apollo.MutationResult<InstallWorkflowNodeMutation>;\nexport type InstallWorkflowNodeMutationOptions = Apollo.BaseMutationOptions<InstallWorkflowNodeMutation, InstallWorkflowNodeMutationVariables>;\nexport const InstallPurchasedNodeDocument = gql`\n mutation InstallPurchasedNode($productId: String!, $workspaceId: String!, $orderId: ID, $version: String) {\n installPurchasedApp(\n productId: $productId\n workspaceId: $workspaceId\n orderId: $orderId\n version: $version\n ) {\n success\n installation {\n id\n productId\n workspaceId\n organizationId\n status\n version\n manifest\n installedAt\n }\n error\n message\n }\n}\n `;\nexport type InstallPurchasedNodeMutationFn = Apollo.MutationFunction<InstallPurchasedNodeMutation, InstallPurchasedNodeMutationVariables>;\n\n/**\n * __useInstallPurchasedNodeMutation__\n *\n * To run a mutation, you first call `useInstallPurchasedNodeMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useInstallPurchasedNodeMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [installPurchasedNodeMutation, { data, loading, error }] = useInstallPurchasedNodeMutation({\n * variables: {\n * productId: // value for 'productId'\n * workspaceId: // value for 'workspaceId'\n * orderId: // value for 'orderId'\n * version: // value for 'version'\n * },\n * });\n */\nexport function useInstallPurchasedNodeMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<InstallPurchasedNodeMutation, InstallPurchasedNodeMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<InstallPurchasedNodeMutation, InstallPurchasedNodeMutationVariables>(InstallPurchasedNodeDocument, options);\n }\nexport type InstallPurchasedNodeMutationHookResult = ReturnType<typeof useInstallPurchasedNodeMutation>;\nexport type InstallPurchasedNodeMutationResult = Apollo.MutationResult<InstallPurchasedNodeMutation>;\nexport type InstallPurchasedNodeMutationOptions = Apollo.BaseMutationOptions<InstallPurchasedNodeMutation, InstallPurchasedNodeMutationVariables>;\nexport const RecordDownloadDocument = gql`\n mutation RecordDownload($productId: String!) {\n recordDownload(productId: $productId) {\n id\n downloadedAt\n }\n}\n `;\nexport type RecordDownloadMutationFn = Apollo.MutationFunction<RecordDownloadMutation, RecordDownloadMutationVariables>;\n\n/**\n * __useRecordDownloadMutation__\n *\n * To run a mutation, you first call `useRecordDownloadMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useRecordDownloadMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [recordDownloadMutation, { data, loading, error }] = useRecordDownloadMutation({\n * variables: {\n * productId: // value for 'productId'\n * },\n * });\n */\nexport function useRecordDownloadMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<RecordDownloadMutation, RecordDownloadMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<RecordDownloadMutation, RecordDownloadMutationVariables>(RecordDownloadDocument, options);\n }\nexport type RecordDownloadMutationHookResult = ReturnType<typeof useRecordDownloadMutation>;\nexport type RecordDownloadMutationResult = Apollo.MutationResult<RecordDownloadMutation>;\nexport type RecordDownloadMutationOptions = Apollo.BaseMutationOptions<RecordDownloadMutation, RecordDownloadMutationVariables>;\nexport const UninstallWorkflowNodeDocument = gql`\n mutation UninstallWorkflowNode($productId: String!, $workspaceId: String!) {\n recordAppUninstallation(productId: $productId, workspaceId: $workspaceId) {\n id\n productId\n workspaceId\n status\n uninstalledAt\n }\n}\n `;\nexport type UninstallWorkflowNodeMutationFn = Apollo.MutationFunction<UninstallWorkflowNodeMutation, UninstallWorkflowNodeMutationVariables>;\n\n/**\n * __useUninstallWorkflowNodeMutation__\n *\n * To run a mutation, you first call `useUninstallWorkflowNodeMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUninstallWorkflowNodeMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [uninstallWorkflowNodeMutation, { data, loading, error }] = useUninstallWorkflowNodeMutation({\n * variables: {\n * productId: // value for 'productId'\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useUninstallWorkflowNodeMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UninstallWorkflowNodeMutation, UninstallWorkflowNodeMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<UninstallWorkflowNodeMutation, UninstallWorkflowNodeMutationVariables>(UninstallWorkflowNodeDocument, options);\n }\nexport type UninstallWorkflowNodeMutationHookResult = ReturnType<typeof useUninstallWorkflowNodeMutation>;\nexport type UninstallWorkflowNodeMutationResult = Apollo.MutationResult<UninstallWorkflowNodeMutation>;\nexport type UninstallWorkflowNodeMutationOptions = Apollo.BaseMutationOptions<UninstallWorkflowNodeMutation, UninstallWorkflowNodeMutationVariables>;\nexport const BrowseWorkflowNodesDocument = gql`\n query BrowseWorkflowNodes($input: BrowseStoreInput!) {\n browseStore(input: $input) {\n products {\n id\n productId\n name\n slug\n type\n subType\n description\n icon\n rating\n reviewCount\n downloads\n price\n pricingModel\n currency\n featured\n manifest\n manifestVersion\n authorName\n license\n compatibleProducts\n requiredPermissions\n integrationDeps\n zipFileUrl\n isPurchased\n publisher {\n id\n name\n isVerified\n }\n }\n totalCount\n hasMore\n nextCursor\n }\n}\n `;\n\n/**\n * __useBrowseWorkflowNodesQuery__\n *\n * To run a query within a React component, call `useBrowseWorkflowNodesQuery` and pass it any options that fit your needs.\n * When your component renders, `useBrowseWorkflowNodesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useBrowseWorkflowNodesQuery({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useBrowseWorkflowNodesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables> & ({ variables: BrowseWorkflowNodesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>(BrowseWorkflowNodesDocument, options);\n }\nexport function useBrowseWorkflowNodesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>(BrowseWorkflowNodesDocument, options);\n }\n// @ts-ignore\nexport function useBrowseWorkflowNodesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>;\nexport function useBrowseWorkflowNodesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<BrowseWorkflowNodesQuery | undefined, BrowseWorkflowNodesQueryVariables>;\nexport function useBrowseWorkflowNodesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>(BrowseWorkflowNodesDocument, options);\n }\nexport type BrowseWorkflowNodesQueryHookResult = ReturnType<typeof useBrowseWorkflowNodesQuery>;\nexport type BrowseWorkflowNodesLazyQueryHookResult = ReturnType<typeof useBrowseWorkflowNodesLazyQuery>;\nexport type BrowseWorkflowNodesSuspenseQueryHookResult = ReturnType<typeof useBrowseWorkflowNodesSuspenseQuery>;\nexport type BrowseWorkflowNodesQueryResult = Apollo.QueryResult<BrowseWorkflowNodesQuery, BrowseWorkflowNodesQueryVariables>;\nexport const BrowseWorkflowTemplatesDocument = gql`\n query BrowseWorkflowTemplates($input: BrowseStoreInput!) {\n browseStore(input: $input) {\n products {\n id\n name\n slug\n type\n subType\n description\n longDescription\n icon\n screenshots\n videoUrls\n rating\n reviewCount\n downloads\n viewCount\n price\n pricingModel\n currency\n featured\n manifest\n manifestVersion\n content\n authorName\n license\n category\n tags\n compatibleProducts\n zipFileUrl\n isPurchased\n publisher {\n id\n name\n email\n websiteUrl\n logoUrl\n isVerified\n }\n createdAt\n updatedAt\n publishedAt\n }\n totalCount\n hasMore\n nextCursor\n }\n}\n `;\n\n/**\n * __useBrowseWorkflowTemplatesQuery__\n *\n * To run a query within a React component, call `useBrowseWorkflowTemplatesQuery` and pass it any options that fit your needs.\n * When your component renders, `useBrowseWorkflowTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useBrowseWorkflowTemplatesQuery({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useBrowseWorkflowTemplatesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables> & ({ variables: BrowseWorkflowTemplatesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>(BrowseWorkflowTemplatesDocument, options);\n }\nexport function useBrowseWorkflowTemplatesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>(BrowseWorkflowTemplatesDocument, options);\n }\n// @ts-ignore\nexport function useBrowseWorkflowTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>;\nexport function useBrowseWorkflowTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<BrowseWorkflowTemplatesQuery | undefined, BrowseWorkflowTemplatesQueryVariables>;\nexport function useBrowseWorkflowTemplatesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>(BrowseWorkflowTemplatesDocument, options);\n }\nexport type BrowseWorkflowTemplatesQueryHookResult = ReturnType<typeof useBrowseWorkflowTemplatesQuery>;\nexport type BrowseWorkflowTemplatesLazyQueryHookResult = ReturnType<typeof useBrowseWorkflowTemplatesLazyQuery>;\nexport type BrowseWorkflowTemplatesSuspenseQueryHookResult = ReturnType<typeof useBrowseWorkflowTemplatesSuspenseQuery>;\nexport type BrowseWorkflowTemplatesQueryResult = Apollo.QueryResult<BrowseWorkflowTemplatesQuery, BrowseWorkflowTemplatesQueryVariables>;\nexport const GetMyNodeInstallationsDocument = gql`\n query GetMyNodeInstallations($workspaceId: String!, $limit: Int, $offset: Int) {\n myStoreAppInstallations(\n filter: {workspaceId: $workspaceId, status: ACTIVE}\n limit: $limit\n offset: $offset\n ) {\n items {\n id\n productId\n workspaceId\n installedById\n status\n version\n manifest\n installedAt\n updatedAt\n productName\n productIcon\n productStatus\n }\n total\n hasMore\n }\n}\n `;\n\n/**\n * __useGetMyNodeInstallationsQuery__\n *\n * To run a query within a React component, call `useGetMyNodeInstallationsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetMyNodeInstallationsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetMyNodeInstallationsQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * limit: // value for 'limit'\n * offset: // value for 'offset'\n * },\n * });\n */\nexport function useGetMyNodeInstallationsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables> & ({ variables: GetMyNodeInstallationsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>(GetMyNodeInstallationsDocument, options);\n }\nexport function useGetMyNodeInstallationsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>(GetMyNodeInstallationsDocument, options);\n }\n// @ts-ignore\nexport function useGetMyNodeInstallationsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>;\nexport function useGetMyNodeInstallationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<GetMyNodeInstallationsQuery | undefined, GetMyNodeInstallationsQueryVariables>;\nexport function useGetMyNodeInstallationsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>(GetMyNodeInstallationsDocument, options);\n }\nexport type GetMyNodeInstallationsQueryHookResult = ReturnType<typeof useGetMyNodeInstallationsQuery>;\nexport type GetMyNodeInstallationsLazyQueryHookResult = ReturnType<typeof useGetMyNodeInstallationsLazyQuery>;\nexport type GetMyNodeInstallationsSuspenseQueryHookResult = ReturnType<typeof useGetMyNodeInstallationsSuspenseQuery>;\nexport type GetMyNodeInstallationsQueryResult = Apollo.QueryResult<GetMyNodeInstallationsQuery, GetMyNodeInstallationsQueryVariables>;\nexport const GetNodeInstallableVersionsDocument = gql`\n query GetNodeInstallableVersions($applicationId: ID!) {\n installableApplicationVersions(applicationId: $applicationId) {\n id\n version\n status\n isLatest\n manifest\n }\n}\n `;\n\n/**\n * __useGetNodeInstallableVersionsQuery__\n *\n * To run a query within a React component, call `useGetNodeInstallableVersionsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetNodeInstallableVersionsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetNodeInstallableVersionsQuery({\n * variables: {\n * applicationId: // value for 'applicationId'\n * },\n * });\n */\nexport function useGetNodeInstallableVersionsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables> & ({ variables: GetNodeInstallableVersionsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>(GetNodeInstallableVersionsDocument, options);\n }\nexport function useGetNodeInstallableVersionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>(GetNodeInstallableVersionsDocument, options);\n }\n// @ts-ignore\nexport function useGetNodeInstallableVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>;\nexport function useGetNodeInstallableVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<GetNodeInstallableVersionsQuery | undefined, GetNodeInstallableVersionsQueryVariables>;\nexport function useGetNodeInstallableVersionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>(GetNodeInstallableVersionsDocument, options);\n }\nexport type GetNodeInstallableVersionsQueryHookResult = ReturnType<typeof useGetNodeInstallableVersionsQuery>;\nexport type GetNodeInstallableVersionsLazyQueryHookResult = ReturnType<typeof useGetNodeInstallableVersionsLazyQuery>;\nexport type GetNodeInstallableVersionsSuspenseQueryHookResult = ReturnType<typeof useGetNodeInstallableVersionsSuspenseQuery>;\nexport type GetNodeInstallableVersionsQueryResult = Apollo.QueryResult<GetNodeInstallableVersionsQuery, GetNodeInstallableVersionsQueryVariables>;\nexport const GetWorkflowTemplateDetailDocument = gql`\n query GetWorkflowTemplateDetail($id: ID!) {\n product(id: $id) {\n id\n name\n slug\n type\n description\n longDescription\n icon\n screenshots\n videoUrls\n rating\n reviewCount\n downloads\n viewCount\n price\n pricingModel\n currency\n featured\n content\n manifest\n manifestVersion\n authorName\n license\n category\n tags\n compatibleProducts\n publisher {\n id\n name\n email\n websiteUrl\n logoUrl\n isVerified\n }\n createdAt\n updatedAt\n publishedAt\n }\n}\n `;\n\n/**\n * __useGetWorkflowTemplateDetailQuery__\n *\n * To run a query within a React component, call `useGetWorkflowTemplateDetailQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkflowTemplateDetailQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkflowTemplateDetailQuery({\n * variables: {\n * id: // value for 'id'\n * },\n * });\n */\nexport function useGetWorkflowTemplateDetailQuery(baseOptions: ApolloReactHooks.QueryHookOptions<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables> & ({ variables: GetWorkflowTemplateDetailQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>(GetWorkflowTemplateDetailDocument, options);\n }\nexport function useGetWorkflowTemplateDetailLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>(GetWorkflowTemplateDetailDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkflowTemplateDetailSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>;\nexport function useGetWorkflowTemplateDetailSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<GetWorkflowTemplateDetailQuery | undefined, GetWorkflowTemplateDetailQueryVariables>;\nexport function useGetWorkflowTemplateDetailSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>(GetWorkflowTemplateDetailDocument, options);\n }\nexport type GetWorkflowTemplateDetailQueryHookResult = ReturnType<typeof useGetWorkflowTemplateDetailQuery>;\nexport type GetWorkflowTemplateDetailLazyQueryHookResult = ReturnType<typeof useGetWorkflowTemplateDetailLazyQuery>;\nexport type GetWorkflowTemplateDetailSuspenseQueryHookResult = ReturnType<typeof useGetWorkflowTemplateDetailSuspenseQuery>;\nexport type GetWorkflowTemplateDetailQueryResult = Apollo.QueryResult<GetWorkflowTemplateDetailQuery, GetWorkflowTemplateDetailQueryVariables>;"]}
@@ -1,7 +1,7 @@
1
1
  import { Input as Input$1 } from './chunk-P5PKRQAO.js';
2
2
  import { Dialog as Dialog$1, DialogContent as DialogContent$1, DialogHeader as DialogHeader$1, DialogTitle as DialogTitle$1, DialogDescription as DialogDescription$1, DialogFooter } from './chunk-OHGXRM6Z.js';
3
3
  import { getGlobalStoreClient, createGlobalStoreClient, setGlobalStoreClient, resetGlobalStoreClient } from './chunk-BQXHJIER.js';
4
- import { GetMyNodeInstallationsDocument, BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, InstallPurchasedNodeDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument } from './chunk-PNOA7CQV.js';
4
+ import { GetMyNodeInstallationsDocument, BrowseWorkflowTemplatesDocument, InstallWorkflowNodeDocument, InstallPurchasedNodeDocument, BrowseWorkflowNodesDocument, UninstallWorkflowNodeDocument, CreateStoreOrderDocument, GetNodeInstallableVersionsDocument } from './chunk-6LXMUIR3.js';
5
5
  import { useFlowStore, useEntityTags, useTagEntity, useUntagEntity, QuotaExhaustedDialog } from './chunk-Y36DJHU3.js';
6
6
  import { useLazyWorkflowDefinition, useCreateWorkflow, useWorkflowVersions, useRestoreWorkflowVersion, useActivateWorkflow, useDeleteWorkflow, useDeactivateWorkflow } from './chunk-MH4AHYK3.js';
7
7
  import { SdkPermissionGate, FLUIDGRIDS_PERMISSIONS, SdkPermissionButton } from './chunk-UIY2HBWA.js';
@@ -14192,7 +14192,7 @@ function useInstallNode() {
14192
14192
  client: globalClient
14193
14193
  });
14194
14194
  const installNode = useCallback(
14195
- async (node) => {
14195
+ async (node, options) => {
14196
14196
  try {
14197
14197
  setInstalling(node.id);
14198
14198
  const isPurchasedNode = node.isPurchased && node.pricingModel !== "FREE";
@@ -14202,7 +14202,8 @@ function useInstallNode() {
14202
14202
  const result = await installPurchasedMutation({
14203
14203
  variables: {
14204
14204
  productId: node.id,
14205
- workspaceId
14205
+ workspaceId,
14206
+ version: options?.version
14206
14207
  // orderId is optional - backend will auto-find most recent PROCESSED order
14207
14208
  }
14208
14209
  });
@@ -14227,8 +14228,8 @@ function useInstallNode() {
14227
14228
  workspaceType: void 0,
14228
14229
  // Optional
14229
14230
  organizationId: tenantId,
14230
- version: node.manifestVersion,
14231
- manifest: node.manifest,
14231
+ version: options?.version ?? node.manifestVersion,
14232
+ manifest: options?.manifest ?? node.manifest,
14232
14233
  metadata: void 0
14233
14234
  // Optional
14234
14235
  }
@@ -14278,6 +14279,19 @@ function useInstallNode() {
14278
14279
  installing
14279
14280
  };
14280
14281
  }
14282
+ function useNodeVersions(applicationId) {
14283
+ const client = useGlobalStoreClient();
14284
+ const { data, loading } = useQuery(GetNodeInstallableVersionsDocument, {
14285
+ client,
14286
+ variables: { applicationId: applicationId || "" },
14287
+ skip: !applicationId,
14288
+ fetchPolicy: "cache-first"
14289
+ });
14290
+ return {
14291
+ versions: data?.installableApplicationVersions ?? [],
14292
+ loading
14293
+ };
14294
+ }
14281
14295
  function useUpdateNode() {
14282
14296
  const globalClient = useGlobalStoreClient();
14283
14297
  const context = useContext(FluidGridsContext);
@@ -15923,7 +15937,9 @@ function StoreNodeDetail({ node, onBack }) {
15923
15937
  refetch: refetchInstalledNodes
15924
15938
  } = useInstalledNodes();
15925
15939
  const { refreshAvailableNodes } = useRefreshAvailableNodes();
15940
+ const { versions: installableVersions } = useNodeVersions(node.productId);
15926
15941
  const [showUninstallDialog, setShowUninstallDialog] = useState(false);
15942
+ const [selectedVersion, setSelectedVersion] = useState("");
15927
15943
  const [checkingNodeUsage, setCheckingNodeUsage] = useState(false);
15928
15944
  const [removingFromWorkflows, setRemovingFromWorkflows] = useState(false);
15929
15945
  const [nodeUsage, setNodeUsage] = useState({ isUsed: false, workflows: [] });
@@ -15941,8 +15957,16 @@ function StoreNodeDetail({ node, onBack }) {
15941
15957
  const canInstall = !isPrebuilt && (isFree || isPurchased);
15942
15958
  const isInstalling = installing === node.id;
15943
15959
  const isUpdating = updating === node.id;
15960
+ const olderVersions = installableVersions.filter((v) => !v.isLatest);
15961
+ const showVersionPicker = canInstall && !isInstalled && olderVersions.length > 0;
15944
15962
  const handleInstall = async () => {
15945
- const result = await installNode(node);
15963
+ const chosenVersion = installableVersions.find(
15964
+ (v) => v.version === selectedVersion
15965
+ );
15966
+ const result = await installNode(
15967
+ node,
15968
+ selectedVersion ? { version: selectedVersion, manifest: chosenVersion?.manifest } : void 0
15969
+ );
15946
15970
  if (result.success) {
15947
15971
  toast.success(
15948
15972
  tr(
@@ -16356,22 +16380,64 @@ function StoreNodeDetail({ node, onBack }) {
16356
16380
  "Prebuilt \u2014 drag operations above onto the canvas"
16357
16381
  )
16358
16382
  }
16359
- ) : canInstall ? /* @__PURE__ */ jsx(
16360
- Button$1,
16361
- {
16362
- size: "sm",
16363
- className: "w-full",
16364
- onClick: handleInstall,
16365
- disabled: isInstalling,
16366
- children: isInstalling ? /* @__PURE__ */ jsxs(Fragment, { children: [
16367
- /* @__PURE__ */ jsx(Loader2, { className: "size-3.5 mr-1.5 animate-spin" }),
16368
- tr(
16369
- "fluidgrids.builder.storeNodeDetail.installingLabel",
16370
- "Installing..."
16383
+ ) : canInstall ? /* @__PURE__ */ jsxs(Fragment, { children: [
16384
+ showVersionPicker && /* @__PURE__ */ jsxs("div", { children: [
16385
+ /* @__PURE__ */ jsx(
16386
+ "label",
16387
+ {
16388
+ htmlFor: "store-node-version",
16389
+ className: "mb-1 block text-xs text-muted-foreground",
16390
+ children: tr(
16391
+ "fluidgrids.builder.storeNodeDetail.versionLabel",
16392
+ "Version"
16393
+ )
16394
+ }
16395
+ ),
16396
+ /* @__PURE__ */ jsxs(
16397
+ "select",
16398
+ {
16399
+ id: "store-node-version",
16400
+ value: selectedVersion,
16401
+ onChange: (e) => setSelectedVersion(e.target.value),
16402
+ className: "w-full rounded-md border border-border bg-background px-2 py-1.5 text-sm text-foreground",
16403
+ children: [
16404
+ /* @__PURE__ */ jsxs("option", { value: "", children: [
16405
+ tr(
16406
+ "fluidgrids.builder.storeNodeDetail.versionLatest",
16407
+ "Latest"
16408
+ ),
16409
+ latestVersion ? ` (${latestVersion})` : ""
16410
+ ] }),
16411
+ olderVersions.map((v) => /* @__PURE__ */ jsxs("option", { value: v.version, children: [
16412
+ v.version,
16413
+ " (",
16414
+ v.status,
16415
+ ")"
16416
+ ] }, v.version))
16417
+ ]
16418
+ }
16419
+ )
16420
+ ] }),
16421
+ /* @__PURE__ */ jsx(
16422
+ Button$1,
16423
+ {
16424
+ size: "sm",
16425
+ className: "w-full",
16426
+ onClick: handleInstall,
16427
+ disabled: isInstalling,
16428
+ children: isInstalling ? /* @__PURE__ */ jsxs(Fragment, { children: [
16429
+ /* @__PURE__ */ jsx(Loader2, { className: "size-3.5 mr-1.5 animate-spin" }),
16430
+ tr(
16431
+ "fluidgrids.builder.storeNodeDetail.installingLabel",
16432
+ "Installing..."
16433
+ )
16434
+ ] }) : tr(
16435
+ "fluidgrids.builder.storeNodeDetail.installButton",
16436
+ "Install"
16371
16437
  )
16372
- ] }) : tr("fluidgrids.builder.storeNodeDetail.installButton", "Install")
16373
- }
16374
- ) : /* @__PURE__ */ jsx(
16438
+ }
16439
+ )
16440
+ ] }) : /* @__PURE__ */ jsx(
16375
16441
  Button$1,
16376
16442
  {
16377
16443
  size: "sm",
@@ -17114,7 +17180,7 @@ function DesktopSidebarFragment({
17114
17180
  );
17115
17181
  if (nodesToInstall.length > 0) {
17116
17182
  const { getGlobalStoreClient: getStore } = await import('./global-client-OW43ZRDR.js');
17117
- const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-KVVOANLT.js');
17183
+ const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-IMNN4YME.js');
17118
17184
  const { getFluidGridsConfig: getFluidGridsConfig3 } = await import('./config-E4E7M6IN.js');
17119
17185
  const storeClient = getStore();
17120
17186
  const cfg = getFluidGridsConfig3();
@@ -17219,7 +17285,7 @@ function DesktopSidebarFragment({
17219
17285
  if (importResult?.success && importResult.workflow) {
17220
17286
  try {
17221
17287
  const { getGlobalStoreClient: getStoreClient } = await import('./global-client-OW43ZRDR.js');
17222
- const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-KVVOANLT.js');
17288
+ const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-IMNN4YME.js');
17223
17289
  const storeClient = getStoreClient();
17224
17290
  if (storeClient) {
17225
17291
  throwIfResultError(
@@ -29302,7 +29368,7 @@ function WorkflowItem({
29302
29368
  setInstalling(true);
29303
29369
  try {
29304
29370
  const { getGlobalStoreClient: getGlobalStoreClient2 } = await import('./global-client-OW43ZRDR.js');
29305
- const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-KVVOANLT.js');
29371
+ const { InstallWorkflowNodeDocument: InstallWorkflowNodeDocument2 } = await import('./global-operations-IMNN4YME.js');
29306
29372
  const { getFluidGridsConfig: getFluidGridsConfig2 } = await import('./config-E4E7M6IN.js');
29307
29373
  const storeClient = getGlobalStoreClient2();
29308
29374
  const cfg = getFluidGridsConfig2();
@@ -29635,5 +29701,5 @@ function WorkflowBuilder() {
29635
29701
  }
29636
29702
 
29637
29703
  export { Card2 as Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ConfigSchemaForm, ConnectionFormDialog, ConnectionSelector, EntityTagPicker, FlowBuilderPage, FluidGridsProvider, ProviderPicker, TemplateCard, WorkflowBuilder, getProviderForm, listCustomBlocks, refetchStoreNodes, registerCustomBlock, resolveUiSpec, stripSubmitActions, useConnection, useConnectionDialog, useConnections, useConnectionsByProvider, useCreateConnection, useFluidGridsContext, useImportWorkflowTemplate, useInitiateOAuth, useNodeExecution, useProviderByKey, useProviderCatalog, useProviders, useWorkflowTemplates };
29638
- //# sourceMappingURL=chunk-WQ4QNHDN.js.map
29639
- //# sourceMappingURL=chunk-WQ4QNHDN.js.map
29704
+ //# sourceMappingURL=chunk-TOBDOMLN.js.map
29705
+ //# sourceMappingURL=chunk-TOBDOMLN.js.map