@worktables/n8n-nodes-worktables 12.0.6 → 12.0.7

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.
@@ -3,7 +3,6 @@ export declare class Worktables implements INodeType {
3
3
  description: INodeTypeDescription;
4
4
  methods: {
5
5
  loadOptions: {
6
- getResources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
7
6
  getWorkspaces(): Promise<{
8
7
  name: string;
9
8
  value: string;
@@ -38,15 +38,45 @@ class Worktables {
38
38
  'Content-Type': 'application/json',
39
39
  },
40
40
  },
41
+ codex: {
42
+ categories: ['Collaboration'],
43
+ subcategories: {
44
+ Collaboration: [''],
45
+ },
46
+ alias: ['monday', 'boards', 'work management'],
47
+ resources: {
48
+ primaryDocumentation: [
49
+ {
50
+ url: '',
51
+ },
52
+ ],
53
+ credentialDocumentation: [
54
+ {
55
+ url: '',
56
+ },
57
+ ],
58
+ },
59
+ },
41
60
  properties: [
42
61
  {
43
62
  displayName: 'Resource',
44
63
  name: 'resource',
45
64
  type: 'options',
46
65
  noDataExpression: true,
47
- typeOptions: {
48
- loadOptionsMethod: 'getResources',
49
- },
66
+ options: [
67
+ { name: 'Board', value: 'board', description: 'Operations related to boards' },
68
+ { name: 'Item', value: 'item', description: 'Operations related to items' },
69
+ { name: 'Subitem', value: 'subitem', description: 'Operations related to subitems' },
70
+ { name: 'Update', value: 'update', description: 'Operations related to updates' },
71
+ { name: 'Team', value: 'team', description: 'Operations related to teams' },
72
+ { name: 'User', value: 'user', description: 'Operations related to users' },
73
+ {
74
+ name: 'Download File',
75
+ value: 'downloadFile',
76
+ description: 'Download a file from Monday.com',
77
+ },
78
+ { name: 'Query', value: 'query', description: 'Operations related to running queries' },
79
+ ],
50
80
  default: 'board',
51
81
  required: true,
52
82
  description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
@@ -1874,22 +1904,6 @@ class Worktables {
1874
1904
  };
1875
1905
  this.methods = {
1876
1906
  loadOptions: {
1877
- async getResources() {
1878
- return [
1879
- { name: 'Board', value: 'board', description: 'Operations related to boards' },
1880
- { name: 'Item', value: 'item', description: 'Operations related to items' },
1881
- { name: 'Subitem', value: 'subitem', description: 'Operations related to subitems' },
1882
- { name: 'Update', value: 'update', description: 'Operations related to updates' },
1883
- { name: 'Team', value: 'team', description: 'Operations related to teams' },
1884
- { name: 'User', value: 'user', description: 'Operations related to users' },
1885
- {
1886
- name: 'Download File',
1887
- value: 'downloadFile',
1888
- description: 'Download a file from Monday.com',
1889
- },
1890
- { name: 'Query', value: 'query', description: 'Operations related to running queries' },
1891
- ];
1892
- },
1893
1907
  async getWorkspaces() {
1894
1908
  const credentials = await this.getCredentials('WorktablesApi');
1895
1909
  const apiKey = credentials === null || credentials === void 0 ? void 0 : credentials.apiKey;