@admin-layout/client 3.1.1-alpha.0 → 3.1.1-alpha.4
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/lib/interfaces/index.d.ts +0 -1
- package/lib/interfaces/index.js +1 -1
- package/lib/interfaces/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/interfaces/generated/generated-models.d.ts +0 -2156
- package/lib/interfaces/generated/generated-models.js +0 -53
- package/lib/interfaces/generated/generated-models.js.map +0 -1
- package/lib/interfaces/generated/index.d.ts +0 -1
- package/lib/interfaces/generated/index.js +0 -2
- package/lib/interfaces/generated/index.js.map +0 -1
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client';
|
|
2
|
-
import * as Apollo from '@apollo/client';
|
|
3
|
-
const defaultOptions = {};
|
|
4
|
-
;
|
|
5
|
-
;
|
|
6
|
-
;
|
|
7
|
-
;
|
|
8
|
-
;
|
|
9
|
-
;
|
|
10
|
-
;
|
|
11
|
-
;
|
|
12
|
-
;
|
|
13
|
-
;
|
|
14
|
-
;
|
|
15
|
-
;
|
|
16
|
-
;
|
|
17
|
-
;
|
|
18
|
-
export const OrgNameInContextFragmentDoc = gql `
|
|
19
|
-
fragment OrgNameInContext on Context {
|
|
20
|
-
orgName
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
export const GetOrgNameFromContextDocument = gql `
|
|
24
|
-
query GetOrgNameFromContext {
|
|
25
|
-
getOrgNameFromContext {
|
|
26
|
-
...OrgNameInContext
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
${OrgNameInContextFragmentDoc}`;
|
|
30
|
-
/**
|
|
31
|
-
* __useGetOrgNameFromContextQuery__
|
|
32
|
-
*
|
|
33
|
-
* To run a query within a React component, call `useGetOrgNameFromContextQuery` and pass it any options that fit your needs.
|
|
34
|
-
* When your component renders, `useGetOrgNameFromContextQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
35
|
-
* you can use to render your UI.
|
|
36
|
-
*
|
|
37
|
-
* @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;
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* const { data, loading, error } = useGetOrgNameFromContextQuery({
|
|
41
|
-
* variables: {
|
|
42
|
-
* },
|
|
43
|
-
* });
|
|
44
|
-
*/
|
|
45
|
-
export function useGetOrgNameFromContextQuery(baseOptions) {
|
|
46
|
-
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
47
|
-
return Apollo.useQuery(GetOrgNameFromContextDocument, options);
|
|
48
|
-
}
|
|
49
|
-
export function useGetOrgNameFromContextLazyQuery(baseOptions) {
|
|
50
|
-
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
|
51
|
-
return Apollo.useLazyQuery(GetOrgNameFromContextDocument, options);
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=generated-models.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-models.js","sourceRoot":"","sources":["../../../src/interfaces/generated/generated-models.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAOzC,MAAM,cAAc,GAAI,EAAE,CAAA;AAoEzB,CAAC;AA+BD,CAAC;AAeD,CAAC;AAQD,CAAC;AAiED,CAAC;AAeD,CAAC;AA+JD,CAAC;AAwVD,CAAC;AA0GD,CAAC;AAMD,CAAC;AAgBD,CAAC;AAyCD,CAAC;AAmSD,CAAC;AA2DD,CAAC;AAqIF,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA;;;;KAIzC,CAAC;AACN,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,CAAA;;;;;;MAM1C,2BAA2B,EAAE,CAAC;AAEpC;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,6BAA6B,CAAC,WAAwG;IAC9I,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,QAAQ,CAAoE,6BAA6B,EAAE,OAAO,CAAC,CAAC;AACpI,CAAC;AACP,MAAM,UAAU,iCAAiC,CAAC,WAA4G;IACpJ,MAAM,OAAO,mCAAO,cAAc,GAAK,WAAW,CAAC,CAAA;IACnD,OAAO,MAAM,CAAC,YAAY,CAAoE,6BAA6B,EAAE,OAAO,CAAC,CAAC;AACxI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './generated-models';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/generated/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|