refactor: remove immutable from 'config' state slice (#4960)
This commit is contained in:
committed by
GitHub
parent
133689247b
commit
6623740a8c
2
packages/netlify-cms-core/src/constants/commitProps.ts
Normal file
2
packages/netlify-cms-core/src/constants/commitProps.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export const COMMIT_AUTHOR = 'commit_author';
|
||||
export const COMMIT_DATE = 'commit_date';
|
@ -1,8 +1,8 @@
|
||||
import React from 'react';
|
||||
|
||||
export const IDENTIFIER_FIELDS = ['title', 'path'];
|
||||
export const IDENTIFIER_FIELDS = ['title', 'path'] as const;
|
||||
|
||||
export const SORTABLE_FIELDS = ['title', 'date', 'author', 'description'];
|
||||
export const SORTABLE_FIELDS = ['title', 'date', 'author', 'description'] as const;
|
||||
|
||||
export const INFERABLE_FIELDS = {
|
||||
title: {
|
||||
|
Reference in New Issue
Block a user