gatsby-source-payload-cms
Version:
Source data from Payload CMS
16 lines (15 loc) • 534 B
TypeScript
export declare const NODE_TYPES: {
readonly Post: "Post";
readonly Author: "Author";
readonly Asset: "Asset";
};
export declare const CACHE_KEYS: {
readonly Timestamp: "updatedAt";
};
/**
* The IDs for your errors can be arbitrary (since they are scoped to your plugin), but it's good practice to have a system for them.
* For example, you could start all third-party API errors with 1000x, all transformation errors with 2000x, etc.
*/
export declare const ERROR_CODES: {
readonly GraphQLSourcing: "10000";
};