Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1027615 // dm_ai_exportFrontendThingPatterns

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3950L/26K).

sS dm_ai_exportFrontendThingPatterns(O module) {
  L<virtual Cmd> cmds = cast dm_call(module, 'concepts);
  L<DynamicObject> l = lambdaMap toDynamicObject_nonTransient(whereFieldContainsIC(cmds, "cmd", "$thing"));
  for (DynamicObject o : l) {
    clearDynFields(o, "id");
    setOpt(o, globalID := str(getOpt(o, "globalID"));
  }
  ret indentedStructure(l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027615
Snippet name: dm_ai_exportFrontendThingPatterns
Eternal ID of this version: #1027615/4
Text MD5: a307f5ba49481870d4d27aa982a82c94
Transpilation MD5: 4924e1c70e56c2ed7cd31f21284e28ef
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-26 15:56:35
Source code size: 368 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 117 / 187
Version history: 3 change(s)
Referenced in: [show references]