codeapp-js 0.2.1 → 0.2.2
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/.github/instructions/wyattdave.instructions.md +39 -0
- package/codeApp/dist/codeapp.js +235 -4
- package/codeApp/dist/index.js +1 -1
- package/codeApp/dist/power-apps-data.js +170 -591
- package/dev files/dataverse.js +7 -22
- package/dev files/environmentVar.js +1 -1
- package/dev files/office365groups.js +1 -1
- package/dev files/office365users.js +1 -1
- package/dev files/outlook.js +219 -10
- package/dev files/sharepoint.js +1 -1
- package/examples/combined demo/dist/codeapp.js +1098 -1098
- package/examples/combined demo/dist/index.js +470 -470
- package/examples/combined demo/dist/power-apps-data.js +3006 -3006
- package/examples/combined demo/power.config.json +42 -42
- package/examples/dataverse Demo/dist/codeapp.js +1085 -1085
- package/examples/dataverse Demo/dist/index.html +54 -54
- package/examples/dataverse Demo/dist/index.js +82 -82
- package/examples/dataverse Demo/dist/power-apps-data.js +2911 -2911
- package/examples/dataverse Demo/power.config.json +34 -34
- package/examples/dataverse Demo/readme.md +79 -79
- package/examples/groups Demo/dist/codeapp.js +1085 -1085
- package/examples/groups Demo/dist/index.js +113 -113
- package/examples/groups Demo/dist/power-apps-data.js +2911 -2911
- package/examples/kanban/dist/dataverse.js +94 -94
- package/examples/kanban/dist/environmentVar.js +55 -55
- package/examples/kanban/dist/office365groups.js +97 -97
- package/examples/kanban/dist/office365users.js +169 -169
- package/examples/kanban/dist/outlook.js +162 -162
- package/examples/kanban/dist/power-apps-data.js +2953 -2953
- package/examples/kanban/dist/sharepoint.js +339 -339
- package/examples/myProfile/dist/index.html +184 -184
- package/examples/myProfile/dist/index.js +141 -141
- package/examples/myProfile/dist/office365users.js +169 -169
- package/examples/myProfile/dist/power-apps-data.js +2953 -2953
- package/examples/myProfile/power.config.json +22 -22
- package/examples/myProfile/readme.md +79 -79
- package/examples/outlook Demo/dist/codeapp.js +1085 -1085
- package/examples/outlook Demo/dist/index.html +35 -35
- package/examples/outlook Demo/dist/index.js +170 -170
- package/examples/outlook Demo/dist/outlook.js +121 -121
- package/examples/outlook Demo/dist/power-apps-data.js +2911 -2911
- package/examples/outlook Demo/dist/styles.css +84 -84
- package/examples/outlook Demo/readme.md +82 -82
- package/examples/outlook Demo2/OutlookDemo_1_0_0_1.zip +0 -0
- package/examples/outlook Demo2/agent/decision-log.md +7 -0
- package/examples/outlook Demo2/dist/codeapp.js +1334 -0
- package/examples/outlook Demo2/dist/icon-512.png +0 -0
- package/examples/outlook Demo2/dist/index.html +98 -0
- package/examples/outlook Demo2/dist/index.js +346 -0
- package/{dev files → examples/outlook Demo2/dist}/power-apps-data.js +73 -18
- package/examples/outlook Demo2/dist/styles.css +639 -0
- package/examples/outlook Demo2/power.config.json +23 -0
- package/examples/outlook Demo2/src/generated/index.ts +14 -0
- package/examples/outlook Demo2/src/generated/models/Office365GroupsModel.ts +363 -0
- package/examples/outlook Demo2/src/generated/models/Office365OutlookModel.ts +2046 -0
- package/examples/outlook Demo2/src/generated/models/Office365UsersModel.ts +254 -0
- package/examples/outlook Demo2/src/generated/services/Office365GroupsService.ts +326 -0
- package/examples/outlook Demo2/src/generated/services/Office365OutlookService.ts +2476 -0
- package/examples/outlook Demo2/src/generated/services/Office365UsersService.ts +358 -0
- package/examples/planning Poker/.vscode/settings.json +4 -4
- package/examples/planning Poker/additional files/customizations (tables).xml +6428 -6428
- package/examples/planning Poker/additional files/dataverse-tables.json +165 -165
- package/examples/planning Poker/additional files/readme.md +122 -122
- package/examples/planning Poker/dist/dataverse.js +78 -78
- package/examples/planning Poker/dist/index.html +198 -198
- package/examples/planning Poker/dist/index.js +954 -954
- package/examples/planning Poker/dist/power-apps-data.js +2953 -2953
- package/examples/planning Poker/dist/styles.css +815 -815
- package/examples/sharePoint Demo/agent/decision-log.md +5 -5
- package/examples/sharePoint Demo/dist/codeapp.js +1085 -1085
- package/examples/sharePoint Demo/dist/index.js +262 -262
- package/examples/sharePoint Demo/dist/power-apps-data.js +2911 -2911
- package/examples/sharePoint Demo/power.config.json +22 -22
- package/examples/solution explorer/agent/decision-log.md +27 -27
- package/examples/solution explorer/agent/mockup-01-swiss-grid.html +452 -452
- package/examples/solution explorer/agent/mockup-02-dark-glass.html +496 -496
- package/examples/solution explorer/agent/mockup-03-paper-console.html +510 -510
- package/examples/solution explorer/agent/mockup-04-neon-noir.html +546 -546
- package/examples/solution explorer/agent/mockup-05-zen-garden.html +534 -534
- package/examples/solution explorer/dist/codeapp.js +1098 -1098
- package/examples/solution explorer/dist/index.html +80 -80
- package/examples/solution explorer/dist/index.js +735 -735
- package/examples/solution explorer/dist/power-apps-data.js +3006 -3006
- package/examples/solution explorer/dist/styles.css +571 -571
- package/examples/solution explorer/power.config.json +150 -150
- package/examples/todo/dist/dataverse.js +64 -64
- package/examples/todo/dist/index.html +75 -75
- package/examples/todo/dist/index.js +8 -8
- package/examples/todo/dist/power-apps-data.js +2953 -2953
- package/examples/todo/dist/renderer.js +375 -375
- package/examples/todo/dist/styles.css +691 -691
- package/examples/todo/power.config.json +34 -34
- package/package.json +1 -1
- package/scripts/build-power-sdk.mjs +69 -0
- package/dev files/customConnector.js +0 -98
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"appDisplayName": "SharePoint Demo App",
|
|
3
|
-
"description": "",
|
|
4
|
-
"environmentId": "<ENVIRONMENT_ID>",
|
|
5
|
-
"buildPath": "./dist",
|
|
6
|
-
"buildEntryPoint": "index.html",
|
|
7
|
-
"logoPath": "default",
|
|
8
|
-
"localAppUrl": "http://localhost:3000",
|
|
9
|
-
"region": "prod",
|
|
10
|
-
"connectionReferences": {
|
|
11
|
-
"sharepointonline": {
|
|
12
|
-
"id": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline",
|
|
13
|
-
"displayName": "SharePoint",
|
|
14
|
-
"dataSources": [
|
|
15
|
-
"sharepointonline"
|
|
16
|
-
],
|
|
17
|
-
"authenticationType": null,
|
|
18
|
-
"sharedConnectionId": null,
|
|
19
|
-
"dataSets": {}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"databaseReferences": {}
|
|
1
|
+
{
|
|
2
|
+
"appDisplayName": "SharePoint Demo App",
|
|
3
|
+
"description": "",
|
|
4
|
+
"environmentId": "<ENVIRONMENT_ID>",
|
|
5
|
+
"buildPath": "./dist",
|
|
6
|
+
"buildEntryPoint": "index.html",
|
|
7
|
+
"logoPath": "default",
|
|
8
|
+
"localAppUrl": "http://localhost:3000",
|
|
9
|
+
"region": "prod",
|
|
10
|
+
"connectionReferences": {
|
|
11
|
+
"sharepointonline": {
|
|
12
|
+
"id": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline",
|
|
13
|
+
"displayName": "SharePoint",
|
|
14
|
+
"dataSources": [
|
|
15
|
+
"sharepointonline"
|
|
16
|
+
],
|
|
17
|
+
"authenticationType": null,
|
|
18
|
+
"sharedConnectionId": null,
|
|
19
|
+
"dataSets": {}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"databaseReferences": {}
|
|
23
23
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
# Solution Explorer — Design Decision Log
|
|
3
|
-
|
|
4
|
-
## App Purpose
|
|
5
|
-
Browse all Dataverse solutions in a Power Apps environment and drill into their components. Uses `codeapp.js` for all Dataverse connections via `registerTable` / `listItems`.
|
|
6
|
-
|
|
7
|
-
## Dataverse Tables
|
|
8
|
-
- **solutions** (PK: `solutionid`) — fields: `friendlyname`, `uniquename`, `version`, `ismanaged`, `modifiedon`, `description`
|
|
9
|
-
- **solutioncomponents** (PK: `solutioncomponentid`) — filter by `_solutionid_value`, read `componenttype`, `objectid`
|
|
10
|
-
|
|
11
|
-
## Mockup Summary
|
|
12
|
-
|
|
13
|
-
| # | File | Aesthetic | Theme | Layout | Typography |
|
|
14
|
-
|---|------|-----------|-------|--------|------------|
|
|
15
|
-
| 1 | mockup-01-swiss-grid.html | Swiss/International Typographic | Light cream | Side-panel list + detail pane | DM Mono + Instrument Serif |
|
|
16
|
-
| 2 | mockup-02-dark-glass.html | Glassmorphism dark | Deep black + purple/cyan glows | Stats row + card list + glass detail | Outfit + Cormorant Garamond |
|
|
17
|
-
| 3 | mockup-03-paper-console.html | Developer paper/console | Warm paper + lined bg | Table rows + collapsible tree | IBM Plex Mono + Playfair Display |
|
|
18
|
-
| 4 | mockup-04-neon-noir.html | Cyberpunk/terminal | Pure black + cyan/magenta neon | Terminal search + list + accordion detail | JetBrains Mono + Syne |
|
|
19
|
-
| 5 | mockup-05-zen-garden.html | Organic/natural zen | Warm whites + sage/terracotta | Card tile grid + slide-out drawer | Karla + Crimson Pro |
|
|
20
|
-
|
|
21
|
-
## Share Feature
|
|
22
|
-
- Share modal: click any component row to share with User (systemusers) or Team (teams) via Dataverse search
|
|
23
|
-
- Share uses `callUnboundAction` from `codeapp.js` with `GrantAccess` registered in power.config.json
|
|
24
|
-
- `GrantAccess` declared in `databaseReferences.default.cds.dataSources`, `initDataSources`, and `registerCoreTables`
|
|
25
|
-
- Access mask grants Read, Write, Append, AppendTo, Share, Assign rights
|
|
26
|
-
- Component type → entity logical name mapping used for Target entity reference
|
|
27
|
-
- Previous raw `getRawClient` workaround replaced with proper `callUnboundAction('', '', 'GrantAccess', params)` pattern per updated skill
|
|
1
|
+
|
|
2
|
+
# Solution Explorer — Design Decision Log
|
|
3
|
+
|
|
4
|
+
## App Purpose
|
|
5
|
+
Browse all Dataverse solutions in a Power Apps environment and drill into their components. Uses `codeapp.js` for all Dataverse connections via `registerTable` / `listItems`.
|
|
6
|
+
|
|
7
|
+
## Dataverse Tables
|
|
8
|
+
- **solutions** (PK: `solutionid`) — fields: `friendlyname`, `uniquename`, `version`, `ismanaged`, `modifiedon`, `description`
|
|
9
|
+
- **solutioncomponents** (PK: `solutioncomponentid`) — filter by `_solutionid_value`, read `componenttype`, `objectid`
|
|
10
|
+
|
|
11
|
+
## Mockup Summary
|
|
12
|
+
|
|
13
|
+
| # | File | Aesthetic | Theme | Layout | Typography |
|
|
14
|
+
|---|------|-----------|-------|--------|------------|
|
|
15
|
+
| 1 | mockup-01-swiss-grid.html | Swiss/International Typographic | Light cream | Side-panel list + detail pane | DM Mono + Instrument Serif |
|
|
16
|
+
| 2 | mockup-02-dark-glass.html | Glassmorphism dark | Deep black + purple/cyan glows | Stats row + card list + glass detail | Outfit + Cormorant Garamond |
|
|
17
|
+
| 3 | mockup-03-paper-console.html | Developer paper/console | Warm paper + lined bg | Table rows + collapsible tree | IBM Plex Mono + Playfair Display |
|
|
18
|
+
| 4 | mockup-04-neon-noir.html | Cyberpunk/terminal | Pure black + cyan/magenta neon | Terminal search + list + accordion detail | JetBrains Mono + Syne |
|
|
19
|
+
| 5 | mockup-05-zen-garden.html | Organic/natural zen | Warm whites + sage/terracotta | Card tile grid + slide-out drawer | Karla + Crimson Pro |
|
|
20
|
+
|
|
21
|
+
## Share Feature
|
|
22
|
+
- Share modal: click any component row to share with User (systemusers) or Team (teams) via Dataverse search
|
|
23
|
+
- Share uses `callUnboundAction` from `codeapp.js` with `GrantAccess` registered in power.config.json
|
|
24
|
+
- `GrantAccess` declared in `databaseReferences.default.cds.dataSources`, `initDataSources`, and `registerCoreTables`
|
|
25
|
+
- Access mask grants Read, Write, Append, AppendTo, Share, Assign rights
|
|
26
|
+
- Component type → entity logical name mapping used for Target entity reference
|
|
27
|
+
- Previous raw `getRawClient` workaround replaced with proper `callUnboundAction('', '', 'GrantAccess', params)` pattern per updated skill
|