@bcrumbs.net/bc-api 0.0.3 → 0.0.5

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,4 +1,4 @@
1
- import { ApolloClient } from '@apollo/client';
2
- declare const dconfigClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
3
- declare const tokenClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
4
- export { tokenClient, dconfigClient };
1
+ import { ApolloClient } from '@apollo/client';
2
+ declare const dconfigClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
3
+ declare const tokenClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
4
+ export { tokenClient, dconfigClient };
@@ -1,13 +1,13 @@
1
- /// <reference types="react" />
2
- import { ApolloClient } from '@apollo/client';
3
- declare const dqueryClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
4
- declare const withDQueryClient: (Page: typeof import("next/app").default | (import("react").ComponentClass<any, any> & {
5
- getInitialProps?(context: import("next").NextPageContext): any;
6
- }) | (import("react").FunctionComponent<any> & {
7
- getInitialProps?(context: import("next").NextPageContext): any;
8
- }), pageOptions?: import("next-with-apollo").WithApolloOptions | undefined) => {
9
- ({ apollo, apolloState, router, ...props }: Partial<import("next-with-apollo").WithApolloProps<any>>): any;
10
- displayName: string;
11
- getInitialProps(pageCtx: import("next-with-apollo").ApolloContext<any>): Promise<{}>;
12
- };
13
- export { dqueryClient, withDQueryClient };
1
+ /// <reference types="react" />
2
+ import { ApolloClient } from '@apollo/client';
3
+ declare const dqueryClient: ApolloClient<import("@apollo/client").NormalizedCacheObject>;
4
+ declare const withDQueryClient: (Page: typeof import("next/app").default | (import("react").ComponentClass<any, any> & {
5
+ getInitialProps?(context: import("next").NextPageContext): any;
6
+ }) | (import("react").FunctionComponent<any> & {
7
+ getInitialProps?(context: import("next").NextPageContext): any;
8
+ }), pageOptions?: import("next-with-apollo").WithApolloOptions | undefined) => {
9
+ ({ apollo, apolloState, router, ...props }: Partial<import("next-with-apollo").WithApolloProps<any>>): any;
10
+ displayName: string;
11
+ getInitialProps(pageCtx: import("next-with-apollo").ApolloContext<any>): Promise<{}>;
12
+ };
13
+ export { dqueryClient, withDQueryClient };
@@ -1,12 +1,12 @@
1
- /// <reference types="react" />
2
- import { ApolloClient } from '@apollo/client';
3
- export declare const showcaseClient: ApolloClient<unknown>;
4
- export declare const withShowcaseClient: (Page: typeof import("next/app").default | (import("react").ComponentClass<any, any> & {
5
- getInitialProps?(context: import("next").NextPageContext): any;
6
- }) | (import("react").FunctionComponent<any> & {
7
- getInitialProps?(context: import("next").NextPageContext): any;
8
- }), pageOptions?: import("next-with-apollo").WithApolloOptions | undefined) => {
9
- ({ apollo, apolloState, router, ...props }: Partial<import("next-with-apollo").WithApolloProps<any>>): any;
10
- displayName: string;
11
- getInitialProps(pageCtx: import("next-with-apollo").ApolloContext<any>): Promise<{}>;
12
- };
1
+ /// <reference types="react" />
2
+ import { ApolloClient } from '@apollo/client';
3
+ export declare const showcaseClient: ApolloClient<unknown>;
4
+ export declare const withShowcaseClient: (Page: typeof import("next/app").default | (import("react").ComponentClass<any, any> & {
5
+ getInitialProps?(context: import("next").NextPageContext): any;
6
+ }) | (import("react").FunctionComponent<any> & {
7
+ getInitialProps?(context: import("next").NextPageContext): any;
8
+ }), pageOptions?: import("next-with-apollo").WithApolloOptions | undefined) => {
9
+ ({ apollo, apolloState, router, ...props }: Partial<import("next-with-apollo").WithApolloProps<any>>): any;
10
+ displayName: string;
11
+ getInitialProps(pageCtx: import("next-with-apollo").ApolloContext<any>): Promise<{}>;
12
+ };
@@ -1,17 +1,19 @@
1
- declare let frontend: any;
2
- export declare const appConfig: {
3
- dconfig: {
4
- networkInterface: undefined;
5
- };
6
- dquery: {
7
- networkInterface: string;
8
- };
9
- billing: {
10
- networkInterface: string;
11
- };
12
- sw: {
13
- path: string;
14
- };
15
- };
16
- export default appConfig;
17
- export { frontend };
1
+ declare let frontend: any;
2
+ declare let apiBackend: any;
3
+ declare let apiV2Backend: any;
4
+ export declare const appConfig: {
5
+ dconfig: {
6
+ networkInterface: undefined;
7
+ };
8
+ dquery: {
9
+ networkInterface: string;
10
+ };
11
+ billing: {
12
+ networkInterface: string;
13
+ };
14
+ sw: {
15
+ path: string;
16
+ };
17
+ };
18
+ export default appConfig;
19
+ export { frontend, apiBackend, apiV2Backend };
@@ -1,16 +1,17 @@
1
- export declare const showcaseContentsQuery: import("@apollo/client").DocumentNode;
2
- export declare const showcaseTemplatesQuery: import("@apollo/client").DocumentNode;
3
- export declare const showcaseTemplatesQueryOptions: any;
4
- export declare const showcasePagesQuery: import("@apollo/client").DocumentNode;
5
- export declare const showcasePagesQueryOptions: any;
6
- export declare const showcaseSectionQuery: import("@apollo/client").DocumentNode;
7
- export declare const showcaseSectionQueryOptions: any;
8
- export declare const showcaseDomainsQuery: import("@apollo/client").DocumentNode;
9
- export declare const showcaseDomainsQueryOptions: any;
10
- export declare const useDomainsQuery: () => import("@apollo/client").QueryResult<any, {
11
- companyId: string | null;
12
- }>;
13
- export declare const showcaseConfig: import("@apollo/client").DocumentNode;
14
- export declare const useShowcaseConfig: (domain: string) => import("@apollo/client").QueryResult<any, {
15
- domain: string;
16
- }>;
1
+ export declare const showcaseContentsQuery: import("@apollo/client").DocumentNode;
2
+ export declare const showcaseTemplatesQuery: import("@apollo/client").DocumentNode;
3
+ export declare const showcaseTemplatesQueryOptions: any;
4
+ export declare const showcasePagesQuery: import("@apollo/client").DocumentNode;
5
+ export declare const showcasePagesQueryOptions: any;
6
+ export declare const showcaseSectionsQuery: import("@apollo/client").DocumentNode;
7
+ export declare const showcaseSectionsQueryOptions: any;
8
+ export declare const showcaseSectionQuery: import("@apollo/client").DocumentNode;
9
+ export declare const showcaseDomainsQuery: import("@apollo/client").DocumentNode;
10
+ export declare const showcaseDomainsQueryOptions: any;
11
+ export declare const useDomainsQuery: () => import("@apollo/client").QueryResult<any, {
12
+ companyId: string | null;
13
+ }>;
14
+ export declare const showcaseConfig: import("@apollo/client").DocumentNode;
15
+ export declare const useShowcaseConfig: (domain: string) => import("@apollo/client").QueryResult<any, {
16
+ domain: string;
17
+ }>;
@@ -1,22 +1,22 @@
1
- export declare const login: import("graphql").DocumentNode;
2
- export declare const loginOptions: any;
3
- export declare const register: import("graphql").DocumentNode;
4
- export declare const registerOptions: any;
5
- export declare const forgetPassword: import("graphql").DocumentNode;
6
- export declare const forgetPasswordOptions: any;
7
- export declare const resetPassword: import("graphql").DocumentNode;
8
- export declare const resetPasswordOptions: any;
9
- export declare const userInfoQuery: import("graphql").DocumentNode;
10
- export declare const userInfoQueryOptions: any;
11
- export interface DefinedUserProperty {
12
- Id: string;
13
- Value: string;
14
- }
15
- export declare const updateUserProfile: import("graphql").DocumentNode;
16
- export declare const updateUserProfileOptions: any;
17
- export declare const updateUserPassword: import("graphql").DocumentNode;
18
- export declare const updateUserPasswordOptions: any;
19
- export declare const inviteUser: import("graphql").DocumentNode;
20
- export declare const inviteUserOptions: any;
21
- export declare const removeUserFromCompany: import("graphql").DocumentNode;
22
- export declare const removeUserFromCompanyOptions: any;
1
+ export declare const login: import("graphql").DocumentNode;
2
+ export declare const loginOptions: any;
3
+ export declare const register: import("graphql").DocumentNode;
4
+ export declare const registerOptions: any;
5
+ export declare const forgetPassword: import("graphql").DocumentNode;
6
+ export declare const forgetPasswordOptions: any;
7
+ export declare const resetPassword: import("graphql").DocumentNode;
8
+ export declare const resetPasswordOptions: any;
9
+ export declare const userInfoQuery: import("graphql").DocumentNode;
10
+ export declare const userInfoQueryOptions: any;
11
+ export interface DefinedUserProperty {
12
+ Id: string;
13
+ Value: string;
14
+ }
15
+ export declare const updateUserProfile: import("graphql").DocumentNode;
16
+ export declare const updateUserProfileOptions: any;
17
+ export declare const updateUserPassword: import("graphql").DocumentNode;
18
+ export declare const updateUserPasswordOptions: any;
19
+ export declare const inviteUser: import("graphql").DocumentNode;
20
+ export declare const inviteUserOptions: any;
21
+ export declare const removeUserFromCompany: import("graphql").DocumentNode;
22
+ export declare const removeUserFromCompanyOptions: any;
@@ -1,2 +1,2 @@
1
- export declare const CreateCheckoutSessionUri: string;
2
- export declare const CreatePortalSessionUri: string;
1
+ export declare const CreateCheckoutSessionUri: string;
2
+ export declare const CreatePortalSessionUri: string;
@@ -1,10 +1,10 @@
1
- export declare const userCompaniesQuery: import("@apollo/client").DocumentNode;
2
- export declare const userCompaniesQueryOptions: any;
3
- export declare const useUserCompaniesQuery: () => import("@apollo/client").QueryResult<any, import("@apollo/client").OperationVariables>;
4
- export declare const companyUsersQuery: import("@apollo/client").DocumentNode;
5
- export declare const subscriptionConfigurationQuery: import("@apollo/client").DocumentNode;
6
- export declare const subscriptionConfigurationQueryOptions: any;
7
- export declare const createCompany: import("@apollo/client").DocumentNode;
8
- export declare const createCompanyOptions: any;
9
- export declare const updateCompany: import("@apollo/client").DocumentNode;
10
- export declare const updateCompanyOptions: any;
1
+ export declare const userCompaniesQuery: import("@apollo/client").DocumentNode;
2
+ export declare const userCompaniesQueryOptions: any;
3
+ export declare const useUserCompaniesQuery: () => import("@apollo/client").QueryResult<any, import("@apollo/client").OperationVariables>;
4
+ export declare const companyUsersQuery: import("@apollo/client").DocumentNode;
5
+ export declare const subscriptionConfigurationQuery: import("@apollo/client").DocumentNode;
6
+ export declare const subscriptionConfigurationQueryOptions: any;
7
+ export declare const createCompany: import("@apollo/client").DocumentNode;
8
+ export declare const createCompanyOptions: any;
9
+ export declare const updateCompany: import("@apollo/client").DocumentNode;
10
+ export declare const updateCompanyOptions: any;
@@ -1,17 +1,17 @@
1
- import { ContentInstancesQueryResult } from '../../../models/contentInstance';
2
- export declare const contentInstancesQuery: import("@apollo/client").DocumentNode;
3
- export declare const useContentInstancesQuery: (contentId: number) => import("@apollo/client").QueryResult<ContentInstancesQueryResult, import("@apollo/client").OperationVariables>;
4
- export declare const updateContentInstanceFieldValuesMutation: import("@apollo/client").DocumentNode;
5
- export declare const updateContentInstanceFieldValuesMutationOptions: any;
6
- export declare const useUpdateContentInstanceFieldValuesMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
7
- export declare const createContentMutation: import("@apollo/client").DocumentNode;
8
- export declare const createContentMutationOptions: any;
9
- export declare const useCreateContentMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
10
- export declare const createContentInstanceMutation: import("@apollo/client").DocumentNode;
11
- export declare const createContentInstanceMutationOptions: any;
12
- export declare const useCreateContentInstanceMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
13
- export declare const removeContentMutation: import("@apollo/client").DocumentNode;
14
- export declare const useDeleteContentMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
15
- export declare const updateContentsOrderingMutation: import("@apollo/client").DocumentNode;
16
- export declare const updateContentsOrderingMutationOptions: any;
17
- export declare const useUpdateContentsOrderingMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
1
+ import { ContentInstancesQueryResult } from '../../../models/contentInstance';
2
+ export declare const contentInstancesQuery: import("@apollo/client").DocumentNode;
3
+ export declare const useContentInstancesQuery: (contentId: number) => import("@apollo/client").QueryResult<ContentInstancesQueryResult, import("@apollo/client").OperationVariables>;
4
+ export declare const updateContentInstanceFieldValuesMutation: import("@apollo/client").DocumentNode;
5
+ export declare const updateContentInstanceFieldValuesMutationOptions: any;
6
+ export declare const useUpdateContentInstanceFieldValuesMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
7
+ export declare const createContentMutation: import("@apollo/client").DocumentNode;
8
+ export declare const createContentMutationOptions: any;
9
+ export declare const useCreateContentMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
10
+ export declare const createContentInstanceMutation: import("@apollo/client").DocumentNode;
11
+ export declare const createContentInstanceMutationOptions: any;
12
+ export declare const useCreateContentInstanceMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
13
+ export declare const removeContentMutation: import("@apollo/client").DocumentNode;
14
+ export declare const useDeleteContentMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
15
+ export declare const updateContentsOrderingMutation: import("@apollo/client").DocumentNode;
16
+ export declare const updateContentsOrderingMutationOptions: any;
17
+ export declare const useUpdateContentsOrderingMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
@@ -1,14 +1,14 @@
1
- import { FoldersTreeQueryResult } from '../../../models/folder';
2
- import { FilesQueryResult } from '../../../models/file';
3
- export declare const foldersTreeQuery: import("@apollo/client").DocumentNode;
4
- export declare const useFoldersTreeQuery: (rootPath: string) => import("@apollo/client").QueryResult<FoldersTreeQueryResult, import("@apollo/client").OperationVariables>;
5
- export declare const filesQuery: import("@apollo/client").DocumentNode;
6
- export declare const useFilesQuery: () => import("@apollo/client").LazyQueryResultTuple<FilesQueryResult, import("@apollo/client").OperationVariables>;
7
- export declare const createFolderMutation: import("@apollo/client").DocumentNode;
8
- export declare const useCreateFolderMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
9
- export declare const deleteFolderMutation: import("@apollo/client").DocumentNode;
10
- export declare const useDeleteFolderMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
11
- export declare const createFileMutation: import("@apollo/client").DocumentNode;
12
- export declare const useCreateFileMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
13
- export declare const deleteFileMutation: import("@apollo/client").DocumentNode;
14
- export declare const useDeleteFileMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
1
+ import { FoldersTreeQueryResult } from '../../../models/folder';
2
+ import { FilesQueryResult } from '../../../models/file';
3
+ export declare const foldersTreeQuery: import("@apollo/client").DocumentNode;
4
+ export declare const useFoldersTreeQuery: (rootPath: string) => import("@apollo/client").QueryResult<FoldersTreeQueryResult, import("@apollo/client").OperationVariables>;
5
+ export declare const filesQuery: import("@apollo/client").DocumentNode;
6
+ export declare const useFilesQuery: () => import("@apollo/client").LazyQueryResultTuple<FilesQueryResult, import("@apollo/client").OperationVariables>;
7
+ export declare const createFolderMutation: import("@apollo/client").DocumentNode;
8
+ export declare const useCreateFolderMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
9
+ export declare const deleteFolderMutation: import("@apollo/client").DocumentNode;
10
+ export declare const useDeleteFolderMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
11
+ export declare const createFileMutation: import("@apollo/client").DocumentNode;
12
+ export declare const useCreateFileMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
13
+ export declare const deleteFileMutation: import("@apollo/client").DocumentNode;
14
+ export declare const useDeleteFileMutation: () => import("@apollo/client").MutationTuple<any, import("@apollo/client").OperationVariables, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
@@ -1,39 +1,39 @@
1
- import { ModelQueryResult } from '../../../models/model';
2
- export declare const viewTypesQuery: import("@apollo/client").DocumentNode;
3
- export declare const viewTypesQueryOptions: {
4
- options: () => {
5
- client: import("@apollo/client").ApolloClient<import("@apollo/client").NormalizedCacheObject>;
6
- };
7
- name: string;
8
- props: ({ viewTypes: { loading, viewTypes, refetch }, }: {
9
- viewTypes: {
10
- loading: boolean;
11
- viewTypes: any;
12
- refetch: any;
13
- };
14
- }) => {
15
- models: any;
16
- refetchModels: any;
17
- loadingModels: boolean;
18
- };
19
- };
20
- export declare const useModelsQuery: (templateContextId?: number | undefined) => import("@apollo/client").QueryResult<ModelQueryResult, import("@apollo/client").OperationVariables>;
21
- export declare const viewTypeChildrenQuery: import("@apollo/client").DocumentNode;
22
- export declare const viewTypeChildrenQueryOptions: {
23
- options: () => {
24
- client: import("@apollo/client").ApolloClient<import("@apollo/client").NormalizedCacheObject>;
25
- };
26
- name: string;
27
- props: ({ viewTypes: { loading, viewTypes, refetch }, }: {
28
- viewTypes: {
29
- loading: boolean;
30
- viewTypes: any;
31
- refetch: any;
32
- };
33
- }) => {
34
- models: any;
35
- refetchModels: any;
36
- loadingModels: boolean;
37
- };
38
- };
39
- export declare const useModelChildrenQuery: (parentId?: number | undefined, templateId?: number | undefined) => import("@apollo/client").QueryResult<ModelQueryResult, import("@apollo/client").OperationVariables>;
1
+ import { ModelQueryResult } from '../../../models/model';
2
+ export declare const viewTypesQuery: import("@apollo/client").DocumentNode;
3
+ export declare const viewTypesQueryOptions: {
4
+ options: () => {
5
+ client: import("@apollo/client").ApolloClient<import("@apollo/client").NormalizedCacheObject>;
6
+ };
7
+ name: string;
8
+ props: ({ viewTypes: { loading, viewTypes, refetch }, }: {
9
+ viewTypes: {
10
+ loading: boolean;
11
+ viewTypes: any;
12
+ refetch: any;
13
+ };
14
+ }) => {
15
+ models: any;
16
+ refetchModels: any;
17
+ loadingModels: boolean;
18
+ };
19
+ };
20
+ export declare const useModelsQuery: (templateContextId?: number) => import("@apollo/client").QueryResult<ModelQueryResult, import("@apollo/client").OperationVariables>;
21
+ export declare const viewTypeChildrenQuery: import("@apollo/client").DocumentNode;
22
+ export declare const viewTypeChildrenQueryOptions: {
23
+ options: () => {
24
+ client: import("@apollo/client").ApolloClient<import("@apollo/client").NormalizedCacheObject>;
25
+ };
26
+ name: string;
27
+ props: ({ viewTypes: { loading, viewTypes, refetch }, }: {
28
+ viewTypes: {
29
+ loading: boolean;
30
+ viewTypes: any;
31
+ refetch: any;
32
+ };
33
+ }) => {
34
+ models: any;
35
+ refetchModels: any;
36
+ loadingModels: boolean;
37
+ };
38
+ };
39
+ export declare const useModelChildrenQuery: (parentId?: number, templateId?: number) => import("@apollo/client").QueryResult<ModelQueryResult, import("@apollo/client").OperationVariables>;
@@ -1,16 +1,27 @@
1
- export declare const showcaseConfigurationQuery: import("@apollo/client").DocumentNode;
2
- export declare const useShowcaseConfigurationQuery: () => import("@apollo/client").QueryResult<any, {
3
- ContextId: string | null;
4
- }>;
5
- export declare const showcaseConfigurationQueryOptions: any;
6
- export declare const addDomain: import("@apollo/client").DocumentNode;
7
- export declare const addDomainOptions: any;
8
- export declare const removeDomain: import("@apollo/client").DocumentNode;
9
- export declare const removeDomainOptions: any;
10
- export declare const useShowcaseTemplate: import("@apollo/client").DocumentNode;
11
- export declare const useShowcaseTemplateOptions: any;
12
- export declare const useShowcaseTemplateProgress: import("@apollo/client").DocumentNode;
13
- export declare const useShowcaseTemplateProgressQuery: (templateId: number) => import("@apollo/client").LazyQueryResultTuple<any, {
14
- templateId: number;
15
- companyId: string | null;
16
- }>;
1
+ import { UsageRecordQueryResult } from '../../../models/usage';
2
+ export declare const showcaseConfigurationQuery: import("@apollo/client").DocumentNode;
3
+ export declare const useShowcaseConfigurationQuery: () => import("@apollo/client").QueryResult<any, {
4
+ ContextId: string | null;
5
+ }>;
6
+ export declare const showcaseConfigurationQueryOptions: any;
7
+ export declare const addDomain: import("@apollo/client").DocumentNode;
8
+ export declare const addDomainOptions: any;
9
+ export declare const removeDomain: import("@apollo/client").DocumentNode;
10
+ export declare const removeDomainOptions: any;
11
+ export declare const useShowcaseTemplate: import("@apollo/client").DocumentNode;
12
+ export declare const useShowcaseTemplateOptions: any;
13
+ export declare const useShowcaseTemplateProgress: import("@apollo/client").DocumentNode;
14
+ export declare const useShowcaseTemplateProgressQuery: (templateId: number) => import("@apollo/client").LazyQueryResultTuple<any, {
15
+ templateId: number;
16
+ companyId: string | null;
17
+ }>;
18
+ export declare const registeUsage: import("@apollo/client").DocumentNode;
19
+ export declare const useRegisterUsage: (body: {
20
+ Domain: string;
21
+ }) => import("@apollo/client").MutationTuple<any, {
22
+ body: {
23
+ Domain: string;
24
+ };
25
+ }, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
26
+ export declare const queryUsage: import("@apollo/client").DocumentNode;
27
+ export declare const useQueryUsage: (AccountId: string) => import("@apollo/client").QueryResult<UsageRecordQueryResult, import("@apollo/client").OperationVariables>;
@@ -0,0 +1,13 @@
1
+ export interface BaseConfig {
2
+ lang: string | null;
3
+ templateId: number;
4
+ deep: number;
5
+ templateContextId: number;
6
+ }
7
+ export interface Config extends BaseConfig {
8
+ root: number;
9
+ pages?: SubConfig[];
10
+ }
11
+ export interface SubConfig extends BaseConfig {
12
+ path: string;
13
+ }
@@ -1,27 +1,35 @@
1
- export interface Content {
2
- Id: number;
3
- Name: string;
4
- DomainId?: number;
5
- ViewTypeId?: number;
6
- Online?: boolean;
7
- PlentyChildren?: boolean;
8
- ParentId?: number;
9
- UrlName?: string;
10
- Priority: number;
11
- ContentType?: number;
12
- UrlFullCode?: string;
13
- CreatorId?: number;
14
- StageId?: number;
15
- CreateDate?: Date;
16
- DueDate?: Date;
17
- }
18
- export interface GraphContent {
19
- createDate?: Date;
20
- id: number;
21
- modelId?: number;
22
- name: string;
23
- online: boolean;
24
- parentId?: number;
25
- path?: string;
26
- priority: number;
27
- }
1
+ export interface Content {
2
+ Id: number;
3
+ Name: string;
4
+ DomainId?: number;
5
+ ViewTypeId?: number;
6
+ Online?: boolean;
7
+ PlentyChildren?: boolean;
8
+ ParentId?: number;
9
+ UrlName?: string;
10
+ Priority: number;
11
+ ContentType?: number;
12
+ UrlFullCode?: string;
13
+ CreatorId?: number;
14
+ StageId?: number;
15
+ CreateDate?: Date;
16
+ DueDate?: Date;
17
+ }
18
+ export interface GraphContent {
19
+ createDate?: Date;
20
+ id: number;
21
+ modelId?: number;
22
+ name: string;
23
+ online: boolean;
24
+ parentId?: number;
25
+ path?: string;
26
+ priority: number;
27
+ children?: GraphContent[];
28
+ data: GraphContentDataObj[];
29
+ title: string;
30
+ metaDescription: string;
31
+ }
32
+ export interface GraphContentDataObj {
33
+ Key: string;
34
+ Value: string | null;
35
+ }
@@ -1,32 +1,32 @@
1
- export interface ContentInstance {
2
- Id: number;
3
- Name: string;
4
- MetaDescription: string;
5
- MetaKeywords: string;
6
- Title: string;
7
- ViewTemplateId: number;
8
- Online: boolean;
9
- ContentId: number;
10
- Language: string;
11
- Version: number;
12
- CreateDate: Date;
13
- FieldsValues: ContentInstanceField[];
14
- RedirectUrl: string;
15
- DownloadPath: string;
16
- DownloadName: string;
17
- CreatorId: number;
18
- StageId: number;
19
- Stage: any;
20
- Comments: any;
21
- ContextCompanyId: number;
22
- Data: string;
23
- DataDic: any;
24
- }
25
- export interface ContentInstanceField {
26
- ContentId?: number;
27
- FieldId: number;
28
- Value: string;
29
- }
30
- export interface ContentInstancesQueryResult {
31
- contentInstances: ContentInstance[];
32
- }
1
+ export interface ContentInstance {
2
+ Id: number;
3
+ Name: string;
4
+ MetaDescription: string;
5
+ MetaKeywords: string;
6
+ Title: string;
7
+ ViewTemplateId: number;
8
+ Online: boolean;
9
+ ContentId: number;
10
+ Language: string;
11
+ Version: number;
12
+ CreateDate: Date;
13
+ FieldsValues: ContentInstanceField[];
14
+ RedirectUrl: string;
15
+ DownloadPath: string;
16
+ DownloadName: string;
17
+ CreatorId: number;
18
+ StageId: number;
19
+ Stage: any;
20
+ Comments: any;
21
+ ContextCompanyId: number;
22
+ Data: string;
23
+ DataDic: any;
24
+ }
25
+ export interface ContentInstanceField {
26
+ ContentId?: number;
27
+ FieldId: number;
28
+ Value: string;
29
+ }
30
+ export interface ContentInstancesQueryResult {
31
+ contentInstances: ContentInstance[];
32
+ }
@@ -1,12 +1,12 @@
1
- export interface File {
2
- Name: string;
3
- Id: string;
4
- Type: string;
5
- Path: string;
6
- Length: number;
7
- CreationDate: Date;
8
- LastModifiedDate: Date;
9
- }
10
- export interface FilesQueryResult {
11
- files: File[];
12
- }
1
+ export interface File {
2
+ Name: string;
3
+ Id: string;
4
+ Type: string;
5
+ Path: string;
6
+ Length: number;
7
+ CreationDate: Date;
8
+ LastModifiedDate: Date;
9
+ }
10
+ export interface FilesQueryResult {
11
+ files: File[];
12
+ }
@@ -1,11 +1,11 @@
1
- export interface FolderTreeItem {
2
- id: string;
3
- text: string;
4
- obj: {
5
- Path: string;
6
- };
7
- children?: FolderTreeItem[];
8
- }
9
- export interface FoldersTreeQueryResult {
10
- foldersTree: FolderTreeItem[];
11
- }
1
+ export interface FolderTreeItem {
2
+ id: string;
3
+ text: string;
4
+ obj: {
5
+ Path: string;
6
+ };
7
+ children?: FolderTreeItem[];
8
+ }
9
+ export interface FoldersTreeQueryResult {
10
+ foldersTree: FolderTreeItem[];
11
+ }