@bcrumbs.net/bc-api 0.0.13 → 0.0.14
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/index.esm.d.ts +1 -0
- package/index.esm.js +12796 -4660
- package/package.json +4 -7
- package/{index.d.ts → src/index.d.ts} +1 -0
- package/src/lib/clients/dqueryClient.d.ts +8 -0
- package/src/lib/clients/showcaseClient.d.ts +7 -0
- package/{lib → src/lib}/endpoints/graphql/showcase/index.d.ts +1 -1
- package/{lib → src/lib}/endpoints/rest/showcase/index.d.ts +2 -2
- package/{lib → src/lib}/models/folder.d.ts +1 -1
- package/src/lib/models/form.d.ts +22 -0
- package/{lib → src/lib}/services/auth/index.d.ts +7 -7
- package/index.umd.js +0 -87437
- package/lib/clients/dqueryClient.d.ts +0 -13
- package/lib/clients/showcaseClient.d.ts +0 -12
- package/lib/services/validators/index.d.ts +0 -20
- /package/{lib → src/lib}/clients/dconfigClient.d.ts +0 -0
- /package/{lib → src/lib}/clients/showcaseRendererClient.d.ts +0 -0
- /package/{lib → src/lib}/config/index.d.ts +0 -0
- /package/{lib → src/lib}/endpoints/rest/auth/index.d.ts +0 -0
- /package/{lib → src/lib}/endpoints/rest/billing/index.d.ts +0 -0
- /package/{lib → src/lib}/endpoints/rest/companies/index.d.ts +0 -0
- /package/{lib → src/lib}/endpoints/rest/contents/index.d.ts +0 -0
- /package/{lib → src/lib}/endpoints/rest/files/index.d.ts +0 -0
- /package/{lib → src/lib}/endpoints/rest/models/index.d.ts +0 -0
- /package/{lib → src/lib}/models/config.d.ts +0 -0
- /package/{lib → src/lib}/models/content.d.ts +0 -0
- /package/{lib → src/lib}/models/contentInstance.d.ts +0 -0
- /package/{lib → src/lib}/models/file.d.ts +0 -0
- /package/{lib → src/lib}/models/model.d.ts +0 -0
- /package/{lib → src/lib}/models/usage.d.ts +0 -0
- /package/{lib → src/lib}/services/i18n/index.d.ts +0 -0
- /package/{lib → src/lib}/utils/httpStatusCode.d.ts +0 -0
- /package/{lib → src/lib}/utils/index.d.ts +0 -0
- /package/{lib → src/lib}/utils/strings.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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,20 +0,0 @@
|
|
|
1
|
-
declare const Validators: {
|
|
2
|
-
/**
|
|
3
|
-
* validate image
|
|
4
|
-
*
|
|
5
|
-
* @param {any} [file=File] uploaded file
|
|
6
|
-
* @param {func} [callBack=()=>{ }] the callback function
|
|
7
|
-
*/
|
|
8
|
-
validateImage(file: any, callback: any): void;
|
|
9
|
-
};
|
|
10
|
-
export declare const ValidatorsConstants: {
|
|
11
|
-
MaxFileSize: number;
|
|
12
|
-
FileFormats: {
|
|
13
|
-
TEXT: never[];
|
|
14
|
-
IMAGE: string[];
|
|
15
|
-
VIDEO: string[];
|
|
16
|
-
AUDIO: string[];
|
|
17
|
-
FILE: never[];
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export default Validators;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|