# Variable feed

feed: {
configuration_workflow: (req: object) => Workflow;
connectedObjects: (configuration: any) => Promise<ConnectedObjects>;
description: string;
get_state_fields: (
table_id: number,
viewname: any,
opts: { show_view: any },
) => Promise<Field>;
name: string;
queries: (
__namedParameters: {
configuration: { show_view: any };
req: any;
res: any;
table_id: any;
viewname: any;
},
) => {
countRowsQuery(state: any): Promise<number>;
runManyQuery(
state: any,
qextra: any,
selectOpts0: any,
): Promise<string[] | { html: string; row: any }[]>;
};
run: (
table_id: number,
viewname: string,
opts: {
always_create_view: boolean;
cols: any;
create_view_display: string;
create_view_label?: string;
create_view_location?: string;
descending: boolean;
hide_pagination: boolean;
in_card: boolean;
masonry_columns: string;
order_field: void;
rows_per_page?: number;
show_view: string;
view_to_create?: string;
},
state: object,
extraArgs: any,
__namedParameters: { countRowsQuery: any; runManyQuery: any },
) => Promise<TagFunction>;
getStringsForI18n(opts: { create_view_label: any }): string[] | Object[];
}

#### Type Declaration

- ##### configuration_workflow: (req: object) => Workflow

- ##### connectedObjects: (configuration: any) => Promise<ConnectedObjects>

- ##### description: string

- ##### get_state_fields: (table_id: number, viewname: any, opts: { show_view: any }) => Promise<Field>

- ##### name: string

- ##### queries: (
  __namedParameters: {
  configuration: { show_view: any };
  req: any;
  res: any;
  table_id: any;
  viewname: any;
  },
  ) => {
  countRowsQuery(state: any): Promise<number>;
  runManyQuery(
  state: any,
  qextra: any,
  selectOpts0: any,
  ): Promise<string[] | { html: string; row: any }[]>;
  }

- ##### run: (
  table_id: number,
  viewname: string,
  opts: {
  always_create_view: boolean;
  cols: any;
  create_view_display: string;
  create_view_label?: string;
  create_view_location?: string;
  descending: boolean;
  hide_pagination: boolean;
  in_card: boolean;
  masonry_columns: string;
  order_field: void;
  rows_per_page?: number;
  show_view: string;
  view_to_create?: string;
  },
  state: object,
  extraArgs: any,
  __namedParameters: { countRowsQuery: any; runManyQuery: any },
  ) => Promise<TagFunction>

- ##### getStringsForI18n: function

  - getStringsForI18n(opts: { create_view_label: any }): string[] | Object[]

    #### Parameters

    - opts: { create_view_label: any }

    #### Returns string[] | Object[]

    - Defined in packages/saltcorn-data/base-plugin/viewtemplates/feed.js:978

- Defined in packages/saltcorn-data/base-plugin/viewtemplates/feed.js:963