Skip to content

Commit

Permalink
fix(ParaViewWebClient): Update ProxyManager API
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Aug 19, 2018
1 parent 83b0da1 commit 559f309
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/IO/WebSocket/ParaViewWebClient/ProxyManager.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
/* eslint-disable arrow-body-style */
export default function createMethods(session) {
return {
create: (functionName, parentId = '0') => {
return session.call('pv.proxy.manager.create', [functionName, parentId]);
create: (
functionName,
parentId = '0',
initialValues = {},
skipDomain = false
) => {
return session.call('pv.proxy.manager.create', [
functionName,
parentId,
initialValues,
skipDomain,
]);
},
open: (relativePath) => {
return session.call('pv.proxy.manager.create.reader', [relativePath]);
Expand Down

0 comments on commit 559f309

Please sign in to comment.