Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
197 changes: 153 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion samples/sample-action-button-dropdown-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"scripts": {
"build-bundle": "webpack --mode production",
"start": "webpack serve --mode development",
"lint": "eslint ./src/*",
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
"lint": "eslint ./src/*",
"lint:fix": "npm run lint -- --fix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"scripts": {
"build-bundle": "webpack --mode production",
"start": "webpack serve --mode development",
"lint": "eslint ./src/*",
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
"lint": "eslint ./src/*",
"lint:fix": "npm run lint -- --fix"
Expand Down
1 change: 0 additions & 1 deletion samples/sample-server-commands-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"scripts": {
"build-bundle": "webpack --mode production",
"start": "webpack serve --mode development",
"lint": "eslint ./src/*",
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
"lint": "eslint ./src/*",
"lint:fix": "npm run lint -- --fix"
Expand Down
1 change: 0 additions & 1 deletion samples/sample-user-list-dropdown-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"scripts": {
"build-bundle": "webpack --mode production",
"start": "webpack serve --mode development",
"lint": "eslint ./src/*",
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
"lint": "eslint ./src/*",
"lint:fix": "npm run lint -- --fix"
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-samples-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ THIS_SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
# Calculate the absolute path of the project directory.
PROJECT_DIR=$(realpath "$THIS_SCRIPT_PATH/..")

for SAMPLE in samples/*/; do
for SAMPLE in $PROJECT_DIR/samples/*/; do
if [ -d "$SAMPLE" ]; then
# Install dependencies if there is no node_modules
if [ ! -d "$SAMPLE/node_modules" ]; then
Expand Down
5 changes: 3 additions & 2 deletions src/data-channel/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@ export interface MapOfPushEntryFunctions {

export interface DataChannelEntryResponseType<T> {
createdAt: string;
updatedAt: string;
channelName: string;
subChannelName: string;
fromUserId: string;
createdBy: string;
entryId: string;
payloadJson: T;
pluginName: string;
toRoles: string[];
}

export interface UseDataChannelReturnType <T>{
export interface UseDataChannelReturnType<T> {
data: GraphqlResponseWrapper<DataChannelEntryResponseType<T>[]>,
pushEntry: PushEntryFunction<T>,
deleteEntry: DeleteEntryFunction,
Expand Down