Browse Source

fix: add snapshot controller and services

pull/9879/head
DarkPhoenix2704 3 days ago
parent
commit
611adeb4aa
  1. 1
      packages/nocodb/src/meta/meta.service.ts
  2. 2
      packages/nocodb/src/utils/globals.ts

1
packages/nocodb/src/meta/meta.service.ts

@ -329,6 +329,7 @@ export class MetaService {
[MetaTable.INTEGRATIONS]: 'int',
[MetaTable.FILE_REFERENCES]: 'at',
[MetaTable.COL_BUTTON]: 'btn',
[MetaTable.SNAPSHOT]: 'snap',
};
const prefix = prefixMap[target] || 'nc';

2
packages/nocodb/src/utils/globals.ts

@ -57,6 +57,7 @@ export enum MetaTable {
INTEGRATIONS_STORE = 'nc_integrations_store_v2',
FILE_REFERENCES = 'nc_file_references',
COL_BUTTON = 'nc_col_button_v2',
SNAPSHOT = 'nc_snapshots',
}
export enum MetaTableOldV2 {
@ -190,6 +191,7 @@ export enum CacheScope {
COL_BUTTON = 'colButton',
CMD_PALETTE = 'cmdPalette',
PRODUCT_FEED = 'productFeed',
SNAPSHOT = 'snapshot',
}
export enum CacheGetType {

Loading…
Cancel
Save