@redonvn/redai-backend-api-sdk 0.6.3 → 0.6.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.
@@ -998,6 +998,7 @@ export interface CollectionCategoryResponseDto {
998
998
  createdAt: number;
999
999
  updatedAt?: unknown | null;
1000
1000
  }
1001
+ export type COLOR = unknown;
1001
1002
  export interface ColumnDisplayMetaResponseDto {
1002
1003
  width?: number;
1003
1004
  hidden?: boolean;
@@ -1933,12 +1934,6 @@ export interface FieldConfig {
1933
1934
  allowedFileTypes?: string[];
1934
1935
  maxFileSize?: number;
1935
1936
  maxFiles?: number;
1936
- options?: Array<{
1937
- id?: string;
1938
- value?: string | null;
1939
- label: string;
1940
- color?: string | null;
1941
- }>;
1942
1937
  }
1943
1938
  export type FieldMeta = {
1944
1939
  placeholder?: string;
@@ -2000,6 +1995,7 @@ export declare enum FieldType {
2000
1995
  CONVERSATION_ID = "conversation_id",
2001
1996
  UUID = "uuid",
2002
1997
  JSON = "json",
1998
+ COLOR = "color",
2003
1999
  NUMBER = "number",
2004
2000
  CURRENCY = "currency",
2005
2001
  PERCENT = "percent",
@@ -2012,6 +2008,7 @@ export declare enum FieldType {
2012
2008
  BOOLEAN = "boolean",
2013
2009
  DATE = "date",
2014
2010
  DATETIME = "datetime",
2011
+ TIME = "time",
2015
2012
  DURATION = "duration",
2016
2013
  RELATION = "relation",
2017
2014
  LINK_TO_ANOTHER_RECORD = "link_to_another_record",
@@ -5885,6 +5882,10 @@ export type TableMeta = {
5885
5882
  i18n?: {
5886
5883
  label?: Partial<Record<string, string>>;
5887
5884
  };
5885
+ collectionPlugin?: {
5886
+ projectedBy?: 'collection-plugin';
5887
+ definitionHash?: string;
5888
+ };
5888
5889
  };
5889
5890
  export interface TableResponseDto {
5890
5891
  id: unknown;
@@ -6665,6 +6666,10 @@ export type ViewMeta = {
6665
6666
  height?: number;
6666
6667
  density?: 'compact' | 'normal' | 'comfortable';
6667
6668
  };
6669
+ collectionPlugin?: {
6670
+ viewKey?: string;
6671
+ definitionManaged?: boolean;
6672
+ };
6668
6673
  };
6669
6674
  export interface ViewResponseDto {
6670
6675
  id: unknown;