Skip to content

Commit feabe67

Browse files
authored
Merge pull request #234 from GuiLeme/general-fixes
fix: general fixes to SDK
2 parents 043e301 + fc5e3ec commit feabe67

File tree

7 files changed

+157
-51
lines changed

7 files changed

+157
-51
lines changed

package-lock.json

Lines changed: 153 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/sample-action-button-dropdown-plugin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"scripts": {
2020
"build-bundle": "webpack --mode production",
2121
"start": "webpack serve --mode development",
22-
"lint": "eslint ./src/*",
2322
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
2423
"lint": "eslint ./src/*",
2524
"lint:fix": "npm run lint -- --fix",

samples/sample-generic-content-sidekick-plugin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"scripts": {
1717
"build-bundle": "webpack --mode production",
1818
"start": "webpack serve --mode development",
19-
"lint": "eslint ./src/*",
2019
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
2120
"lint": "eslint ./src/*",
2221
"lint:fix": "npm run lint -- --fix"

samples/sample-server-commands-plugin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"scripts": {
2020
"build-bundle": "webpack --mode production",
2121
"start": "webpack serve --mode development",
22-
"lint": "eslint ./src/*",
2322
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
2423
"lint": "eslint ./src/*",
2524
"lint:fix": "npm run lint -- --fix"

samples/sample-user-list-dropdown-plugin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"scripts": {
1919
"build-bundle": "webpack --mode production",
2020
"start": "webpack serve --mode development",
21-
"lint": "eslint ./src/*",
2221
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
2322
"lint": "eslint ./src/*",
2423
"lint:fix": "npm run lint -- --fix"

scripts/validate-samples-code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ THIS_SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
1111
# Calculate the absolute path of the project directory.
1212
PROJECT_DIR=$(realpath "$THIS_SCRIPT_PATH/..")
1313

14-
for SAMPLE in samples/*/; do
14+
for SAMPLE in $PROJECT_DIR/samples/*/; do
1515
if [ -d "$SAMPLE" ]; then
1616
# Install dependencies if there is no node_modules
1717
if [ ! -d "$SAMPLE/node_modules" ]; then

src/data-channel/types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@ export interface MapOfPushEntryFunctions {
5050

5151
export interface DataChannelEntryResponseType<T> {
5252
createdAt: string;
53+
updatedAt: string;
5354
channelName: string;
5455
subChannelName: string;
55-
fromUserId: string;
56+
createdBy: string;
5657
entryId: string;
5758
payloadJson: T;
5859
pluginName: string;
5960
toRoles: string[];
6061
}
6162

62-
export interface UseDataChannelReturnType <T>{
63+
export interface UseDataChannelReturnType<T> {
6364
data: GraphqlResponseWrapper<DataChannelEntryResponseType<T>[]>,
6465
pushEntry: PushEntryFunction<T>,
6566
deleteEntry: DeleteEntryFunction,

0 commit comments

Comments
 (0)