@burdenoff/microfe-adaptercloud 2026.707.1 → 2026.710.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.
- package/dist/adaptercloud/AdapterCloudRoot.d.ts +5 -0
- package/dist/adaptercloud/AdapterCloudRoot.d.ts.map +1 -0
- package/dist/adaptercloud/AdapterCloudRoutes.d.ts +4 -0
- package/dist/adaptercloud/AdapterCloudRoutes.d.ts.map +1 -0
- package/dist/adaptercloud/components/ConfirmDialog.d.ts +28 -0
- package/dist/adaptercloud/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/adaptercloud/components/DataState.d.ts +20 -0
- package/dist/adaptercloud/components/DataState.d.ts.map +1 -0
- package/dist/adaptercloud/components/EmptyState.d.ts +14 -0
- package/dist/adaptercloud/components/EmptyState.d.ts.map +1 -0
- package/dist/adaptercloud/components/MetricsCard.d.ts +16 -0
- package/dist/adaptercloud/components/MetricsCard.d.ts.map +1 -0
- package/dist/adaptercloud/components/PageLayout.d.ts +24 -0
- package/dist/adaptercloud/components/PageLayout.d.ts.map +1 -0
- package/dist/adaptercloud/components/SeverityBadge.d.ts +10 -0
- package/dist/adaptercloud/components/SeverityBadge.d.ts.map +1 -0
- package/dist/adaptercloud/components/StatusBadge.d.ts +11 -0
- package/dist/adaptercloud/components/StatusBadge.d.ts.map +1 -0
- package/dist/adaptercloud/components/index.d.ts +12 -0
- package/dist/adaptercloud/components/index.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/BarChart.d.ts +18 -0
- package/dist/adaptercloud/components/viz/BarChart.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/Sparkline.d.ts +11 -0
- package/dist/adaptercloud/components/viz/Sparkline.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/StackedBar.d.ts +19 -0
- package/dist/adaptercloud/components/viz/StackedBar.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/TopologyGraph.d.ts +28 -0
- package/dist/adaptercloud/components/viz/TopologyGraph.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/index.d.ts +5 -0
- package/dist/adaptercloud/components/viz/index.d.ts.map +1 -0
- package/dist/adaptercloud/context/AdapterCloudContext.d.ts +16 -0
- package/dist/adaptercloud/context/AdapterCloudContext.d.ts.map +1 -0
- package/dist/adaptercloud/context/index.d.ts +6 -0
- package/dist/adaptercloud/context/index.d.ts.map +1 -0
- package/dist/adaptercloud/hooks/index.d.ts +7 -0
- package/dist/adaptercloud/hooks/index.d.ts.map +1 -0
- package/dist/adaptercloud/hooks/useAdapterCloudApi.d.ts +117 -0
- package/dist/adaptercloud/hooks/useAdapterCloudApi.d.ts.map +1 -0
- package/dist/adaptercloud/index.d.ts +12 -0
- package/dist/adaptercloud/index.d.ts.map +1 -0
- package/dist/adaptercloud/lib/toast.d.ts +11 -0
- package/dist/adaptercloud/lib/toast.d.ts.map +1 -0
- package/dist/adaptercloud/pages/OverviewPage.d.ts +12 -0
- package/dist/adaptercloud/pages/OverviewPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdapterDetailPage.d.ts +9 -0
- package/dist/adaptercloud/pages/adapters/AdapterDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdapterFormPage.d.ts +10 -0
- package/dist/adaptercloud/pages/adapters/AdapterFormPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdaptersListPage.d.ts +10 -0
- package/dist/adaptercloud/pages/adapters/AdaptersListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionDetailPage.d.ts +11 -0
- package/dist/adaptercloud/pages/connections/ConnectionDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionFormPage.d.ts +10 -0
- package/dist/adaptercloud/pages/connections/ConnectionFormPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionsListPage.d.ts +12 -0
- package/dist/adaptercloud/pages/connections/ConnectionsListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/costs/CostsPage.d.ts +9 -0
- package/dist/adaptercloud/pages/costs/CostsPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/drift/DriftListPage.d.ts +10 -0
- package/dist/adaptercloud/pages/drift/DriftListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/policies/PoliciesListPage.d.ts +11 -0
- package/dist/adaptercloud/pages/policies/PoliciesListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/policies/PolicyDetailPage.d.ts +10 -0
- package/dist/adaptercloud/pages/policies/PolicyDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/policies/PolicyFormPage.d.ts +11 -0
- package/dist/adaptercloud/pages/policies/PolicyFormPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/resources/ResourceDetailPage.d.ts +10 -0
- package/dist/adaptercloud/pages/resources/ResourceDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/resources/ResourcesListPage.d.ts +10 -0
- package/dist/adaptercloud/pages/resources/ResourcesListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/sync-runs/SyncRunsListPage.d.ts +13 -0
- package/dist/adaptercloud/pages/sync-runs/SyncRunsListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/topology/TopologyPage.d.ts +14 -0
- package/dist/adaptercloud/pages/topology/TopologyPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/violations/ViolationsListPage.d.ts +11 -0
- package/dist/adaptercloud/pages/violations/ViolationsListPage.d.ts.map +1 -0
- package/dist/adaptercloud/store/adaptercloudStore.d.ts +54 -0
- package/dist/adaptercloud/store/adaptercloudStore.d.ts.map +1 -0
- package/dist/adaptercloud/store/index.d.ts +6 -0
- package/dist/adaptercloud/store/index.d.ts.map +1 -0
- package/dist/adaptercloud/types/index.d.ts +378 -0
- package/dist/adaptercloud/types/index.d.ts.map +1 -0
- package/dist/adaptercloud/utils/cn.d.ts +4 -0
- package/dist/adaptercloud/utils/cn.d.ts.map +1 -0
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/adaptercloud/utils/domain.d.ts +26 -0
- package/dist/adaptercloud/utils/domain.d.ts.map +1 -0
- package/dist/adaptercloud/utils/formatters.d.ts +33 -0
- package/dist/adaptercloud/utils/formatters.d.ts.map +1 -0
- package/dist/adaptercloud/utils/index.d.ts +8 -0
- package/dist/adaptercloud/utils/index.d.ts.map +1 -0
- package/dist/adaptercloud/utils/navigation.d.ts +20 -0
- package/dist/adaptercloud/utils/navigation.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +208 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +59 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +57851 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -1
- package/dist/node_modules/{clsx → .bun/clsx@2.1.1/node_modules/clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{tailwind-merge → .bun/tailwind-merge@3.5.0/node_modules/tailwind-merge}/dist/bundle-mjs.js +170 -212
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/services/assistantApi.d.ts +68 -0
- package/dist/services/assistantApi.d.ts.map +1 -0
- package/dist/services/assistantApi.js +202 -0
- package/dist/services/assistantApi.js.map +1 -0
- package/dist/services/createSandboxAssistantTransport.d.ts +40 -0
- package/dist/services/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/services/createSandboxAssistantTransport.js +120 -0
- package/dist/services/createSandboxAssistantTransport.js.map +1 -0
- package/dist/types/assistant.d.ts +54 -0
- package/dist/types/assistant.d.ts.map +1 -0
- package/dist/utils/pageContext.d.ts +25 -0
- package/dist/utils/pageContext.d.ts.map +1 -0
- package/dist/utils/pageContext.js +47 -0
- package/dist/utils/pageContext.js.map +1 -0
- package/package.json +5 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import * as Types from './wspace-types';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
import * as ApolloReactHooks from '@apollo/client/react';
|
|
4
|
+
export type CreateSandboxMutationVariables = Types.Exact<{
|
|
5
|
+
input: Types.CreateSandboxInput;
|
|
6
|
+
}>;
|
|
7
|
+
export type CreateSandboxMutation = {
|
|
8
|
+
__typename?: 'Mutation';
|
|
9
|
+
createSandbox: {
|
|
10
|
+
__typename?: 'Sandbox';
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
status: Types.SandboxStatus;
|
|
14
|
+
network: {
|
|
15
|
+
__typename?: 'SandboxNetwork';
|
|
16
|
+
internalUrl?: string | null;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type ProxySandboxRequestMutationVariables = Types.Exact<{
|
|
21
|
+
input: Types.ProxySandboxRequestInput;
|
|
22
|
+
}>;
|
|
23
|
+
export type ProxySandboxRequestMutation = {
|
|
24
|
+
__typename?: 'Mutation';
|
|
25
|
+
proxySandboxRequest: {
|
|
26
|
+
__typename?: 'ProxySandboxResponse';
|
|
27
|
+
status: number;
|
|
28
|
+
body?: Record<string, unknown> | null;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type ExtendSandboxTtlMutationVariables = Types.Exact<{
|
|
32
|
+
id: Types.Scalars['ID']['input'];
|
|
33
|
+
additionalSeconds: Types.Scalars['Int']['input'];
|
|
34
|
+
context: Types.ContextInput;
|
|
35
|
+
}>;
|
|
36
|
+
export type ExtendSandboxTtlMutation = {
|
|
37
|
+
__typename?: 'Mutation';
|
|
38
|
+
extendSandboxTTL: {
|
|
39
|
+
__typename?: 'Sandbox';
|
|
40
|
+
id: string;
|
|
41
|
+
expiresAt: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export type GetSandboxQueryVariables = Types.Exact<{
|
|
45
|
+
id: Types.Scalars['ID']['input'];
|
|
46
|
+
context: Types.ContextInput;
|
|
47
|
+
}>;
|
|
48
|
+
export type GetSandboxQuery = {
|
|
49
|
+
__typename?: 'Query';
|
|
50
|
+
getSandbox?: {
|
|
51
|
+
__typename?: 'Sandbox';
|
|
52
|
+
id: string;
|
|
53
|
+
status: Types.SandboxStatus;
|
|
54
|
+
errorMessage?: string | null;
|
|
55
|
+
network: {
|
|
56
|
+
__typename?: 'SandboxNetwork';
|
|
57
|
+
internalUrl?: string | null;
|
|
58
|
+
};
|
|
59
|
+
} | null;
|
|
60
|
+
};
|
|
61
|
+
export type GetActiveSandboxesQueryVariables = Types.Exact<{
|
|
62
|
+
context: Types.ContextInput;
|
|
63
|
+
}>;
|
|
64
|
+
export type GetActiveSandboxesQuery = {
|
|
65
|
+
__typename?: 'Query';
|
|
66
|
+
getActiveSandboxes: Array<{
|
|
67
|
+
__typename?: 'Sandbox';
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
status: Types.SandboxStatus;
|
|
71
|
+
metadata?: Record<string, unknown> | null;
|
|
72
|
+
template: Types.SandboxTemplate;
|
|
73
|
+
createdBy: string;
|
|
74
|
+
}>;
|
|
75
|
+
};
|
|
76
|
+
export declare const CreateSandboxDocument: Apollo.DocumentNode;
|
|
77
|
+
export type CreateSandboxMutationFn = Apollo.MutationFunction<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>;
|
|
78
|
+
/**
|
|
79
|
+
* __useCreateSandboxMutation__
|
|
80
|
+
*
|
|
81
|
+
* To run a mutation, you first call `useCreateSandboxMutation` within a React component and pass it any options that fit your needs.
|
|
82
|
+
* When your component renders, `useCreateSandboxMutation` returns a tuple that includes:
|
|
83
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
84
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
85
|
+
*
|
|
86
|
+
* @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;
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* const [createSandboxMutation, { data, loading, error }] = useCreateSandboxMutation({
|
|
90
|
+
* variables: {
|
|
91
|
+
* input: // value for 'input'
|
|
92
|
+
* },
|
|
93
|
+
* });
|
|
94
|
+
*/
|
|
95
|
+
export declare function useCreateSandboxMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.CreateSandboxMutation, any, Apollo.ApolloCache>;
|
|
96
|
+
export type CreateSandboxMutationHookResult = ReturnType<typeof useCreateSandboxMutation>;
|
|
97
|
+
export type CreateSandboxMutationResult = Apollo.MutationResult<Types.CreateSandboxMutation>;
|
|
98
|
+
export type CreateSandboxMutationOptions = Apollo.BaseMutationOptions<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>;
|
|
99
|
+
export declare const ProxySandboxRequestDocument: Apollo.DocumentNode;
|
|
100
|
+
export type ProxySandboxRequestMutationFn = Apollo.MutationFunction<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>;
|
|
101
|
+
/**
|
|
102
|
+
* __useProxySandboxRequestMutation__
|
|
103
|
+
*
|
|
104
|
+
* To run a mutation, you first call `useProxySandboxRequestMutation` within a React component and pass it any options that fit your needs.
|
|
105
|
+
* When your component renders, `useProxySandboxRequestMutation` returns a tuple that includes:
|
|
106
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
107
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
108
|
+
*
|
|
109
|
+
* @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;
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* const [proxySandboxRequestMutation, { data, loading, error }] = useProxySandboxRequestMutation({
|
|
113
|
+
* variables: {
|
|
114
|
+
* input: // value for 'input'
|
|
115
|
+
* },
|
|
116
|
+
* });
|
|
117
|
+
*/
|
|
118
|
+
export declare function useProxySandboxRequestMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ProxySandboxRequestMutation, any, Apollo.ApolloCache>;
|
|
119
|
+
export type ProxySandboxRequestMutationHookResult = ReturnType<typeof useProxySandboxRequestMutation>;
|
|
120
|
+
export type ProxySandboxRequestMutationResult = Apollo.MutationResult<Types.ProxySandboxRequestMutation>;
|
|
121
|
+
export type ProxySandboxRequestMutationOptions = Apollo.BaseMutationOptions<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>;
|
|
122
|
+
export declare const ExtendSandboxTtlDocument: Apollo.DocumentNode;
|
|
123
|
+
export type ExtendSandboxTtlMutationFn = Apollo.MutationFunction<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>;
|
|
124
|
+
/**
|
|
125
|
+
* __useExtendSandboxTtlMutation__
|
|
126
|
+
*
|
|
127
|
+
* To run a mutation, you first call `useExtendSandboxTtlMutation` within a React component and pass it any options that fit your needs.
|
|
128
|
+
* When your component renders, `useExtendSandboxTtlMutation` returns a tuple that includes:
|
|
129
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
130
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
131
|
+
*
|
|
132
|
+
* @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;
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* const [extendSandboxTtlMutation, { data, loading, error }] = useExtendSandboxTtlMutation({
|
|
136
|
+
* variables: {
|
|
137
|
+
* id: // value for 'id'
|
|
138
|
+
* additionalSeconds: // value for 'additionalSeconds'
|
|
139
|
+
* context: // value for 'context'
|
|
140
|
+
* },
|
|
141
|
+
* });
|
|
142
|
+
*/
|
|
143
|
+
export declare function useExtendSandboxTtlMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ExtendSandboxTtlMutation, any, Apollo.ApolloCache>;
|
|
144
|
+
export type ExtendSandboxTtlMutationHookResult = ReturnType<typeof useExtendSandboxTtlMutation>;
|
|
145
|
+
export type ExtendSandboxTtlMutationResult = Apollo.MutationResult<Types.ExtendSandboxTtlMutation>;
|
|
146
|
+
export type ExtendSandboxTtlMutationOptions = Apollo.BaseMutationOptions<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>;
|
|
147
|
+
export declare const GetSandboxDocument: Apollo.DocumentNode;
|
|
148
|
+
/**
|
|
149
|
+
* __useGetSandboxQuery__
|
|
150
|
+
*
|
|
151
|
+
* To run a query within a React component, call `useGetSandboxQuery` and pass it any options that fit your needs.
|
|
152
|
+
* When your component renders, `useGetSandboxQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
153
|
+
* you can use to render your UI.
|
|
154
|
+
*
|
|
155
|
+
* @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;
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* const { data, loading, error } = useGetSandboxQuery({
|
|
159
|
+
* variables: {
|
|
160
|
+
* id: // value for 'id'
|
|
161
|
+
* context: // value for 'context'
|
|
162
|
+
* },
|
|
163
|
+
* });
|
|
164
|
+
*/
|
|
165
|
+
export declare function useGetSandboxQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables> & ({
|
|
166
|
+
variables: Types.GetSandboxQueryVariables;
|
|
167
|
+
skip?: boolean;
|
|
168
|
+
} | {
|
|
169
|
+
skip: boolean;
|
|
170
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetSandboxQuery, Types.GetSandboxQueryVariables, "streaming" | "complete" | "empty", Types.GetSandboxQueryVariables>;
|
|
171
|
+
export declare function useGetSandboxLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetSandboxQuery, Types.GetSandboxQueryVariables, "streaming" | "complete" | "empty">;
|
|
172
|
+
export declare function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>;
|
|
173
|
+
export declare function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSandboxQuery | undefined, Types.GetSandboxQueryVariables>;
|
|
174
|
+
export type GetSandboxQueryHookResult = ReturnType<typeof useGetSandboxQuery>;
|
|
175
|
+
export type GetSandboxLazyQueryHookResult = ReturnType<typeof useGetSandboxLazyQuery>;
|
|
176
|
+
export type GetSandboxSuspenseQueryHookResult = ReturnType<typeof useGetSandboxSuspenseQuery>;
|
|
177
|
+
export type GetSandboxQueryResult = Apollo.QueryResult<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>;
|
|
178
|
+
export declare const GetActiveSandboxesDocument: Apollo.DocumentNode;
|
|
179
|
+
/**
|
|
180
|
+
* __useGetActiveSandboxesQuery__
|
|
181
|
+
*
|
|
182
|
+
* To run a query within a React component, call `useGetActiveSandboxesQuery` and pass it any options that fit your needs.
|
|
183
|
+
* When your component renders, `useGetActiveSandboxesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
184
|
+
* you can use to render your UI.
|
|
185
|
+
*
|
|
186
|
+
* @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;
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* const { data, loading, error } = useGetActiveSandboxesQuery({
|
|
190
|
+
* variables: {
|
|
191
|
+
* context: // value for 'context'
|
|
192
|
+
* },
|
|
193
|
+
* });
|
|
194
|
+
*/
|
|
195
|
+
export declare function useGetActiveSandboxesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables> & ({
|
|
196
|
+
variables: Types.GetActiveSandboxesQueryVariables;
|
|
197
|
+
skip?: boolean;
|
|
198
|
+
} | {
|
|
199
|
+
skip: boolean;
|
|
200
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables, "streaming" | "complete" | "empty", Types.GetActiveSandboxesQueryVariables>;
|
|
201
|
+
export declare function useGetActiveSandboxesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables, "streaming" | "complete" | "empty">;
|
|
202
|
+
export declare function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>;
|
|
203
|
+
export declare function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveSandboxesQuery | undefined, Types.GetActiveSandboxesQueryVariables>;
|
|
204
|
+
export type GetActiveSandboxesQueryHookResult = ReturnType<typeof useGetActiveSandboxesQuery>;
|
|
205
|
+
export type GetActiveSandboxesLazyQueryHookResult = ReturnType<typeof useGetActiveSandboxesLazyQuery>;
|
|
206
|
+
export type GetActiveSandboxesSuspenseQueryHookResult = ReturnType<typeof useGetActiveSandboxesSuspenseQuery>;
|
|
207
|
+
export type GetActiveSandboxesQueryResult = Apollo.QueryResult<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>;
|
|
208
|
+
//# sourceMappingURL=wspace-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wspace-operations.d.ts","sourceRoot":"","sources":["../../src/generated/wspace-operations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AAGxC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAC;AAEzD,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,KAAK,CAAC;IACvD,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC;CACjC,CAAC,CAAC;AAGH,MAAM,MAAM,qBAAqB,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAC;IAAC,aAAa,EAAE;QAAE,UAAU,CAAC,EAAE,SAAS,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC;QAAC,OAAO,EAAE;YAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,CAAA;KAAE,CAAA;CAAE,CAAC;AAE3O,MAAM,MAAM,oCAAoC,GAAG,KAAK,CAAC,KAAK,CAAC;IAC7D,KAAK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MAAM,MAAM,yCAAyC,GAAG,UAAU,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9G,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,uBAAuB,EAAE,KAAK,CAAC,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { gql as e } from "@apollo/client";
|
|
2
|
+
import "@apollo/client/react";
|
|
3
|
+
//#region src/generated/wspace-operations.ts
|
|
4
|
+
var t = e`
|
|
5
|
+
mutation CreateSandbox($input: CreateSandboxInput!) {
|
|
6
|
+
createSandbox(input: $input) {
|
|
7
|
+
id
|
|
8
|
+
name
|
|
9
|
+
status
|
|
10
|
+
network {
|
|
11
|
+
internalUrl
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`, n = e`
|
|
16
|
+
mutation ProxySandboxRequest($input: ProxySandboxRequestInput!) {
|
|
17
|
+
proxySandboxRequest(input: $input) {
|
|
18
|
+
status
|
|
19
|
+
body
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`, r = e`
|
|
23
|
+
mutation ExtendSandboxTtl($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {
|
|
24
|
+
extendSandboxTTL(
|
|
25
|
+
id: $id
|
|
26
|
+
additionalSeconds: $additionalSeconds
|
|
27
|
+
context: $context
|
|
28
|
+
) {
|
|
29
|
+
id
|
|
30
|
+
expiresAt
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`, i = e`
|
|
34
|
+
query GetSandbox($id: ID!, $context: ContextInput!) {
|
|
35
|
+
getSandbox(id: $id, context: $context) {
|
|
36
|
+
id
|
|
37
|
+
status
|
|
38
|
+
errorMessage
|
|
39
|
+
network {
|
|
40
|
+
internalUrl
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`, a = e`
|
|
45
|
+
query GetActiveSandboxes($context: ContextInput!) {
|
|
46
|
+
getActiveSandboxes(context: $context) {
|
|
47
|
+
id
|
|
48
|
+
name
|
|
49
|
+
status
|
|
50
|
+
metadata
|
|
51
|
+
template
|
|
52
|
+
createdBy
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
56
|
+
//#endregion
|
|
57
|
+
export { t as CreateSandboxDocument, r as ExtendSandboxTtlDocument, a as GetActiveSandboxesDocument, i as GetSandboxDocument, n as ProxySandboxRequestDocument };
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=wspace-operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type CreateSandboxMutationVariables = Types.Exact<{\n input: Types.CreateSandboxInput;\n}>;\n\n\nexport type CreateSandboxMutation = { __typename?: 'Mutation', createSandbox: { __typename?: 'Sandbox', id: string, name: string, status: Types.SandboxStatus, network: { __typename?: 'SandboxNetwork', internalUrl?: string | null } } };\n\nexport type ProxySandboxRequestMutationVariables = Types.Exact<{\n input: Types.ProxySandboxRequestInput;\n}>;\n\n\nexport type ProxySandboxRequestMutation = { __typename?: 'Mutation', proxySandboxRequest: { __typename?: 'ProxySandboxResponse', status: number, body?: Record<string, unknown> | null } };\n\nexport type ExtendSandboxTtlMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n additionalSeconds: Types.Scalars['Int']['input'];\n context: Types.ContextInput;\n}>;\n\n\nexport type ExtendSandboxTtlMutation = { __typename?: 'Mutation', extendSandboxTTL: { __typename?: 'Sandbox', id: string, expiresAt: string } };\n\nexport type GetSandboxQueryVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n context: Types.ContextInput;\n}>;\n\n\nexport type GetSandboxQuery = { __typename?: 'Query', getSandbox?: { __typename?: 'Sandbox', id: string, status: Types.SandboxStatus, errorMessage?: string | null, network: { __typename?: 'SandboxNetwork', internalUrl?: string | null } } | null };\n\nexport type GetActiveSandboxesQueryVariables = Types.Exact<{\n context: Types.ContextInput;\n}>;\n\n\nexport type GetActiveSandboxesQuery = { __typename?: 'Query', getActiveSandboxes: Array<{ __typename?: 'Sandbox', id: string, name: string, status: Types.SandboxStatus, metadata?: Record<string, unknown> | null, template: Types.SandboxTemplate, createdBy: string }> };\n\n\nexport const CreateSandboxDocument = gql`\n mutation CreateSandbox($input: CreateSandboxInput!) {\n createSandbox(input: $input) {\n id\n name\n status\n network {\n internalUrl\n }\n }\n}\n `;\nexport type CreateSandboxMutationFn = Apollo.MutationFunction<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>;\n\n/**\n * __useCreateSandboxMutation__\n *\n * To run a mutation, you first call `useCreateSandboxMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useCreateSandboxMutation` 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 [createSandboxMutation, { data, loading, error }] = useCreateSandboxMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useCreateSandboxMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>(CreateSandboxDocument, options);\n }\nexport type CreateSandboxMutationHookResult = ReturnType<typeof useCreateSandboxMutation>;\nexport type CreateSandboxMutationResult = Apollo.MutationResult<Types.CreateSandboxMutation>;\nexport type CreateSandboxMutationOptions = Apollo.BaseMutationOptions<Types.CreateSandboxMutation, Types.CreateSandboxMutationVariables>;\nexport const ProxySandboxRequestDocument = gql`\n mutation ProxySandboxRequest($input: ProxySandboxRequestInput!) {\n proxySandboxRequest(input: $input) {\n status\n body\n }\n}\n `;\nexport type ProxySandboxRequestMutationFn = Apollo.MutationFunction<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>;\n\n/**\n * __useProxySandboxRequestMutation__\n *\n * To run a mutation, you first call `useProxySandboxRequestMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useProxySandboxRequestMutation` 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 [proxySandboxRequestMutation, { data, loading, error }] = useProxySandboxRequestMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useProxySandboxRequestMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>(ProxySandboxRequestDocument, options);\n }\nexport type ProxySandboxRequestMutationHookResult = ReturnType<typeof useProxySandboxRequestMutation>;\nexport type ProxySandboxRequestMutationResult = Apollo.MutationResult<Types.ProxySandboxRequestMutation>;\nexport type ProxySandboxRequestMutationOptions = Apollo.BaseMutationOptions<Types.ProxySandboxRequestMutation, Types.ProxySandboxRequestMutationVariables>;\nexport const ExtendSandboxTtlDocument = gql`\n mutation ExtendSandboxTtl($id: ID!, $additionalSeconds: Int!, $context: ContextInput!) {\n extendSandboxTTL(\n id: $id\n additionalSeconds: $additionalSeconds\n context: $context\n ) {\n id\n expiresAt\n }\n}\n `;\nexport type ExtendSandboxTtlMutationFn = Apollo.MutationFunction<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>;\n\n/**\n * __useExtendSandboxTtlMutation__\n *\n * To run a mutation, you first call `useExtendSandboxTtlMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useExtendSandboxTtlMutation` 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 [extendSandboxTtlMutation, { data, loading, error }] = useExtendSandboxTtlMutation({\n * variables: {\n * id: // value for 'id'\n * additionalSeconds: // value for 'additionalSeconds'\n * context: // value for 'context'\n * },\n * });\n */\nexport function useExtendSandboxTtlMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>(ExtendSandboxTtlDocument, options);\n }\nexport type ExtendSandboxTtlMutationHookResult = ReturnType<typeof useExtendSandboxTtlMutation>;\nexport type ExtendSandboxTtlMutationResult = Apollo.MutationResult<Types.ExtendSandboxTtlMutation>;\nexport type ExtendSandboxTtlMutationOptions = Apollo.BaseMutationOptions<Types.ExtendSandboxTtlMutation, Types.ExtendSandboxTtlMutationVariables>;\nexport const GetSandboxDocument = gql`\n query GetSandbox($id: ID!, $context: ContextInput!) {\n getSandbox(id: $id, context: $context) {\n id\n status\n errorMessage\n network {\n internalUrl\n }\n }\n}\n `;\n\n/**\n * __useGetSandboxQuery__\n *\n * To run a query within a React component, call `useGetSandboxQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetSandboxQuery` 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 } = useGetSandboxQuery({\n * variables: {\n * id: // value for 'id'\n * context: // value for 'context'\n * },\n * });\n */\nexport function useGetSandboxQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables> & ({ variables: Types.GetSandboxQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>(GetSandboxDocument, options);\n }\nexport function useGetSandboxLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>(GetSandboxDocument, options);\n }\n// @ts-ignore\nexport function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>;\nexport function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetSandboxQuery | undefined, Types.GetSandboxQueryVariables>;\nexport function useGetSandboxSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>(GetSandboxDocument, options);\n }\nexport type GetSandboxQueryHookResult = ReturnType<typeof useGetSandboxQuery>;\nexport type GetSandboxLazyQueryHookResult = ReturnType<typeof useGetSandboxLazyQuery>;\nexport type GetSandboxSuspenseQueryHookResult = ReturnType<typeof useGetSandboxSuspenseQuery>;\nexport type GetSandboxQueryResult = Apollo.QueryResult<Types.GetSandboxQuery, Types.GetSandboxQueryVariables>;\nexport const GetActiveSandboxesDocument = gql`\n query GetActiveSandboxes($context: ContextInput!) {\n getActiveSandboxes(context: $context) {\n id\n name\n status\n metadata\n template\n createdBy\n }\n}\n `;\n\n/**\n * __useGetActiveSandboxesQuery__\n *\n * To run a query within a React component, call `useGetActiveSandboxesQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetActiveSandboxesQuery` 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 } = useGetActiveSandboxesQuery({\n * variables: {\n * context: // value for 'context'\n * },\n * });\n */\nexport function useGetActiveSandboxesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables> & ({ variables: Types.GetActiveSandboxesQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>(GetActiveSandboxesDocument, options);\n }\nexport function useGetActiveSandboxesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>(GetActiveSandboxesDocument, options);\n }\n// @ts-ignore\nexport function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>;\nexport function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetActiveSandboxesQuery | undefined, Types.GetActiveSandboxesQueryVariables>;\nexport function useGetActiveSandboxesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>(GetActiveSandboxesDocument, options);\n }\nexport type GetActiveSandboxesQueryHookResult = ReturnType<typeof useGetActiveSandboxesQuery>;\nexport type GetActiveSandboxesLazyQueryHookResult = ReturnType<typeof useGetActiveSandboxesLazyQuery>;\nexport type GetActiveSandboxesSuspenseQueryHookResult = ReturnType<typeof useGetActiveSandboxesSuspenseQuery>;\nexport type GetActiveSandboxesQueryResult = Apollo.QueryResult<Types.GetActiveSandboxesQuery, Types.GetActiveSandboxesQueryVariables>;"],"mappings":";;;AA8CA,IAAa,IAAwB,CAAG;;;;;;;;;;;OAsC3B,IAA8B,CAAG;;;;;;;OAkCjC,IAA2B,CAAG;;;;;;;;;;;OAwC9B,IAAqB,CAAG;;;;;;;;;;;OAiDxB,IAA6B,CAAG"}
|