@objectql/starter-basic 1.6.1
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.
- package/LICENSE +21 -0
- package/README.md +17 -0
- package/dist/demo.app.yml +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/main.menu.yml +30 -0
- package/dist/modules/kitchen-sink/kitchen_sink.data.yml +18 -0
- package/dist/modules/kitchen-sink/kitchen_sink.object.yml +154 -0
- package/dist/modules/projects/pages/create_project_wizard.page.yml +244 -0
- package/dist/modules/projects/pages/project_detail.page.yml +258 -0
- package/dist/modules/projects/project_approval.workflow.yml +51 -0
- package/dist/modules/projects/project_status.report.yml +39 -0
- package/dist/modules/projects/projects.action.d.ts +104 -0
- package/dist/modules/projects/projects.action.js +363 -0
- package/dist/modules/projects/projects.action.js.map +1 -0
- package/dist/modules/projects/projects.data.yml +13 -0
- package/dist/modules/projects/projects.form.yml +41 -0
- package/dist/modules/projects/projects.hook.d.ts +15 -0
- package/dist/modules/projects/projects.hook.js +302 -0
- package/dist/modules/projects/projects.hook.js.map +1 -0
- package/dist/modules/projects/projects.object.yml +148 -0
- package/dist/modules/projects/projects.permission.yml +141 -0
- package/dist/modules/projects/projects.validation.yml +37 -0
- package/dist/modules/projects/projects.view.yml +35 -0
- package/dist/modules/tasks/tasks.data.yml +23 -0
- package/dist/modules/tasks/tasks.object.yml +34 -0
- package/dist/modules/tasks/tasks.permission.yml +167 -0
- package/dist/pages/dashboard.page.yml +206 -0
- package/dist/pages/landing.page.yml +275 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/kitchen_sink.d.ts +99 -0
- package/dist/types/kitchen_sink.js +3 -0
- package/dist/types/kitchen_sink.js.map +1 -0
- package/dist/types/projects.d.ts +47 -0
- package/dist/types/projects.js +3 -0
- package/dist/types/projects.js.map +1 -0
- package/dist/types/tasks.d.ts +31 -0
- package/dist/types/tasks.js +3 -0
- package/dist/types/tasks.js.map +1 -0
- package/package.json +38 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ObjectDoc } from '@objectql/types';
|
|
2
|
+
export interface KitchenSink extends ObjectDoc {
|
|
3
|
+
/**
|
|
4
|
+
* Simple Text
|
|
5
|
+
*/
|
|
6
|
+
simple_text: string;
|
|
7
|
+
/**
|
|
8
|
+
* Multi-line Text
|
|
9
|
+
*/
|
|
10
|
+
long_text?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Markdown Content
|
|
13
|
+
*/
|
|
14
|
+
rich_content?: string;
|
|
15
|
+
/**
|
|
16
|
+
* HTML Content
|
|
17
|
+
*/
|
|
18
|
+
raw_html?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Integer Count
|
|
21
|
+
*/
|
|
22
|
+
count?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Price
|
|
25
|
+
*/
|
|
26
|
+
price?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Progress
|
|
29
|
+
*/
|
|
30
|
+
progress?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Is Active
|
|
33
|
+
*/
|
|
34
|
+
is_active?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Due Date
|
|
37
|
+
*/
|
|
38
|
+
due_date?: Date | string;
|
|
39
|
+
/**
|
|
40
|
+
* Meeting (Date & Time)
|
|
41
|
+
*/
|
|
42
|
+
meeting_time?: Date | string;
|
|
43
|
+
/**
|
|
44
|
+
* Alarm Time
|
|
45
|
+
*/
|
|
46
|
+
alarm?: Date | string;
|
|
47
|
+
/**
|
|
48
|
+
* Status
|
|
49
|
+
*/
|
|
50
|
+
status?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Tags
|
|
53
|
+
*/
|
|
54
|
+
tags?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Email
|
|
57
|
+
*/
|
|
58
|
+
email_address?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Phone
|
|
61
|
+
*/
|
|
62
|
+
phone_number?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Website URL
|
|
65
|
+
*/
|
|
66
|
+
website?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Avatar
|
|
69
|
+
*/
|
|
70
|
+
profile_pic?: any;
|
|
71
|
+
/**
|
|
72
|
+
* Attachment document
|
|
73
|
+
*/
|
|
74
|
+
attachment?: any;
|
|
75
|
+
/**
|
|
76
|
+
* Image Gallery
|
|
77
|
+
*/
|
|
78
|
+
gallery?: any[];
|
|
79
|
+
/**
|
|
80
|
+
* Secret Code
|
|
81
|
+
*/
|
|
82
|
+
secret_code?: string;
|
|
83
|
+
/**
|
|
84
|
+
* GPS Coordinates
|
|
85
|
+
*/
|
|
86
|
+
coords?: any;
|
|
87
|
+
/**
|
|
88
|
+
* JSON Metadata
|
|
89
|
+
*/
|
|
90
|
+
metadata?: any;
|
|
91
|
+
/**
|
|
92
|
+
* Vector Embedding
|
|
93
|
+
*/
|
|
94
|
+
embedding?: number[];
|
|
95
|
+
/**
|
|
96
|
+
* Related Project
|
|
97
|
+
*/
|
|
98
|
+
related_project?: string | number;
|
|
99
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kitchen_sink.js","sourceRoot":"","sources":["../../src/types/kitchen_sink.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ObjectDoc } from '@objectql/types';
|
|
2
|
+
export interface Projects extends ObjectDoc {
|
|
3
|
+
/**
|
|
4
|
+
* Name
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* Status
|
|
9
|
+
*/
|
|
10
|
+
status?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Priority
|
|
13
|
+
*/
|
|
14
|
+
priority?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Description
|
|
17
|
+
*/
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Owner
|
|
21
|
+
*/
|
|
22
|
+
owner?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Budget
|
|
25
|
+
*/
|
|
26
|
+
budget?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Start Date
|
|
29
|
+
*/
|
|
30
|
+
start_date?: Date | string;
|
|
31
|
+
/**
|
|
32
|
+
* End Date
|
|
33
|
+
*/
|
|
34
|
+
end_date?: Date | string;
|
|
35
|
+
/**
|
|
36
|
+
* Approved By
|
|
37
|
+
*/
|
|
38
|
+
approved_by?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Approved At
|
|
41
|
+
*/
|
|
42
|
+
approved_at?: Date | string;
|
|
43
|
+
/**
|
|
44
|
+
* Approval Comment
|
|
45
|
+
*/
|
|
46
|
+
approval_comment?: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../src/types/projects.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ObjectDoc } from '@objectql/types';
|
|
2
|
+
export interface Tasks extends ObjectDoc {
|
|
3
|
+
/**
|
|
4
|
+
* Name
|
|
5
|
+
*/
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* Project
|
|
9
|
+
*/
|
|
10
|
+
project?: string | number;
|
|
11
|
+
/**
|
|
12
|
+
* Due Date
|
|
13
|
+
*/
|
|
14
|
+
due_date?: Date | string;
|
|
15
|
+
/**
|
|
16
|
+
* Completed
|
|
17
|
+
*/
|
|
18
|
+
completed?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Priority
|
|
21
|
+
*/
|
|
22
|
+
priority?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Assignee
|
|
25
|
+
*/
|
|
26
|
+
assigned_to?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Estimated Hours
|
|
29
|
+
*/
|
|
30
|
+
estimated_hours?: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/types/tasks.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@objectql/starter-basic",
|
|
3
|
+
"version": "1.6.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "ObjectQL Contributors",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/objectql/objectql.git",
|
|
9
|
+
"directory": "packages/starters/basic"
|
|
10
|
+
},
|
|
11
|
+
"private": false,
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"sqlite3": "^5.1.7",
|
|
19
|
+
"@objectql/core": "1.6.1",
|
|
20
|
+
"@objectql/driver-sql": "1.6.1",
|
|
21
|
+
"@objectql/platform-node": "1.6.1",
|
|
22
|
+
"@objectql/types": "1.6.1"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"typescript": "^5.3.0",
|
|
26
|
+
"@objectql/cli": "1.6.1",
|
|
27
|
+
"@objectql/core": "1.6.1",
|
|
28
|
+
"@objectql/driver-sql": "1.6.1",
|
|
29
|
+
"@objectql/platform-node": "1.6.1",
|
|
30
|
+
"@objectql/types": "1.6.1"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"codegen": "objectql generate -s src -o src/types",
|
|
34
|
+
"build": "npm run codegen && tsc && rsync -a --include '*/' --include '*.yml' --exclude '*' src/ dist/",
|
|
35
|
+
"repl": "objectql repl",
|
|
36
|
+
"test": "echo \"No tests specified\" && exit 0"
|
|
37
|
+
}
|
|
38
|
+
}
|