codeapp-js 0.2.2 → 1.0.0

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.
Files changed (176) hide show
  1. package/AI/codeapp.agent.md +105 -0
  2. package/AI/skills/connections/SKILL.md +47 -0
  3. package/AI/skills/dataverse/SKILL.md +99 -0
  4. package/AI/skills/environment-variables/SKILL.md +89 -0
  5. package/AI/skills/frontend-design/SKILL.md +34 -0
  6. package/AI/skills/jira/SKILL.md +81 -0
  7. package/AI/skills/office365-groups/SKILL.md +61 -0
  8. package/AI/skills/office365-outlook/SKILL.md +52 -0
  9. package/AI/skills/office365-users/SKILL.md +78 -0
  10. package/AI/skills/sharepoint/SKILL.md +77 -0
  11. package/AI/skills/sql/SKILL.md +85 -0
  12. package/AI/skills/start/SKILL.md +46 -0
  13. package/AI/skills/teams/SKILL.md +55 -0
  14. package/codeApp/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -0
  15. package/codeApp/.power/schemas/jira/jira.Schema.json +6903 -0
  16. package/codeApp/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  17. package/{examples/combined demo/.power/schemas/office365groups/office365groups.Schema.json → codeApp/.power/schemas/office365groups/office365groups.Schema.json} +2203 -2203
  18. package/codeApp/.power/schemas/teams/teams.Schema.json +11112 -0
  19. package/codeApp/dist/codeapp.js +103 -1043
  20. package/codeApp/dist/connectors/azureKeyvault.js +459 -0
  21. package/codeApp/dist/connectors/jira.js +1247 -0
  22. package/codeApp/dist/connectors/office365groups.js +642 -0
  23. package/codeApp/dist/connectors/office365users.js +513 -0
  24. package/codeApp/dist/connectors/outlook.js +1393 -0
  25. package/{examples/kanban/dist → codeApp/dist/connectors}/sharepoint.js +466 -339
  26. package/codeApp/dist/connectors/sql.js +149 -0
  27. package/codeApp/dist/connectors/teams.js +280 -0
  28. package/codeApp/dist/index.js +1 -1
  29. package/codeApp/dist/power-apps-data.js +725 -176
  30. package/codeApp/src/generated/index.ts +12 -0
  31. package/codeApp/src/generated/models/AzureKeyVaultModel.ts +107 -0
  32. package/codeApp/src/generated/models/JiraModel.ts +501 -0
  33. package/codeApp/src/generated/services/AzureKeyVaultService.ts +257 -0
  34. package/codeApp/src/generated/services/JiraService.ts +1124 -0
  35. package/examples/{kanban → apps/kanban}/dist/dataverse.js +94 -94
  36. package/examples/{kanban → apps/kanban}/dist/index.css +605 -605
  37. package/examples/{kanban → apps/kanban}/dist/index.html +21 -21
  38. package/examples/{kanban → apps/kanban}/dist/index.js +860 -860
  39. package/examples/{kanban → apps/kanban}/dist/office365groups.js +97 -97
  40. package/examples/apps/kanban/dist/office365users.js +451 -0
  41. package/examples/{kanban → apps/kanban}/dist/outlook.js +162 -162
  42. package/examples/{planning Poker/dist/power-apps-data.js → apps/kanban/dist/power-apps-data.js} +2953 -2953
  43. package/{dev files/sharepoint.js → examples/apps/kanban/dist/sharepoint.js} +195 -99
  44. package/examples/{kanban → apps/kanban}/power.config.json +35 -35
  45. package/examples/{planning Poker → apps/planning Poker}/additional files/customizations (tables).xml +6428 -6428
  46. package/examples/{planning Poker → apps/planning Poker}/additional files/dataverse-tables.json +165 -165
  47. package/examples/{planning Poker → apps/planning Poker}/additional files/readme.md +122 -122
  48. package/examples/{planning Poker → apps/planning Poker}/dist/dataverse.js +78 -78
  49. package/examples/{planning Poker → apps/planning Poker}/dist/index.html +198 -198
  50. package/examples/{planning Poker → apps/planning Poker}/dist/index.js +954 -954
  51. package/examples/{kanban/dist/power-apps-data.js → apps/planning Poker/dist/power-apps-data.js } +2953 -2953
  52. package/examples/{planning Poker → apps/planning Poker}/dist/styles.css +815 -815
  53. package/examples/{planning Poker → apps/planning Poker}/power.config.json +50 -50
  54. package/examples/{solution explorer → apps/solution explorer}/dist/codeapp.js +1098 -1098
  55. package/examples/{solution explorer → apps/solution explorer}/dist/index.html +80 -80
  56. package/examples/{solution explorer → apps/solution explorer}/dist/index.js +735 -735
  57. package/examples/{solution explorer → apps/solution explorer}/dist/styles.css +571 -571
  58. package/examples/{solution explorer → apps/solution explorer}/power.config.json +150 -150
  59. package/examples/{todo → apps/todo}/dist/dataverse.js +64 -64
  60. package/examples/{todo → apps/todo}/dist/index.html +75 -75
  61. package/examples/{todo → apps/todo}/dist/index.js +8 -8
  62. package/examples/{todo → apps/todo}/dist/power-apps-data.js +2953 -2953
  63. package/examples/{todo → apps/todo}/dist/renderer.js +375 -375
  64. package/examples/{todo → apps/todo}/dist/styles.css +691 -691
  65. package/examples/{todo → apps/todo}/power.config.json +34 -34
  66. package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -7830
  67. package/examples/combined demo/.power/schemas/jira/jira.Schema.json +6903 -0
  68. package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  69. package/examples/combined demo/.power/schemas/teams/teams.Schema.json +11112 -0
  70. package/examples/combined demo/dist/codeapp.js +394 -1098
  71. package/examples/combined demo/dist/index.html +29 -511
  72. package/examples/combined demo/dist/index.js +490 -470
  73. package/examples/combined demo/dist/office365users.js +513 -0
  74. package/examples/combined demo/dist/outlook.js +1393 -0
  75. package/examples/combined demo/dist/power-apps-data.js +3079 -3006
  76. package/examples/combined demo/dist/styles.css +483 -0
  77. package/examples/combined demo/power.config.json +33 -42
  78. package/examples/combined demo/src/generated/index.ts +12 -14
  79. package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +107 -0
  80. package/examples/combined demo/src/generated/models/JiraModel.ts +501 -0
  81. package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +257 -0
  82. package/examples/combined demo/src/generated/services/JiraService.ts +1124 -0
  83. package/examples/dataverse Demo/dist/codeapp.js +394 -1085
  84. package/examples/{outlook Demo2/OutlookDemo_1_0_0_1.zip → dataverse Demo/dist/icon-512.png} +0 -0
  85. package/examples/dataverse Demo/dist/index.html +146 -54
  86. package/examples/dataverse Demo/dist/index.js +693 -83
  87. package/examples/dataverse Demo/dist/power-apps-data.js +3079 -2911
  88. package/examples/dataverse Demo/dist/styles.css +528 -0
  89. package/examples/dataverse Demo/power.config.json +41 -35
  90. package/examples/dataverse Demo/readme.md +79 -79
  91. package/examples/groups Demo/dist/codeapp.js +394 -1085
  92. package/examples/groups Demo/dist/icon-512.png +0 -0
  93. package/examples/groups Demo/dist/index.html +21 -25
  94. package/examples/groups Demo/dist/index.js +304 -113
  95. package/examples/groups Demo/dist/office365groups.js +642 -0
  96. package/examples/groups Demo/dist/power-apps-data.js +3079 -2911
  97. package/examples/groups Demo/dist/styles.css +509 -0
  98. package/examples/groups Demo/power.config.json +25 -25
  99. package/examples/myProfile/dist/codeapp.js +398 -0
  100. package/examples/myProfile/dist/index.html +21 -184
  101. package/examples/myProfile/dist/index.js +324 -141
  102. package/examples/myProfile/dist/office365users.js +517 -169
  103. package/examples/myProfile/dist/power-apps-data.js +3080 -2953
  104. package/examples/myProfile/dist/styles.css +458 -0
  105. package/examples/myProfile/power.config.json +24 -23
  106. package/examples/outlook Demo/dist/codeapp.js +394 -1085
  107. package/examples/outlook Demo/dist/index.html +150 -35
  108. package/examples/outlook Demo/dist/index.js +516 -170
  109. package/examples/outlook Demo/dist/outlook.js +1393 -121
  110. package/examples/outlook Demo/dist/power-apps-data.js +3079 -2911
  111. package/examples/outlook Demo/dist/styles.css +408 -84
  112. package/examples/outlook Demo/power.config.json +24 -23
  113. package/examples/outlook Demo/readme.md +92 -82
  114. package/examples/sharePoint Demo/dist/codeapp.js +394 -1085
  115. package/examples/sharePoint Demo/dist/icon-512.png +0 -0
  116. package/examples/sharePoint Demo/dist/index.html +22 -255
  117. package/examples/sharePoint Demo/dist/index.js +899 -262
  118. package/examples/sharePoint Demo/dist/power-apps-data.js +3079 -2911
  119. package/examples/sharePoint Demo/dist/sharepoint.js +466 -0
  120. package/examples/sharePoint Demo/dist/styles.css +587 -0
  121. package/examples/sharePoint Demo/power.config.json +23 -22
  122. package/package.json +1 -1
  123. package/readme.md +479 -61
  124. package/.github/instructions/wyattdave.instructions.md +0 -39
  125. package/.vscode/settings.json +0 -6
  126. package/dev files/dataverse.js +0 -105
  127. package/dev files/office365groups.js +0 -65
  128. package/dev files/office365users.js +0 -169
  129. package/dev files/outlook.js +0 -330
  130. package/examples/combined demo/.power/schemas/office365/office365.Schema.json +0 -21098
  131. package/examples/combined demo/.power/schemas/office365users/office365users.Schema.json +0 -2094
  132. package/examples/kanban/agent/decision-log.md +0 -9
  133. package/examples/kanban/agent/mockup-01-editorial-glass.html +0 -159
  134. package/examples/kanban/agent/mockup-02-dark-rail.html +0 -147
  135. package/examples/kanban/agent/mockup-03-paper-grid.html +0 -114
  136. package/examples/kanban/agent/mockup-04-neon-minimal.html +0 -141
  137. package/examples/kanban/agent/mockup-05-mono-architect.html +0 -119
  138. package/examples/kanban/dist/environmentVar.js +0 -55
  139. package/examples/kanban/dist/office365users.js +0 -169
  140. package/examples/kanban/src/generated/index.ts +0 -14
  141. package/examples/outlook Demo2/agent/decision-log.md +0 -7
  142. package/examples/outlook Demo2/dist/codeapp.js +0 -1334
  143. package/examples/outlook Demo2/dist/index.html +0 -98
  144. package/examples/outlook Demo2/dist/index.js +0 -346
  145. package/examples/outlook Demo2/dist/styles.css +0 -639
  146. package/examples/outlook Demo2/power.config.json +0 -23
  147. package/examples/planning Poker/.vscode/settings.json +0 -5
  148. package/examples/sharePoint Demo/agent/decision-log.md +0 -17
  149. package/examples/solution explorer/agent/decision-log.md +0 -27
  150. package/examples/solution explorer/agent/mockup-01-swiss-grid.html +0 -452
  151. package/examples/solution explorer/agent/mockup-02-dark-glass.html +0 -496
  152. package/examples/solution explorer/agent/mockup-03-paper-console.html +0 -510
  153. package/examples/solution explorer/agent/mockup-04-neon-noir.html +0 -546
  154. package/examples/solution explorer/agent/mockup-05-zen-garden.html +0 -534
  155. package/examples/solution explorer/dist/power-apps-data.js +0 -3007
  156. package/scripts/build-power-sdk.mjs +0 -69
  157. /package/{examples/kanban → codeApp}/src/generated/models/Office365GroupsModel.ts +0 -0
  158. /package/{examples/kanban → codeApp}/src/generated/models/Office365OutlookModel.ts +0 -0
  159. /package/{examples/kanban → codeApp}/src/generated/models/Office365UsersModel.ts +0 -0
  160. /package/{examples/kanban → codeApp}/src/generated/services/Office365GroupsService.ts +0 -0
  161. /package/{examples/kanban → codeApp}/src/generated/services/Office365OutlookService.ts +0 -0
  162. /package/{examples/kanban → codeApp}/src/generated/services/Office365UsersService.ts +0 -0
  163. /package/{dev files → examples/apps/kanban/dist}/environmentVar.js +0 -0
  164. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/index.ts +0 -0
  165. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365GroupsModel.ts +0 -0
  166. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365OutlookModel.ts +0 -0
  167. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365UsersModel.ts +0 -0
  168. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365GroupsService.ts +0 -0
  169. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365OutlookService.ts +0 -0
  170. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365UsersService.ts +0 -0
  171. /package/examples/{planning Poker → apps/planning Poker}/additional files/AgilePoker_1_0_0_1.zip +0 -0
  172. /package/examples/{planning Poker → apps/planning Poker}/additional files/PokerTables_1_0_0_1.zip +0 -0
  173. /package/examples/{outlook Demo2 → apps/solution explorer}/dist/icon-512.png +0 -0
  174. /package/examples/{outlook Demo2 → apps/solution explorer}/dist/power-apps-data.js +0 -0
  175. /package/examples/{todo → apps/todo}/dist/icon192.png +0 -0
  176. /package/examples/{solution explorer → combined demo}/dist/icon-512.png +0 -0
@@ -1,165 +1,165 @@
1
- {
2
- "description": "Dataverse table definitions for the Planning Poker app. Use this file to recreate tables in new environments.",
3
- "publisher_prefix": "wd",
4
- "tables": [
5
- {
6
- "logicalName": "wd_pokersession",
7
- "displayName": "Poker Session",
8
- "pluralName": "Poker Sessions",
9
- "entitySetName": "wd_pokersessions",
10
- "primaryKey": "wd_pokersessionid",
11
- "columns": [
12
- {
13
- "logicalName": "wd_name",
14
- "displayName": "Name",
15
- "type": "String",
16
- "maxLength": 100,
17
- "required": true,
18
- "description": "Session name"
19
- },
20
- {
21
- "logicalName": "wd_sessioncode",
22
- "displayName": "Session Code",
23
- "type": "String",
24
- "maxLength": 20,
25
- "required": true,
26
- "description": "Short code used by participants to join the session"
27
- },
28
- {
29
- "logicalName": "wd_isactive",
30
- "displayName": "Is Active",
31
- "type": "Boolean",
32
- "required": true,
33
- "description": "Whether the session is currently active"
34
- }
35
- ]
36
- },
37
- {
38
- "logicalName": "wd_pokerparticipant",
39
- "displayName": "Poker Participant",
40
- "pluralName": "Poker Participants",
41
- "entitySetName": "wd_pokerparticipants",
42
- "primaryKey": "wd_pokerparticipantid",
43
- "columns": [
44
- {
45
- "logicalName": "wd_newcolumn",
46
- "displayName": "Display Name",
47
- "type": "String",
48
- "maxLength": 100,
49
- "required": true,
50
- "description": "Participant display name"
51
- },
52
- {
53
- "logicalName": "wd_initials",
54
- "displayName": "Initials",
55
- "type": "String",
56
- "maxLength": 5,
57
- "required": false,
58
- "description": "Participant initials (e.g. 'JD' for John Doe)"
59
- },
60
- {
61
- "logicalName": "wd_session",
62
- "displayName": "Session",
63
- "type": "Lookup",
64
- "referencedTable": "wd_pokersession",
65
- "required": true,
66
- "description": "The session this participant belongs to"
67
- }
68
- ]
69
- },
70
- {
71
- "logicalName": "wd_pokerround",
72
- "displayName": "Poker Round",
73
- "pluralName": "Poker Rounds",
74
- "entitySetName": "wd_pokerrounds",
75
- "primaryKey": "wd_pokerroundid",
76
- "columns": [
77
- {
78
- "logicalName": "wd_roundidentifier",
79
- "displayName": "Round Identifier",
80
- "type": "String",
81
- "maxLength": 100,
82
- "required": true,
83
- "description": "Short identifier for the round (e.g. story ID)"
84
- },
85
- {
86
- "logicalName": "wd_description",
87
- "displayName": "Description",
88
- "type": "String",
89
- "maxLength": 2000,
90
- "required": false,
91
- "description": "Description of the item being estimated"
92
- },
93
- {
94
- "logicalName": "wd_newcolumn",
95
- "displayName": "Status",
96
- "type": "String",
97
- "maxLength": 10,
98
- "required": true,
99
- "description": "Round status: '0' = voting in progress, '1' = votes revealed"
100
- },
101
- {
102
- "logicalName": "wd_averagescore",
103
- "displayName": "Average Score",
104
- "type": "Decimal",
105
- "required": false,
106
- "description": "Calculated average of all numeric votes"
107
- },
108
- {
109
- "logicalName": "wd_medianscore",
110
- "displayName": "Median Score",
111
- "type": "Decimal",
112
- "required": false,
113
- "description": "Calculated median of all numeric votes"
114
- },
115
- {
116
- "logicalName": "wd_session",
117
- "displayName": "Session",
118
- "type": "Lookup",
119
- "referencedTable": "wd_pokersession",
120
- "required": true,
121
- "description": "The session this round belongs to"
122
- }
123
- ]
124
- },
125
- {
126
- "logicalName": "wd_pokervote",
127
- "displayName": "Poker Vote",
128
- "pluralName": "Poker Votes",
129
- "entitySetName": "wd_pokervotes",
130
- "primaryKey": "wd_pokervoteid",
131
- "columns": [
132
- {
133
- "logicalName": "wd_score",
134
- "displayName": "Score",
135
- "type": "String",
136
- "maxLength": 20,
137
- "required": true,
138
- "description": "The voted value (e.g. '0','1','2','3','5','8','13','21','34','?','coffee','infinity')"
139
- },
140
- {
141
- "logicalName": "wd_round",
142
- "displayName": "Round",
143
- "type": "Lookup",
144
- "referencedTable": "wd_pokerround",
145
- "required": true,
146
- "description": "The round this vote belongs to"
147
- },
148
- {
149
- "logicalName": "wd_participant",
150
- "displayName": "Participant",
151
- "type": "Lookup",
152
- "referencedTable": "wd_pokerparticipant",
153
- "required": true,
154
- "description": "The participant who cast this vote"
155
- }
156
- ]
157
- }
158
- ],
159
- "relationships_summary": [
160
- "wd_pokersession 1─── N wd_pokerparticipant (via wd_session lookup)",
161
- "wd_pokersession 1─── N wd_pokerround (via wd_session lookup)",
162
- "wd_pokerround 1─── N wd_pokervote (via wd_round lookup)",
163
- "wd_pokerparticipant 1─── N wd_pokervote (via wd_participant lookup)"
164
- ]
165
- }
1
+ {
2
+ "description": "Dataverse table definitions for the Planning Poker app. Use this file to recreate tables in new environments.",
3
+ "publisher_prefix": "wd",
4
+ "tables": [
5
+ {
6
+ "logicalName": "wd_pokersession",
7
+ "displayName": "Poker Session",
8
+ "pluralName": "Poker Sessions",
9
+ "entitySetName": "wd_pokersessions",
10
+ "primaryKey": "wd_pokersessionid",
11
+ "columns": [
12
+ {
13
+ "logicalName": "wd_name",
14
+ "displayName": "Name",
15
+ "type": "String",
16
+ "maxLength": 100,
17
+ "required": true,
18
+ "description": "Session name"
19
+ },
20
+ {
21
+ "logicalName": "wd_sessioncode",
22
+ "displayName": "Session Code",
23
+ "type": "String",
24
+ "maxLength": 20,
25
+ "required": true,
26
+ "description": "Short code used by participants to join the session"
27
+ },
28
+ {
29
+ "logicalName": "wd_isactive",
30
+ "displayName": "Is Active",
31
+ "type": "Boolean",
32
+ "required": true,
33
+ "description": "Whether the session is currently active"
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "logicalName": "wd_pokerparticipant",
39
+ "displayName": "Poker Participant",
40
+ "pluralName": "Poker Participants",
41
+ "entitySetName": "wd_pokerparticipants",
42
+ "primaryKey": "wd_pokerparticipantid",
43
+ "columns": [
44
+ {
45
+ "logicalName": "wd_newcolumn",
46
+ "displayName": "Display Name",
47
+ "type": "String",
48
+ "maxLength": 100,
49
+ "required": true,
50
+ "description": "Participant display name"
51
+ },
52
+ {
53
+ "logicalName": "wd_initials",
54
+ "displayName": "Initials",
55
+ "type": "String",
56
+ "maxLength": 5,
57
+ "required": false,
58
+ "description": "Participant initials (e.g. 'JD' for John Doe)"
59
+ },
60
+ {
61
+ "logicalName": "wd_session",
62
+ "displayName": "Session",
63
+ "type": "Lookup",
64
+ "referencedTable": "wd_pokersession",
65
+ "required": true,
66
+ "description": "The session this participant belongs to"
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "logicalName": "wd_pokerround",
72
+ "displayName": "Poker Round",
73
+ "pluralName": "Poker Rounds",
74
+ "entitySetName": "wd_pokerrounds",
75
+ "primaryKey": "wd_pokerroundid",
76
+ "columns": [
77
+ {
78
+ "logicalName": "wd_roundidentifier",
79
+ "displayName": "Round Identifier",
80
+ "type": "String",
81
+ "maxLength": 100,
82
+ "required": true,
83
+ "description": "Short identifier for the round (e.g. story ID)"
84
+ },
85
+ {
86
+ "logicalName": "wd_description",
87
+ "displayName": "Description",
88
+ "type": "String",
89
+ "maxLength": 2000,
90
+ "required": false,
91
+ "description": "Description of the item being estimated"
92
+ },
93
+ {
94
+ "logicalName": "wd_newcolumn",
95
+ "displayName": "Status",
96
+ "type": "String",
97
+ "maxLength": 10,
98
+ "required": true,
99
+ "description": "Round status: '0' = voting in progress, '1' = votes revealed"
100
+ },
101
+ {
102
+ "logicalName": "wd_averagescore",
103
+ "displayName": "Average Score",
104
+ "type": "Decimal",
105
+ "required": false,
106
+ "description": "Calculated average of all numeric votes"
107
+ },
108
+ {
109
+ "logicalName": "wd_medianscore",
110
+ "displayName": "Median Score",
111
+ "type": "Decimal",
112
+ "required": false,
113
+ "description": "Calculated median of all numeric votes"
114
+ },
115
+ {
116
+ "logicalName": "wd_session",
117
+ "displayName": "Session",
118
+ "type": "Lookup",
119
+ "referencedTable": "wd_pokersession",
120
+ "required": true,
121
+ "description": "The session this round belongs to"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "logicalName": "wd_pokervote",
127
+ "displayName": "Poker Vote",
128
+ "pluralName": "Poker Votes",
129
+ "entitySetName": "wd_pokervotes",
130
+ "primaryKey": "wd_pokervoteid",
131
+ "columns": [
132
+ {
133
+ "logicalName": "wd_score",
134
+ "displayName": "Score",
135
+ "type": "String",
136
+ "maxLength": 20,
137
+ "required": true,
138
+ "description": "The voted value (e.g. '0','1','2','3','5','8','13','21','34','?','coffee','infinity')"
139
+ },
140
+ {
141
+ "logicalName": "wd_round",
142
+ "displayName": "Round",
143
+ "type": "Lookup",
144
+ "referencedTable": "wd_pokerround",
145
+ "required": true,
146
+ "description": "The round this vote belongs to"
147
+ },
148
+ {
149
+ "logicalName": "wd_participant",
150
+ "displayName": "Participant",
151
+ "type": "Lookup",
152
+ "referencedTable": "wd_pokerparticipant",
153
+ "required": true,
154
+ "description": "The participant who cast this vote"
155
+ }
156
+ ]
157
+ }
158
+ ],
159
+ "relationships_summary": [
160
+ "wd_pokersession 1─── N wd_pokerparticipant (via wd_session lookup)",
161
+ "wd_pokersession 1─── N wd_pokerround (via wd_session lookup)",
162
+ "wd_pokerround 1─── N wd_pokervote (via wd_round lookup)",
163
+ "wd_pokerparticipant 1─── N wd_pokervote (via wd_participant lookup)"
164
+ ]
165
+ }
@@ -1,122 +1,122 @@
1
- # Planning Poker — Power Apps Code-First App
2
-
3
- An agile planning poker app for sprint estimation sessions with team collaboration, built as a Power Apps code-first app with Dataverse backend.
4
-
5
- ---
6
-
7
- ## Prerequisites
8
-
9
- - A Power Platform environment with Dataverse enabled
10
- - A Power Platform environment with Code Apps enabled
11
- - VS Code
12
- - Recommend Copilot
13
-
14
- ---
15
-
16
- ## 1. Install Power Platform CLI
17
-
18
- Install the PAC CLI via npm:
19
-
20
- ```bash
21
- npm install -g microsoft.powerapps.cli
22
- ```
23
-
24
- Or install through the [Power Platform Tools VS Code extension](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.powerplatform-vscode).
25
-
26
- Verify the install:
27
-
28
- ```bash
29
- pac --version
30
- ```
31
-
32
- ---
33
-
34
- ## 2. Authenticate and Select Environment
35
-
36
- Create an auth profile and connect to your environment:
37
-
38
- ```bash
39
- # Authenticate (opens browser for interactive login)
40
- pac auth create --environment https://<yourorg>.crm.dynamics.com
41
-
42
- # List auth profiles
43
- pac auth list
44
-
45
- # Select an existing profile (if you have multiple)
46
- pac auth select --index <profile-index>
47
-
48
- # Confirm you are connected to the correct environment
49
- pac env who
50
- ```
51
-
52
- Replace `<yourorg>` with your Dataverse org name.
53
-
54
- ---
55
-
56
- ## 3. Add the Dataverse Skill Files to VS Code
57
-
58
- This repo includes two skill files that give Copilot the knowledge to set up Dataverse solutions and build code-first apps:
59
-
60
- 1. Copy the `Skills/dataverseSolutionSetup/SKILL.md` file to your VS Code Copilot skills directory:
61
- ```
62
- ~/.copilot/skills/dataverseSolutionSetup/SKILL.md
63
- ```
64
- 2. Copy the `Skills/dataverseCodeApp/SKILL.md` file to:
65
- ```
66
- ~/.copilot/skills/dataverseCodeApp/SKILL.md
67
- ```
68
-
69
- Once in place, Copilot will automatically use these skills when you ask it to create Dataverse solutions, tables, or code-first app connections.
70
-
71
- ---
72
-
73
- ## 4. Create Publisher, Solution, and Tables with Copilot
74
-
75
- Use the following prompt in VS Code Copilot chat to scaffold the Dataverse backend. Reference the `dataverse-tables.json` file so Copilot knows exactly which tables, columns, and relationships to create:
76
-
77
- > **Prompt:**
78
- > Using the dataverseSolutionSetup skill and the `dataverse-tables.json` file in this folder, create a new Dataverse publisher with prefix `wd`, a solution called `PlanningPoker`, and all the tables, columns, and lookup relationships defined in `dataverse-tables.json`. Provide the full PAC CLI and Web API PowerShell commands to run.
79
-
80
- Copilot will generate the step-by-step PowerShell commands to:
81
-
82
- - Create the publisher and solution
83
- - Create the four tables: **Poker Session**, **Poker Participant**, **Poker Round**, **Poker Vote**
84
- - Create all columns and lookup relationships
85
- - Add components to the solution and publish
86
-
87
- ---
88
-
89
- ## 5. Deploy the App
90
-
91
- Update the power.config.json file with the target environments id (it should be the same environment you have used in cli auth)
92
- Once the Dataverse tables are created and your app code is ready, push the app to your environment:
93
-
94
- ```bash
95
- pac code push --solutionName PlanningPoker
96
- ```
97
-
98
- This packages the build output from `./dist` and deploys it as a code component inside the specified solution.
99
-
100
- ---
101
-
102
- ## Dataverse Schema Overview
103
-
104
- The app uses four custom tables (prefix `wd_`):
105
-
106
- | Table | Description |
107
- |---|---|
108
- | **Poker Session** | A planning session that participants join via a session code |
109
- | **Poker Participant** | A person who has joined a session |
110
- | **Poker Round** | A single estimation item within a session |
111
- | **Poker Vote** | A participant's vote on a round |
112
-
113
- **Relationships:**
114
-
115
- ```
116
- wd_pokersession 1───N wd_pokerparticipant (via wd_session lookup)
117
- wd_pokersession 1───N wd_pokerround (via wd_session lookup)
118
- wd_pokerround 1───N wd_pokervote (via wd_round lookup)
119
- wd_pokerparticipant 1───N wd_pokervote (via wd_participant lookup)
120
- ```
121
-
122
- See `dataverse-tables.json` for the full column and relationship definitions.
1
+ # Planning Poker — Power Apps Code-First App
2
+
3
+ An agile planning poker app for sprint estimation sessions with team collaboration, built as a Power Apps code-first app with Dataverse backend.
4
+
5
+ ---
6
+
7
+ ## Prerequisites
8
+
9
+ - A Power Platform environment with Dataverse enabled
10
+ - A Power Platform environment with Code Apps enabled
11
+ - VS Code
12
+ - Recommend Copilot
13
+
14
+ ---
15
+
16
+ ## 1. Install Power Platform CLI
17
+
18
+ Install the PAC CLI via npm:
19
+
20
+ ```bash
21
+ npm install -g microsoft.powerapps.cli
22
+ ```
23
+
24
+ Or install through the [Power Platform Tools VS Code extension](https://marketplace.visualstudio.com/items?itemName=microsoft-IsvExpTools.powerplatform-vscode).
25
+
26
+ Verify the install:
27
+
28
+ ```bash
29
+ pac --version
30
+ ```
31
+
32
+ ---
33
+
34
+ ## 2. Authenticate and Select Environment
35
+
36
+ Create an auth profile and connect to your environment:
37
+
38
+ ```bash
39
+ # Authenticate (opens browser for interactive login)
40
+ pac auth create --environment https://<yourorg>.crm.dynamics.com
41
+
42
+ # List auth profiles
43
+ pac auth list
44
+
45
+ # Select an existing profile (if you have multiple)
46
+ pac auth select --index <profile-index>
47
+
48
+ # Confirm you are connected to the correct environment
49
+ pac env who
50
+ ```
51
+
52
+ Replace `<yourorg>` with your Dataverse org name.
53
+
54
+ ---
55
+
56
+ ## 3. Add the Dataverse Skill Files to VS Code
57
+
58
+ This repo includes two skill files that give Copilot the knowledge to set up Dataverse solutions and build code-first apps:
59
+
60
+ 1. Copy the `Skills/dataverseSolutionSetup/SKILL.md` file to your VS Code Copilot skills directory:
61
+ ```
62
+ ~/.copilot/skills/dataverseSolutionSetup/SKILL.md
63
+ ```
64
+ 2. Copy the `Skills/dataverseCodeApp/SKILL.md` file to:
65
+ ```
66
+ ~/.copilot/skills/dataverseCodeApp/SKILL.md
67
+ ```
68
+
69
+ Once in place, Copilot will automatically use these skills when you ask it to create Dataverse solutions, tables, or code-first app connections.
70
+
71
+ ---
72
+
73
+ ## 4. Create Publisher, Solution, and Tables with Copilot
74
+
75
+ Use the following prompt in VS Code Copilot chat to scaffold the Dataverse backend. Reference the `dataverse-tables.json` file so Copilot knows exactly which tables, columns, and relationships to create:
76
+
77
+ > **Prompt:**
78
+ > Using the dataverseSolutionSetup skill and the `dataverse-tables.json` file in this folder, create a new Dataverse publisher with prefix `wd`, a solution called `PlanningPoker`, and all the tables, columns, and lookup relationships defined in `dataverse-tables.json`. Provide the full PAC CLI and Web API PowerShell commands to run.
79
+
80
+ Copilot will generate the step-by-step PowerShell commands to:
81
+
82
+ - Create the publisher and solution
83
+ - Create the four tables: **Poker Session**, **Poker Participant**, **Poker Round**, **Poker Vote**
84
+ - Create all columns and lookup relationships
85
+ - Add components to the solution and publish
86
+
87
+ ---
88
+
89
+ ## 5. Deploy the App
90
+
91
+ Update the power.config.json file with the target environments id (it should be the same environment you have used in cli auth)
92
+ Once the Dataverse tables are created and your app code is ready, push the app to your environment:
93
+
94
+ ```bash
95
+ pac code push --solutionName PlanningPoker
96
+ ```
97
+
98
+ This packages the build output from `./dist` and deploys it as a code component inside the specified solution.
99
+
100
+ ---
101
+
102
+ ## Dataverse Schema Overview
103
+
104
+ The app uses four custom tables (prefix `wd_`):
105
+
106
+ | Table | Description |
107
+ |---|---|
108
+ | **Poker Session** | A planning session that participants join via a session code |
109
+ | **Poker Participant** | A person who has joined a session |
110
+ | **Poker Round** | A single estimation item within a session |
111
+ | **Poker Vote** | A participant's vote on a round |
112
+
113
+ **Relationships:**
114
+
115
+ ```
116
+ wd_pokersession 1───N wd_pokerparticipant (via wd_session lookup)
117
+ wd_pokersession 1───N wd_pokerround (via wd_session lookup)
118
+ wd_pokerround 1───N wd_pokervote (via wd_round lookup)
119
+ wd_pokerparticipant 1───N wd_pokervote (via wd_participant lookup)
120
+ ```
121
+
122
+ See `dataverse-tables.json` for the full column and relationship definitions.