@olympeio/runtime-node 9.0.3 → 9.0.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"rootTag":"100000000000000000dd","operations":[{"o":2,"t":"0163d9653067b6237f62","p":{"ff023000000000000001":"guest","ff023000000000000004":"
|
|
1
|
+
{"rootTag":"100000000000000000dd","operations":[{"o":2,"t":"0163d9653067b6237f62","p":{"ff023000000000000001":"guest","ff023000000000000004":"52eef8410b3062dda28da17ae8d2e12771461ae69af9264e19efb8a9b9790ff0","ff023000000000000005":"a104f8cf78062b1a92288b23152078231c1bc68a74512d65967cd1b9cfd09a757359bf4306dafb6cdaf1500389d04b860e8dc3b4b3960c351f4ba90c9fd66705a8f285d5da43741110020e06a3e4512f4d25f0171d0dda115e681306e185eb214f06e1ec205418af9e7d52e350d81ab4c5a07452ec6184f2a365f4934813fb6fc966c9d4ca8055915906fa90f291a208a50af89689c7f77e5761ec05d492eea189ccb13feb3c9c637daa613b3e28c837c00b2bd2ee51bbb1bfa614538cd3a747bb1733052455d9da0a08e1d06b972f87a3d5c970f393aadcea31525032f915de6c512579d676642ec8440fd1241806ae03c94eddd837eb681969a31c25e8e155"},"i":30}],"optionalOperations":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"rootTag":"10000000000000000000","operations":[{"o":1,"t":"10000000000000000000","p":{"ff023000000000000011":"Home"},"i":15},{"o":1,"t":"100000000000000000dd","p":{"017869c7d2833c9492c1":"@olympeio/runtime","017869c80bb9929c76d0":"9.0.
|
|
1
|
+
{"rootTag":"10000000000000000000","operations":[{"o":1,"t":"10000000000000000000","p":{"ff023000000000000011":"Home"},"i":15},{"o":1,"t":"100000000000000000dd","p":{"017869c7d2833c9492c1":"@olympeio/runtime","017869c80bb9929c76d0":"9.0.4","ff023000000000000011":"Primordial"},"i":26}],"optionalOperations":[{"o":1,"t":"10000000000000000001","p":{"ff023000000000000011":"Olympe"},"i":18}]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"rootTag":"100000000000000000dd","operations":[{"o":1,"t":"011100000000000adef0","p":{"ff023000000000000011":"Function Signature"},"i":276},{"o":1,"t":"011100000001000adef0","p":{"01703376c4a81c0e9d92":"A function signature defines the inputs and outputs, with names and types, of a function, but does not provide an implementation.Function signatures can be used to define the type of a function input or output or of a visual component property.A signature for functions"},"i":277},{"o":1,"t":"0112000000000000def0","p":{"fd01692aa71f3108454479":false,"ff023000000000000011":"Runnable Definition"},"i":293},{"o":1,"t":"01120300000000adef00","p":{"ff023000000000000011":"Application Definition","ff023000000000000012":true},"i":453},{"o":1,"t":"011203300000000adee0","p":{"ff023000000000000011":"dependencies"},"i":469},{"o":1,"t":"011203300000000adef3","p":{"ff023000000000000011":"Service App"},"i":475},{"o":1,"t":"011203300000000adef4","p":{"ff023000000000000011":"Deployment Info","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":475},{"o":1,"t":"011203300000000adef5","p":{"fd011203300000000adef6":false,"fd011203300000000adef7":false,"fd011203300000000adef8":0,"ff023000000000000011":"Deployment Info"},"i":469},{"o":1,"t":"011203300000000adef6","p":{"ff023000000000000011":"activated"},"i":469},{"o":1,"t":"011203300000000adef7","p":{"ff023000000000000011":"rebuild"},"i":469},{"o":1,"t":"011203300000000adef8","p":{"ff023000000000000011":"status"},"i":469},{"o":1,"t":"011203300000000adef9","p":{"ff023000000000000011":"last error"},"i":469},{"o":1,"t":"011203300000000adefa","p":{"ff023000000000000011":"project URL"},"i":469},{"o":1,"t":"011203300000000adefb","p":{"ff023000000000000011":"project branch"},"i":469},{"o":1,"t":"011203300000000adefc","p":{"ff023000000000000011":"build command"},"i":469},{"o":1,"t":"011203300000000adefd","p":{"ff023000000000000011":"project config"},"i":469},{"o":1,"t":"011203300000000adefe","p":{"ff023000000000000011":"logs"},"i":469},{"o":1,"t":"011203300000000adeff","p":{"ff023000000000000011":"port mappings"},"i":469},{"o":1,"t":"011203300000000adf00","p":{"fd011203300000000adf01":0,"fd011203300000000adf02":20000,"ff023000000000000011":"System Information"},"i":445},{"o":1,"t":"011203300000000adf01","p":{"ff023000000000000011":"appController timestamp"},"i":445},{"o":1,"t":"011203300000000adf02","p":{"ff023000000000000011":"appController heart rate"},"i":445},{"o":1,"t":"011203300000000adf0f","p":{},"i":447},{"o":1,"t":"011203300001000adef3","p":{"01703376c4a81c0e9d91":"A headless (with no UI) application.","01703376c4a81c0e9d92":"Service Apps are back-end applications that are meant to be run on servers or IoT devices that do not have screens. They run in the background and are typically used to capture data from a third party, process data, perform data input validation, etc."},"i":476},{"o":1,"t":"01130000000000ca1100","p":{"ff023000000000000011":"Runnable","ff023000000000000012":true},"i":303},{"o":1,"t":"0113030000000aca1100","p":{"ff023000000000000011":"Application","ff023000000000000012":true},"i":498},{"o":1,"t":"0113032000000aca1102","p":{"ff023000000000000011":"Headless Application","ff023000000000000012":true},"i":502},{"o":1,"t":"01621fb84e32000000a0","p":{"01621fb84e320000f001":"private","ff023000000000000011":"Ascender"},"i":374},{"o":1,"t":"01621fb84e32000000a1","p":{"ff023000000000000011":"Input","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":2,"ff023000000000000337":2},"i":374},{"o":1,"t":"01621fb84e32000000a2","p":{"ff023000000000000011":"Upward","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":1,"ff023000000000000337":2},"i":374},{"o":1,"t":"01621fb84e32000000d0","p":{"01621fb84e320000f001":"private","ff023000000000000011":"Descender"},"i":380},{"o":1,"t":"01621fb84e32000000d1","p":{"ff023000000000000011":"Downward","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":1,"ff023000000000000337":2},"i":380},{"o":1,"t":"01621fb84e32000000d2","p":{"ff023000000000000011":"Output","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":2,"ff023000000000000337":2},"i":380},{"o":1,"t":"01621fb84e320000a000","p":{"ff023000000000000011":"Action"},"i":390},{"o":1,"t":"01621fb84e320000cf00","p":{"ff023000000000000011":"Control Flow"},"i":233},{"o":1,"t":"01621fb84e320000f000","p":{"ff023000000000000011":"Function"},"i":330},{"o":1,"t":"01621fb84e320000f00a","p":{"ff023000000000000011":"Inputs","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":293},{"o":1,"t":"01621fb84e320000f00b","p":{"ff023000000000000011":"Outputs","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":293},{"o":1,"t":"01621fb84e320000f011","p":{"ff023000000000000011":"Coded Function"},"i":341},{"o":1,"t":"01621fb84e320000f012","p":{"ff023000000000000011":"Coded Action"},"i":398},{"o":1,"t":"01621fb84e330000a000","p":{"01703376c4a81c0e9d91":"A function triggered by a control flow.","01703376c4a81c0e9d92":"An action is a function that is executed only when the incoming control flow is triggered and all its inputs have a value. Once it has updated all its outputs, it will trigger the outgoing control flow."},"i":391},{"o":1,"t":"01621fb84e330000f000","p":{"01703376c4a81c0e9d91":"A function takes inputs and produces outputs.","01703376c4a81c0e9d92":"A function is the basic bloc for creating automation. It takes some inputs and produces outputs.\nFor instance the addition is a function that takes 2 numbers as inputs an produces, as output, a number that is the sum of these 2 inputs."},"i":331},{"o":1,"t":"01621fb84e330000f011","p":{"01703376c4a81c0e9d91":"A function takes inputs and produces outputs.","01703376c4a81c0e9d92":"A function is the basic bloc for creating automation. It takes some inputs and produces outputs.\nFor instance the addition is a function that takes 2 numbers as inputs an produces, as output, a number that is the sum of these 2 inputs. A coded function needs to be implemented with code (e.g.: javascript) and deployed to be functional."},"i":342},{"o":1,"t":"01621fb84e330000f012","p":{"01703376c4a81c0e9d91":"A coded function triggered by a control flow.","01703376c4a81c0e9d92":"An action is a function that is executed only when the incoming control flow is triggered and all its inputs have a value. Once it has updated all its outputs, it will trigger the outgoing control flow.A Coded action needs to be implemented with code (e.g.: javascript) and deployed to be functional."},"i":399},{"o":1,"t":"0162f15740c36629dc57","p":{"ff023000000000000011":"description"},"i":330},{"o":1,"t":"0162f672366be5ca7a86","p":{"ff023000000000000011":"Type"},"i":134},{"o":1,"t":"01631aacd5c1f9d61c5d","p":{"ff023000000000000011":"Map"},"i":138},{"o":1,"t":"01631aacd5c2f9d61c5d","p":{"01703376c4a81c0e9d91":"An ordered collection of key-value pairs.","01703376c4a81c0e9d92":"A Map is a collection of values. Each value has a unique key and can be accessed through that key."},"i":139},{"o":1,"t":"01631aacd8276ea98490","p":{"ff023000000000000011":"List"},"i":146},{"o":1,"t":"01631aacd8276ea98491","p":{"ff023000000000000011":"Array"},"i":163},{"o":1,"t":"01631aacd8276ea98492","p":{"ff023000000000000011":"Query Result"},"i":173},{"o":1,"t":"01631aacd8276ea98493","p":{"ff023000000000000011":"Query"},"i":183},{"o":1,"t":"01631aacd8276ea98494","p":{"ff023000000000000011":"Filter Type"},"i":191},{"o":1,"t":"01631aacd8276ea98495","p":{"ff023000000000000011":"Sort Direction"},"i":199},{"o":1,"t":"01631aacd8276ea98496","p":{"017a7690c915975ea995":0,"ff023000000000000011":"equals","ff023000000000000026":"equals"},"i":215},{"o":1,"t":"01631aacd8276ea98497","p":{"017a7690c915975ea995":1,"ff023000000000000011":"different","ff023000000000000026":"different"},"i":216},{"o":1,"t":"01631aacd8276ea98498","p":{"017a7690c915975ea995":2,"ff023000000000000011":"contains","ff023000000000000026":"contains"},"i":217},{"o":1,"t":"01631aacd8276ea98499","p":{"017a7690c915975ea995":3,"ff023000000000000011":"greater than","ff023000000000000026":"greater than"},"i":218},{"o":1,"t":"01631aacd8276ea9849a","p":{"017a7690c915975ea995":4,"ff023000000000000011":"greater or equals","ff023000000000000026":"greater or equals"},"i":219},{"o":1,"t":"01631aacd8276ea9849b","p":{"017a7690c915975ea995":5,"ff023000000000000011":"smaller than","ff023000000000000026":"smaller than"},"i":220},{"o":1,"t":"01631aacd8276ea9849c","p":{"017a7690c915975ea995":6,"ff023000000000000011":"smaller or equals","ff023000000000000026":"smaller or equals"},"i":221},{"o":1,"t":"01631aacd8276ea9849d","p":{"017a7690c915975ea995":7,"ff023000000000000011":"regexp","ff023000000000000026":"regexp"},"i":222},{"o":1,"t":"01631aacd8276ea9849e","p":{"017a7690c915975ea995":0,"ff023000000000000011":"ascending","ff023000000000000026":"ascending"},"i":224},{"o":1,"t":"01631aacd8276ea9849f","p":{"017a7690c915975ea995":1,"ff023000000000000011":"descending","ff023000000000000026":"descending"},"i":225},{"o":1,"t":"01631aacd8286ea98490","p":{"01703376c4a81c0e9d91":"An ordered collection of objects.","01703376c4a81c0e9d92":"A **List** is a collection of objects of the same type (e.g. a list of strings). It can be accessed sequentially (one entry after the other) or directly by specifying the rank of the entry (e.g. the 3rd entry).\nThis is similar to arrays in programming languages."},"i":147},{"o":1,"t":"01631aacd8286ea98491","p":{"01703376c4a81c0e9d91":"A mutable ordered collection of objects.","01703376c4a81c0e9d92":"An **Array** is a collection of objects of the same type (e.g. a list of strings). It can be accessed sequentially (one entry after the other) or directly by specifying the rank of the entry (e.g. the 3rd entry).\nThis is similar to arrays in programming languages."},"i":164},{"o":1,"t":"01631aacd8286ea98492","p":{"01703376c4a81c0e9d91":"An ordered collection of objects.","01703376c4a81c0e9d92":"A **QueryResult** is a collection of objects of the same type (e.g. a list of strings). It can be accessed sequentially (one entry after the other) or directly by specifying the rank of the entry (e.g. the 3rd entry).\nThis is similar to arrays in programming languages."},"i":174},{"o":1,"t":"01631aacd8286ea98493","p":{"01703376c4a81c0e9d91":"TODO","01703376c4a81c0e9d92":"TODO"},"i":184},{"o":1,"t":"01631aacd8286ea98494","p":{"01703376c4a81c0e9d91":"TODO","01703376c4a81c0e9d92":"TODO"},"i":192},{"o":1,"t":"01631aacd8286ea98495","p":{"01703376c4a81c0e9d91":"TODO","01703376c4a81c0e9d92":"TODO"},"i":200},{"o":1,"t":"016324fde11a836f76c2","p":{"ff023000000000000011":"Data Type"},"i":40},{"o":1,"t":"016324fde11b836f76c2","p":{"01703376c4a81c0e9d91":"An application specific data structure.","01703376c4a81c0e9d92":"A data type let you specify a complex data structure which contains a number of properties an relations.\nThis is very similar to the concept of 'Class' in object-oriented programming languages."},"i":41},{"o":1,"t":"0163a68ce44f3d1fa84c","p":{"ff023000000000000011":"Data Model"},"i":49},{"o":1,"t":"0163a68ce4503d1fa84c","p":{"01703376c4a81c0e9d91":"A set of data types.","01703376c4a81c0e9d92":"A **Data Model** is where you define the data structures, called **Data Types**, that your applications will manipulate (e.g. Customer, Receipt, Order, etc...). A project can have multiple **Data Models**."},"i":50},{"o":1,"t":"0163c9ae01f2d6e9ca49","p":{"ff023000000000000011":"ObjectRef"},"i":122},{"o":1,"t":"0163c9ae0401d21eb0c3","p":{"ff023000000000000011":"objectTag"},"i":122},{"o":1,"t":"016421bb3797e22d1c4e","p":{"ff023000000000000011":"Video Stream"},"i":130},{"o":1,"t":"01644b6297305d62fca2","p":{"ff023000000000000011":"Image File"},"i":74},{"o":1,"t":"01644b6297315d62fca2","p":{"01703376c4a81c0e9d91":"A file containing an image.","01703376c4a81c0e9d92":"An image file contains a binary encoded image. Supported formats are jpeg, png and gif."},"i":75},{"o":1,"t":"01644b6d4543b344b857","p":{"ff023000000000000011":"Media Library"},"i":66},{"o":1,"t":"01644b6d4544b344b857","p":{"01703376c4a81c0e9d91":"A repository for media resources.","01703376c4a81c0e9d92":"A **Media Library** is a set of assets like fonts & images that can be used by the project it belongs to."},"i":67},{"o":1,"t":"01645fe6873aeea59e64","p":{"ff023000000000000011":"Data Set"},"i":29},{"o":1,"t":"01645fe6873beea59e64","p":{"01703376c4a81c0e9d91":"Set of data records.","01703376c4a81c0e9d92":"**Data Sets** are used to create data records that will be available in the applications at runtime.\nCompared to business data created at runtime, records inside **Data Sets** are saved during the export of the project, as part of the application data.\nFor example this is where you would create initial entries of your **Customer** data types."},"i":30},{"o":1,"t":"0164643c432146a71d5c","p":{"ff023000000000000011":"Video File"},"i":105},{"o":1,"t":"0164643c432246a71d5c","p":{"01703376c4a81c0e9d91":"A file containing a video recording.","01703376c4a81c0e9d92":"An video file contains a binary encoded video. Supported formats are mp4, mpeg and avi."},"i":106},{"o":1,"t":"01647e113043c637b541","p":{"fd01647e677f5d1cfbdf42":"normal","fd01647e6780999bf8bd25":300,"ff023000000000000011":"Font File"},"i":98},{"o":1,"t":"01647e113044c637b541","p":{"01703376c4a81c0e9d91":"A file containing a font definition.","01703376c4a81c0e9d92":"A font file contains a set of graphically related used to display strings on the screen.\n Supported formats are: woff & woff2"},"i":99},{"o":1,"t":"01647e35ecd24ef0b88d","p":{"ff023000000000000011":"Font Family"},"i":98},{"o":1,"t":"01647e677f5d1cfbdf42","p":{"ff023000000000000011":"Font Style"},"i":98},{"o":1,"t":"01647e6780999bf8bd25","p":{"ff023000000000000011":"Font Weight"},"i":98},{"o":1,"t":"0166446c1f128ebc903a","p":{"ff023000000000000011":"On Load"},"i":293},{"o":1,"t":"0168a431d25001540000","p":{"ff023000000000000011":"Runnable IO","ff023000000000000012":true},"i":257},{"o":1,"t":"0168a431d25001540001","p":{"ff023000000000000011":"Runnable Input"},"i":262},{"o":1,"t":"0168a431d25001540002","p":{"ff023000000000000011":"Runnable Output"},"i":265},{"o":1,"t":"0168a431d3b9b7438424","p":{"ff023000000000000011":"Type IO","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":1,"ff023000000000000337":1},"i":257},{"o":1,"t":"0168a431d91f25780000","p":{"ff023000000000000011":"Pipe"},"i":366},{"o":1,"t":"0168a431d91f25780001","p":{"ff023000000000000011":"Source Value"},"i":366},{"o":1,"t":"0168a431d91f25780002","p":{"ff023000000000000011":"Source Scope","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f25780003","p":{"ff023000000000000011":"Source Output","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f25780004","p":{"ff023000000000000011":"Source Property","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f2578000a","p":{"ff023000000000000011":"Destination Scope","ff023000000000000030":514,"ff023000000000000031":992,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":10,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f2578000b","p":{"ff023000000000000011":"Destination Input","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f2578000c","p":{"ff023000000000000011":"Destination Property","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168c6f020f2a96a0000","p":{"ff023000000000000011":"Action Call","ff023000000000000012":true},"i":407},{"o":1,"t":"0168c6f020f2a96f0000","p":{"ff023000000000000011":"Function Call","ff023000000000000012":true},"i":352},{"o":1,"t":"01692a4af82e8984742b","p":{"ff023000000000000011":"Definition of runnable","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":303},{"o":1,"t":"01692a4af82e8984742c","p":{"ff023000000000000011":"Calls Runnable","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":4,"ff023000000000000037":6,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":6},"i":306},{"o":1,"t":"01692a4af82e8984742d","p":{"ff023000000000000011":"Conditional Calls Runnable","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":4,"ff023000000000000037":6,"ff023000000000000137":6,"ff023000000000000237":1,"ff023000000000000337":6},"i":307},{"o":1,"t":"01692a4af82e8984742e","p":{"ff023000000000000011":"Extra Calls Runnable","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":4,"ff023000000000000037":4,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":4},"i":308},{"o":1,"t":"01692aa71f3108454479","p":{"ff023000000000000011":"hardcoded"},"i":293},{"o":1,"t":"0169b5a8a33144fb0b49","p":{"ff023000000000000011":"reference","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":122},{"o":1,"t":"016a9766c230916ea5ec","p":{"ff023000000000000011":"Service"},"i":412},{"o":1,"t":"016a9766c231916ea5ec","p":{"01703376c4a81c0e9d91":"A function to be run in a Service Application.","01703376c4a81c0e9d92":"A `Service` is a function meant to be run inside a headless application."},"i":413},{"o":1,"t":"016ac4f59a2917fdef01","p":{"ff023000000000000011":"Predefined Inputs rel","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":276},{"o":1,"t":"016ac4f59a2917fdef02","p":{"ff023000000000000011":"Predefined Outputs rel","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":276},{"o":1,"t":"016ac4f59c592b862457","p":{"ff023000000000000011":"Predefined Input"},"i":247},{"o":1,"t":"016ac4f59dd99f5df3e1","p":{"ff023000000000000011":"Predefined Output"},"i":250},{"o":1,"t":"016ac4f59ee8ea2081ba","p":{"ff023000000000000011":"Predefined IO","ff023000000000000012":true},"i":244},{"o":1,"t":"016ac4f5a0091c4790e2","p":{"ff023000000000000011":"Predefined Type IO","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":1,"ff023000000000000337":1},"i":244},{"o":1,"t":"016ac63229782039429f","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":390},{"o":1,"t":"016ac6322acf67eebfe7","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":390},{"o":1,"t":"016ac63c5b3ed0562740","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":412},{"o":1,"t":"016c2d996d9ca27fa9d8","p":{"ff023000000000000011":"Delegate","ff023000000000000012":true},"i":315},{"o":1,"t":"016c3cb7742ec9309e0b","p":{"ff023000000000000011":"Delegator Relation","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":1,"ff023000000000000337":1},"i":315},{"o":1,"t":"016c42d3454636f90533","p":{"ff023000000000000011":"Delegated Properties","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":1,"ff023000000000000337":1},"i":315},{"o":1,"t":"016cfca73e63f9ab5ba4","p":{"ff023000000000000011":"Text"},"i":155},{"o":1,"t":"016d3f37610ae4fc3962","p":{"ff023000000000000011":"SizeDelegator"},"i":318},{"o":1,"t":"016eb13ba1388f7bdd71","p":{"ff023000000000000011":"picture_default","ff023000000000000050":"picture_default.svg","ff023000000000000051":{"c":4,"h":13,"m":50,"s":3,"S":731,"z":0,"y":2022,"M":5,"d":4},"ff023000000000000052":"image/svg+xml","ff023000000000000053":"images/picture_default.svg","ff023000000000000054":false,"ff023000000000000055":{"c":4,"h":13,"m":50,"s":3,"S":731,"z":0,"y":2022,"M":5,"d":4}},"i":89},{"o":1,"t":"016eeb5ede9f3094d8f0","p":{"ff023000000000000011":"Error Flow"},"i":237},{"o":1,"t":"0171838bcfed0000a00a","p":{"ff023000000000000011":"Auxiliary model","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":0,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":0},"i":293},{"o":1,"t":"0171838bcfed0000e00e","p":{"ff023000000000000011":"Super Definition","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":1},"i":293},{"o":1,"t":"0171bc1f15da96dfdb89","p":{"ff023000000000000011":"app project import","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":1},"i":453},{"o":1,"t":"01740c5d4ae4b520dd01","p":{"ff023000000000000011":"IO Rank"},"i":257},{"o":1,"t":"01740c5d4ae4b520dd02","p":{"ff023000000000000011":"Default Value"},"i":262},{"o":1,"t":"01756a18d4921c103111","p":{"ff023000000000000011":"Anonymous definition","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":10,"ff023000000000000137":10,"ff023000000000000237":2,"ff023000000000000337":10},"i":303},{"o":1,"t":"017a7a9ff057958e5678","p":{"ff023000000000000011":"Enums"},"i":15},{"o":1,"t":"017a7a9ff058958e5678","p":{"01703376c4a81c0e9d91":"A folder for grouping enums.","01703376c4a81c0e9d92":"A Enum Folder is a group of 1 or more enums, it is linked to the Enum Editor."},"i":16},{"o":1,"t":"017a7b07a948e30508fa","p":{"ff023000000000000011":"Remote Action"},"i":424},{"o":1,"t":"017a7b07a949e30508fa","p":{"01703376c4a81c0e9d91":"A remote function triggered by a control flow.","01703376c4a81c0e9d92":"A remote action is a function that is executed only when the incoming control flow is triggered and all its inputs have a value. Once it has updated all its outputs, it will trigger the outgoing control flow. It is executed on a remote service."},"i":425},{"o":1,"t":"017a7b07b09e3b22c8b4","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":424},{"o":1,"t":"017a7b07ba05807a74b0","p":{"017bc044aeacce7ffc8f":1,"ff023000000000000011":"User"},"i":424},{"o":1,"t":"017a7b0818c12388d731","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":424},{"o":1,"t":"017a7b085146d5e69aec","p":{"017bc044aeacce7ffc8f":1,"ff023000000000000011":"Error Flow"},"i":424},{"o":1,"t":"017a7b0c5dcbd8964c5d","p":{"fd017a7b0c62a02a89444f":false,"ff023000000000000011":"Remote Action Call","ff023000000000000012":true},"i":434},{"o":1,"t":"017a7b0c62a02a89444f","p":{"ff023000000000000011":"listener"},"i":434},{"o":1,"t":"017b3aa8fae1e3d044dc","p":{"ff023000000000000011":"Business Container"},"i":60},{"o":1,"t":"017b3aa8fd1659291b92","p":{"ff023000000000000011":"business container to project","ff023000000000000030":514,"ff023000000000000031":992,"ff023000000000000034":0,"ff023000000000000037":9,"ff023000000000000137":9,"ff023000000000000237":0,"ff023000000000000337":9},"i":60},{"o":1,"t":"017b3aa8fe7ec3fd52f2","p":{"ff023000000000000011":"business container to runtime objects","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":0,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":0},"i":60},{"o":1,"t":"017bc044aeacce7ffc8f","p":{"ff023000000000000011":"Predefined IO Rank"},"i":244},{"o":1,"t":"017dc8c114aa61a0e27f","p":{"ff023000000000000011":"DBConnector","ff023000000000000012":true},"i":493},{"o":1,"t":"017dc8d6c8fd8c8bd2f0","p":{"ff023000000000000011":"DBConnectorDefinition"},"i":487},{"o":1,"t":"017dc8d6d8ef9135f08a","p":{"ff023000000000000011":"DBConnector to business models","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":1},"i":493},{"o":1,"t":"017dc8d6d8ef9135f08b","p":{"ff023000000000000011":"DBConnector to projects","ff023000000000000030":514,"ff023000000000000031":992,"ff023000000000000034":0,"ff023000000000000037":8,"ff023000000000000137":9,"ff023000000000000237":8,"ff023000000000000337":8},"i":493},{"o":1,"t":"017dc92292107fb98b21","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"ID"},"i":487},{"o":1,"t":"017ed8ac775f48d4d589","p":{"ff023000000000000011":"dataRel","ff023000000000000030":16,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":0,"ff023000000000000337":2},"i":29}],"optionalOperations":[]}
|
|
1
|
+
{"rootTag":"100000000000000000dd","operations":[{"o":1,"t":"011100000000000adef0","p":{"ff023000000000000011":"Function Signature"},"i":276},{"o":1,"t":"011100000001000adef0","p":{"01703376c4a81c0e9d92":"A function signature defines the inputs and outputs, with names and types, of a function, but does not provide an implementation.Function signatures can be used to define the type of a function input or output or of a visual component property.A signature for functions"},"i":277},{"o":1,"t":"0112000000000000def0","p":{"fd01692aa71f3108454479":false,"ff023000000000000011":"Runnable Definition"},"i":293},{"o":1,"t":"01120300000000adef00","p":{"ff023000000000000011":"Application Definition","ff023000000000000012":true},"i":453},{"o":1,"t":"011203300000000adee0","p":{"ff023000000000000011":"dependencies"},"i":469},{"o":1,"t":"011203300000000adef3","p":{"ff023000000000000011":"Service App"},"i":475},{"o":1,"t":"011203300000000adef4","p":{"ff023000000000000011":"Deployment Info","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":475},{"o":1,"t":"011203300000000adef5","p":{"fd011203300000000adef6":false,"fd011203300000000adef7":false,"fd011203300000000adef8":0,"ff023000000000000011":"Deployment Info"},"i":469},{"o":1,"t":"011203300000000adef6","p":{"ff023000000000000011":"activated"},"i":469},{"o":1,"t":"011203300000000adef7","p":{"ff023000000000000011":"rebuild"},"i":469},{"o":1,"t":"011203300000000adef8","p":{"ff023000000000000011":"status"},"i":469},{"o":1,"t":"011203300000000adef9","p":{"ff023000000000000011":"last error"},"i":469},{"o":1,"t":"011203300000000adefa","p":{"ff023000000000000011":"project URL"},"i":469},{"o":1,"t":"011203300000000adefb","p":{"ff023000000000000011":"project branch"},"i":469},{"o":1,"t":"011203300000000adefc","p":{"ff023000000000000011":"build command"},"i":469},{"o":1,"t":"011203300000000adefd","p":{"ff023000000000000011":"project config"},"i":469},{"o":1,"t":"011203300000000adefe","p":{"ff023000000000000011":"logs"},"i":469},{"o":1,"t":"011203300000000adeff","p":{"ff023000000000000011":"port mappings"},"i":469},{"o":1,"t":"011203300000000adf00","p":{"fd011203300000000adf01":0,"fd011203300000000adf02":20000,"ff023000000000000011":"System Information"},"i":445},{"o":1,"t":"011203300000000adf01","p":{"ff023000000000000011":"appController timestamp"},"i":445},{"o":1,"t":"011203300000000adf02","p":{"ff023000000000000011":"appController heart rate"},"i":445},{"o":1,"t":"011203300000000adf0f","p":{},"i":447},{"o":1,"t":"011203300001000adef3","p":{"01703376c4a81c0e9d91":"A headless (with no UI) application.","01703376c4a81c0e9d92":"Service Apps are back-end applications that are meant to be run on servers or IoT devices that do not have screens. They run in the background and are typically used to capture data from a third party, process data, perform data input validation, etc."},"i":476},{"o":1,"t":"01130000000000ca1100","p":{"ff023000000000000011":"Runnable","ff023000000000000012":true},"i":303},{"o":1,"t":"0113030000000aca1100","p":{"ff023000000000000011":"Application","ff023000000000000012":true},"i":498},{"o":1,"t":"0113032000000aca1102","p":{"ff023000000000000011":"Headless Application","ff023000000000000012":true},"i":502},{"o":1,"t":"01621fb84e32000000a0","p":{"01621fb84e320000f001":"private","ff023000000000000011":"Ascender"},"i":374},{"o":1,"t":"01621fb84e32000000a1","p":{"ff023000000000000011":"Input","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":2,"ff023000000000000337":2},"i":374},{"o":1,"t":"01621fb84e32000000a2","p":{"ff023000000000000011":"Upward","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":1,"ff023000000000000337":2},"i":374},{"o":1,"t":"01621fb84e32000000d0","p":{"01621fb84e320000f001":"private","ff023000000000000011":"Descender"},"i":380},{"o":1,"t":"01621fb84e32000000d1","p":{"ff023000000000000011":"Downward","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":1,"ff023000000000000337":2},"i":380},{"o":1,"t":"01621fb84e32000000d2","p":{"ff023000000000000011":"Output","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":10,"ff023000000000000237":2,"ff023000000000000337":2},"i":380},{"o":1,"t":"01621fb84e320000a000","p":{"ff023000000000000011":"Action"},"i":390},{"o":1,"t":"01621fb84e320000cf00","p":{"ff023000000000000011":"Control Flow"},"i":233},{"o":1,"t":"01621fb84e320000f000","p":{"ff023000000000000011":"Function"},"i":330},{"o":1,"t":"01621fb84e320000f00a","p":{"ff023000000000000011":"Inputs","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":293},{"o":1,"t":"01621fb84e320000f00b","p":{"ff023000000000000011":"Outputs","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":293},{"o":1,"t":"01621fb84e320000f011","p":{"ff023000000000000011":"Coded Function"},"i":341},{"o":1,"t":"01621fb84e320000f012","p":{"ff023000000000000011":"Coded Action"},"i":398},{"o":1,"t":"01621fb84e330000a000","p":{"01703376c4a81c0e9d91":"A function triggered by a control flow.","01703376c4a81c0e9d92":"An action is a function that is executed only when the incoming control flow is triggered and all its inputs have a value. Once it has updated all its outputs, it will trigger the outgoing control flow."},"i":391},{"o":1,"t":"01621fb84e330000f000","p":{"01703376c4a81c0e9d91":"A function takes inputs and produces outputs.","01703376c4a81c0e9d92":"A function is the basic bloc for creating automation. It takes some inputs and produces outputs.\nFor instance the addition is a function that takes 2 numbers as inputs an produces, as output, a number that is the sum of these 2 inputs."},"i":331},{"o":1,"t":"01621fb84e330000f011","p":{"01703376c4a81c0e9d91":"A function takes inputs and produces outputs.","01703376c4a81c0e9d92":"A function is the basic bloc for creating automation. It takes some inputs and produces outputs.\nFor instance the addition is a function that takes 2 numbers as inputs an produces, as output, a number that is the sum of these 2 inputs. A coded function needs to be implemented with code (e.g.: javascript) and deployed to be functional."},"i":342},{"o":1,"t":"01621fb84e330000f012","p":{"01703376c4a81c0e9d91":"A coded function triggered by a control flow.","01703376c4a81c0e9d92":"An action is a function that is executed only when the incoming control flow is triggered and all its inputs have a value. Once it has updated all its outputs, it will trigger the outgoing control flow.A Coded action needs to be implemented with code (e.g.: javascript) and deployed to be functional."},"i":399},{"o":1,"t":"0162f15740c36629dc57","p":{"ff023000000000000011":"description"},"i":330},{"o":1,"t":"0162f672366be5ca7a86","p":{"ff023000000000000011":"Type"},"i":134},{"o":1,"t":"01631aacd5c1f9d61c5d","p":{"ff023000000000000011":"Map"},"i":138},{"o":1,"t":"01631aacd5c2f9d61c5d","p":{"01703376c4a81c0e9d91":"An ordered collection of key-value pairs.","01703376c4a81c0e9d92":"A Map is a collection of values. Each value has a unique key and can be accessed through that key."},"i":139},{"o":1,"t":"01631aacd8276ea98490","p":{"ff023000000000000011":"List"},"i":146},{"o":1,"t":"01631aacd8276ea98491","p":{"ff023000000000000011":"Array"},"i":163},{"o":1,"t":"01631aacd8276ea98492","p":{"ff023000000000000011":"Query Result"},"i":173},{"o":1,"t":"01631aacd8276ea98493","p":{"ff023000000000000011":"Query"},"i":183},{"o":1,"t":"01631aacd8276ea98494","p":{"ff023000000000000011":"Filter Type"},"i":191},{"o":1,"t":"01631aacd8276ea98495","p":{"ff023000000000000011":"Sort Direction"},"i":199},{"o":1,"t":"01631aacd8276ea98496","p":{"017a7690c915975ea995":0,"ff023000000000000011":"equals","ff023000000000000026":"equals"},"i":215},{"o":1,"t":"01631aacd8276ea98497","p":{"017a7690c915975ea995":1,"ff023000000000000011":"different","ff023000000000000026":"different"},"i":216},{"o":1,"t":"01631aacd8276ea98498","p":{"017a7690c915975ea995":2,"ff023000000000000011":"contains","ff023000000000000026":"contains"},"i":217},{"o":1,"t":"01631aacd8276ea98499","p":{"017a7690c915975ea995":3,"ff023000000000000011":"greater than","ff023000000000000026":"greater than"},"i":218},{"o":1,"t":"01631aacd8276ea9849a","p":{"017a7690c915975ea995":4,"ff023000000000000011":"greater or equals","ff023000000000000026":"greater or equals"},"i":219},{"o":1,"t":"01631aacd8276ea9849b","p":{"017a7690c915975ea995":5,"ff023000000000000011":"smaller than","ff023000000000000026":"smaller than"},"i":220},{"o":1,"t":"01631aacd8276ea9849c","p":{"017a7690c915975ea995":6,"ff023000000000000011":"smaller or equals","ff023000000000000026":"smaller or equals"},"i":221},{"o":1,"t":"01631aacd8276ea9849d","p":{"017a7690c915975ea995":7,"ff023000000000000011":"regexp","ff023000000000000026":"regexp"},"i":222},{"o":1,"t":"01631aacd8276ea9849e","p":{"017a7690c915975ea995":0,"ff023000000000000011":"ascending","ff023000000000000026":"ascending"},"i":224},{"o":1,"t":"01631aacd8276ea9849f","p":{"017a7690c915975ea995":1,"ff023000000000000011":"descending","ff023000000000000026":"descending"},"i":225},{"o":1,"t":"01631aacd8286ea98490","p":{"01703376c4a81c0e9d91":"An ordered collection of objects.","01703376c4a81c0e9d92":"A **List** is a collection of objects of the same type (e.g. a list of strings). It can be accessed sequentially (one entry after the other) or directly by specifying the rank of the entry (e.g. the 3rd entry).\nThis is similar to arrays in programming languages."},"i":147},{"o":1,"t":"01631aacd8286ea98491","p":{"01703376c4a81c0e9d91":"A mutable ordered collection of objects.","01703376c4a81c0e9d92":"An **Array** is a collection of objects of the same type (e.g. a list of strings). It can be accessed sequentially (one entry after the other) or directly by specifying the rank of the entry (e.g. the 3rd entry).\nThis is similar to arrays in programming languages."},"i":164},{"o":1,"t":"01631aacd8286ea98492","p":{"01703376c4a81c0e9d91":"An ordered collection of objects.","01703376c4a81c0e9d92":"A **QueryResult** is a collection of objects of the same type (e.g. a list of strings). It can be accessed sequentially (one entry after the other) or directly by specifying the rank of the entry (e.g. the 3rd entry).\nThis is similar to arrays in programming languages."},"i":174},{"o":1,"t":"01631aacd8286ea98493","p":{"01703376c4a81c0e9d91":"TODO","01703376c4a81c0e9d92":"TODO"},"i":184},{"o":1,"t":"01631aacd8286ea98494","p":{"01703376c4a81c0e9d91":"TODO","01703376c4a81c0e9d92":"TODO"},"i":192},{"o":1,"t":"01631aacd8286ea98495","p":{"01703376c4a81c0e9d91":"TODO","01703376c4a81c0e9d92":"TODO"},"i":200},{"o":1,"t":"016324fde11a836f76c2","p":{"ff023000000000000011":"Data Type"},"i":40},{"o":1,"t":"016324fde11b836f76c2","p":{"01703376c4a81c0e9d91":"An application specific data structure.","01703376c4a81c0e9d92":"A data type let you specify a complex data structure which contains a number of properties an relations.\nThis is very similar to the concept of 'Class' in object-oriented programming languages."},"i":41},{"o":1,"t":"0163a68ce44f3d1fa84c","p":{"ff023000000000000011":"Data Model"},"i":49},{"o":1,"t":"0163a68ce4503d1fa84c","p":{"01703376c4a81c0e9d91":"A set of data types.","01703376c4a81c0e9d92":"A **Data Model** is where you define the data structures, called **Data Types**, that your applications will manipulate (e.g. Customer, Receipt, Order, etc...). A project can have multiple **Data Models**."},"i":50},{"o":1,"t":"0163c9ae01f2d6e9ca49","p":{"ff023000000000000011":"ObjectRef"},"i":122},{"o":1,"t":"0163c9ae0401d21eb0c3","p":{"ff023000000000000011":"objectTag"},"i":122},{"o":1,"t":"016421bb3797e22d1c4e","p":{"ff023000000000000011":"Video Stream"},"i":130},{"o":1,"t":"01644b6297305d62fca2","p":{"ff023000000000000011":"Image File"},"i":74},{"o":1,"t":"01644b6297315d62fca2","p":{"01703376c4a81c0e9d91":"A file containing an image.","01703376c4a81c0e9d92":"An image file contains a binary encoded image. Supported formats are jpeg, png and gif."},"i":75},{"o":1,"t":"01644b6d4543b344b857","p":{"ff023000000000000011":"Media Library"},"i":66},{"o":1,"t":"01644b6d4544b344b857","p":{"01703376c4a81c0e9d91":"A repository for media resources.","01703376c4a81c0e9d92":"A **Media Library** is a set of assets like fonts & images that can be used by the project it belongs to."},"i":67},{"o":1,"t":"01645fe6873aeea59e64","p":{"ff023000000000000011":"Data Set"},"i":29},{"o":1,"t":"01645fe6873beea59e64","p":{"01703376c4a81c0e9d91":"Set of data records.","01703376c4a81c0e9d92":"**Data Sets** are used to create data records that will be available in the applications at runtime.\nCompared to business data created at runtime, records inside **Data Sets** are saved during the export of the project, as part of the application data.\nFor example this is where you would create initial entries of your **Customer** data types."},"i":30},{"o":1,"t":"0164643c432146a71d5c","p":{"ff023000000000000011":"Video File"},"i":105},{"o":1,"t":"0164643c432246a71d5c","p":{"01703376c4a81c0e9d91":"A file containing a video recording.","01703376c4a81c0e9d92":"An video file contains a binary encoded video. Supported formats are mp4, mpeg and avi."},"i":106},{"o":1,"t":"01647e113043c637b541","p":{"fd01647e677f5d1cfbdf42":"normal","fd01647e6780999bf8bd25":300,"ff023000000000000011":"Font File"},"i":98},{"o":1,"t":"01647e113044c637b541","p":{"01703376c4a81c0e9d91":"A file containing a font definition.","01703376c4a81c0e9d92":"A font file contains a set of graphically related used to display strings on the screen.\n Supported formats are: woff & woff2"},"i":99},{"o":1,"t":"01647e35ecd24ef0b88d","p":{"ff023000000000000011":"Font Family"},"i":98},{"o":1,"t":"01647e677f5d1cfbdf42","p":{"ff023000000000000011":"Font Style"},"i":98},{"o":1,"t":"01647e6780999bf8bd25","p":{"ff023000000000000011":"Font Weight"},"i":98},{"o":1,"t":"0166446c1f128ebc903a","p":{"ff023000000000000011":"On Load"},"i":293},{"o":1,"t":"0168a431d25001540000","p":{"ff023000000000000011":"Runnable IO","ff023000000000000012":true},"i":257},{"o":1,"t":"0168a431d25001540001","p":{"ff023000000000000011":"Runnable Input"},"i":262},{"o":1,"t":"0168a431d25001540002","p":{"ff023000000000000011":"Runnable Output"},"i":265},{"o":1,"t":"0168a431d3b9b7438424","p":{"ff023000000000000011":"Type IO","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":1,"ff023000000000000337":1},"i":257},{"o":1,"t":"0168a431d91f25780000","p":{"ff023000000000000011":"Pipe"},"i":366},{"o":1,"t":"0168a431d91f25780001","p":{"ff023000000000000011":"Source Value"},"i":366},{"o":1,"t":"0168a431d91f25780002","p":{"ff023000000000000011":"Source Scope","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f25780003","p":{"ff023000000000000011":"Source Output","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f25780004","p":{"ff023000000000000011":"Source Property","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f2578000a","p":{"ff023000000000000011":"Destination Scope","ff023000000000000030":514,"ff023000000000000031":992,"ff023000000000000034":0,"ff023000000000000037":9,"ff023000000000000137":9,"ff023000000000000237":10,"ff023000000000000337":9},"i":366},{"o":1,"t":"0168a431d91f2578000b","p":{"ff023000000000000011":"Destination Input","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168a431d91f2578000c","p":{"ff023000000000000011":"Destination Property","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":366},{"o":1,"t":"0168c6f020f2a96a0000","p":{"ff023000000000000011":"Action Call","ff023000000000000012":true},"i":407},{"o":1,"t":"0168c6f020f2a96f0000","p":{"ff023000000000000011":"Function Call","ff023000000000000012":true},"i":352},{"o":1,"t":"01692a4af82e8984742b","p":{"ff023000000000000011":"Definition of runnable","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":303},{"o":1,"t":"01692a4af82e8984742c","p":{"ff023000000000000011":"Calls Runnable","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":4,"ff023000000000000037":6,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":6},"i":306},{"o":1,"t":"01692a4af82e8984742d","p":{"ff023000000000000011":"Conditional Calls Runnable","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":4,"ff023000000000000037":6,"ff023000000000000137":6,"ff023000000000000237":1,"ff023000000000000337":6},"i":307},{"o":1,"t":"01692a4af82e8984742e","p":{"ff023000000000000011":"Extra Calls Runnable","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":4,"ff023000000000000037":4,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":4},"i":308},{"o":1,"t":"01692aa71f3108454479","p":{"ff023000000000000011":"hardcoded"},"i":293},{"o":1,"t":"0169b5a8a33144fb0b49","p":{"ff023000000000000011":"reference","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":2,"ff023000000000000337":1},"i":122},{"o":1,"t":"016a9766c230916ea5ec","p":{"ff023000000000000011":"Service"},"i":412},{"o":1,"t":"016a9766c231916ea5ec","p":{"01703376c4a81c0e9d91":"A function to be run in a Service Application.","01703376c4a81c0e9d92":"A `Service` is a function meant to be run inside a headless application."},"i":413},{"o":1,"t":"016ac4f59a2917fdef01","p":{"ff023000000000000011":"Predefined Inputs rel","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":276},{"o":1,"t":"016ac4f59a2917fdef02","p":{"ff023000000000000011":"Predefined Outputs rel","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":2},"i":276},{"o":1,"t":"016ac4f59c592b862457","p":{"ff023000000000000011":"Predefined Input"},"i":247},{"o":1,"t":"016ac4f59dd99f5df3e1","p":{"ff023000000000000011":"Predefined Output"},"i":250},{"o":1,"t":"016ac4f59ee8ea2081ba","p":{"ff023000000000000011":"Predefined IO","ff023000000000000012":true},"i":244},{"o":1,"t":"016ac4f5a0091c4790e2","p":{"ff023000000000000011":"Predefined Type IO","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":9,"ff023000000000000237":1,"ff023000000000000337":1},"i":244},{"o":1,"t":"016ac63229782039429f","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":390},{"o":1,"t":"016ac6322acf67eebfe7","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":390},{"o":1,"t":"016ac63c5b3ed0562740","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":412},{"o":1,"t":"016c2d996d9ca27fa9d8","p":{"ff023000000000000011":"Delegate","ff023000000000000012":true},"i":315},{"o":1,"t":"016c3cb7742ec9309e0b","p":{"ff023000000000000011":"Delegator Relation","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":1,"ff023000000000000337":1},"i":315},{"o":1,"t":"016c42d3454636f90533","p":{"ff023000000000000011":"Delegated Properties","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":1,"ff023000000000000337":1},"i":315},{"o":1,"t":"016cfca73e63f9ab5ba4","p":{"ff023000000000000011":"Text"},"i":155},{"o":1,"t":"016d3f37610ae4fc3962","p":{"ff023000000000000011":"SizeDelegator"},"i":318},{"o":1,"t":"016eb13ba1388f7bdd71","p":{"ff023000000000000011":"picture_default","ff023000000000000050":"picture_default.svg","ff023000000000000051":{"c":4,"h":8,"m":5,"s":4,"S":363,"z":0,"y":2022,"M":5,"d":12},"ff023000000000000052":"image/svg+xml","ff023000000000000053":"images/picture_default.svg","ff023000000000000054":false,"ff023000000000000055":{"c":4,"h":8,"m":5,"s":4,"S":363,"z":0,"y":2022,"M":5,"d":12}},"i":89},{"o":1,"t":"016eeb5ede9f3094d8f0","p":{"ff023000000000000011":"Error Flow"},"i":237},{"o":1,"t":"0171838bcfed0000a00a","p":{"ff023000000000000011":"Auxiliary model","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":0,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":0},"i":293},{"o":1,"t":"0171838bcfed0000e00e","p":{"ff023000000000000011":"Super Definition","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":1},"i":293},{"o":1,"t":"0171bc1f15da96dfdb89","p":{"ff023000000000000011":"app project import","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":1},"i":453},{"o":1,"t":"01740c5d4ae4b520dd01","p":{"ff023000000000000011":"IO Rank"},"i":257},{"o":1,"t":"01740c5d4ae4b520dd02","p":{"ff023000000000000011":"Default Value"},"i":262},{"o":1,"t":"01756a18d4921c103111","p":{"ff023000000000000011":"Anonymous definition","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":10,"ff023000000000000137":10,"ff023000000000000237":2,"ff023000000000000337":10},"i":303},{"o":1,"t":"017a7a9ff057958e5678","p":{"ff023000000000000011":"Enums"},"i":15},{"o":1,"t":"017a7a9ff058958e5678","p":{"01703376c4a81c0e9d91":"A folder for grouping enums.","01703376c4a81c0e9d92":"A Enum Folder is a group of 1 or more enums, it is linked to the Enum Editor."},"i":16},{"o":1,"t":"017a7b07a948e30508fa","p":{"ff023000000000000011":"Remote Action"},"i":424},{"o":1,"t":"017a7b07a949e30508fa","p":{"01703376c4a81c0e9d91":"A remote function triggered by a control flow.","01703376c4a81c0e9d92":"A remote action is a function that is executed only when the incoming control flow is triggered and all its inputs have a value. Once it has updated all its outputs, it will trigger the outgoing control flow. It is executed on a remote service."},"i":425},{"o":1,"t":"017a7b07b09e3b22c8b4","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":424},{"o":1,"t":"017a7b07ba05807a74b0","p":{"017bc044aeacce7ffc8f":1,"ff023000000000000011":"User"},"i":424},{"o":1,"t":"017a7b0818c12388d731","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"Control Flow"},"i":424},{"o":1,"t":"017a7b085146d5e69aec","p":{"017bc044aeacce7ffc8f":1,"ff023000000000000011":"Error Flow"},"i":424},{"o":1,"t":"017a7b0c5dcbd8964c5d","p":{"fd017a7b0c62a02a89444f":false,"ff023000000000000011":"Remote Action Call","ff023000000000000012":true},"i":434},{"o":1,"t":"017a7b0c62a02a89444f","p":{"ff023000000000000011":"listener"},"i":434},{"o":1,"t":"017b3aa8fae1e3d044dc","p":{"ff023000000000000011":"Business Container"},"i":60},{"o":1,"t":"017b3aa8fd1659291b92","p":{"ff023000000000000011":"business container to project","ff023000000000000030":514,"ff023000000000000031":992,"ff023000000000000034":0,"ff023000000000000037":9,"ff023000000000000137":9,"ff023000000000000237":0,"ff023000000000000337":9},"i":60},{"o":1,"t":"017b3aa8fe7ec3fd52f2","p":{"ff023000000000000011":"business container to runtime objects","ff023000000000000030":514,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":0,"ff023000000000000137":6,"ff023000000000000237":2,"ff023000000000000337":0},"i":60},{"o":1,"t":"017bc044aeacce7ffc8f","p":{"ff023000000000000011":"Predefined IO Rank"},"i":244},{"o":1,"t":"017dc8c114aa61a0e27f","p":{"ff023000000000000011":"DBConnector","ff023000000000000012":true},"i":493},{"o":1,"t":"017dc8d6c8fd8c8bd2f0","p":{"ff023000000000000011":"DBConnectorDefinition"},"i":487},{"o":1,"t":"017dc8d6d8ef9135f08a","p":{"ff023000000000000011":"DBConnector to business models","ff023000000000000030":514,"ff023000000000000031":0,"ff023000000000000034":0,"ff023000000000000037":1,"ff023000000000000137":5,"ff023000000000000237":2,"ff023000000000000337":1},"i":493},{"o":1,"t":"017dc8d6d8ef9135f08b","p":{"ff023000000000000011":"DBConnector to projects","ff023000000000000030":514,"ff023000000000000031":992,"ff023000000000000034":0,"ff023000000000000037":8,"ff023000000000000137":9,"ff023000000000000237":8,"ff023000000000000337":8},"i":493},{"o":1,"t":"017dc92292107fb98b21","p":{"017bc044aeacce7ffc8f":0,"ff023000000000000011":"ID"},"i":487},{"o":1,"t":"017ed8ac775f48d4d589","p":{"ff023000000000000011":"dataRel","ff023000000000000030":16,"ff023000000000000031":31,"ff023000000000000034":0,"ff023000000000000037":2,"ff023000000000000137":6,"ff023000000000000237":0,"ff023000000000000337":2},"i":29}],"optionalOperations":[]}
|
package/index.js
CHANGED
|
@@ -510,14 +510,14 @@ function Ae(a,b){var c=olympe.dc.Na();if(c.Gb(a)){b.F(a,c.rd(a,!0),0);b.Ra(olymp
|
|
|
510
510
|
function Be(a,b,c=olympe.dc.Ja.Vc){b&&b((new olympe.dc.W.Li(c)).C(a.p||[]));const d=olympe.dc.Na();let e=!1;b=a.k.map(f=>{const g=f.split('.').map(h=>d.Gb(h)?olympe.dc.CloudObject.get(h):(olympe.pa.Xa('QueryResult').error(`CloudObject with tag ${h} not present but required for deserialization`),e=!0,null));return[f,1===g.length?g[0]:g]});return e?null:olympe.dc.Va.create(b,a.a,a.r)}
|
|
511
511
|
olympe.dc.Va=class{constructor(){this.C=[];this.F=new Map;this.G=[];this.N=[];this.hash=''}static empty(){return new olympe.dc.Va}[Symbol.iterator](){let a=0;return{next:()=>{var b={done:!0};a<this.C.length&&(b=this.C[a],b={value:[b,this.F.get(b)],done:!1},a++);return b}}}entries(){return this.C.map(a=>[a,this.F.get(a)])}values(){return this.F.values()}keys(){return this.C.values()}ff(){return this.C.map(a=>this.F.get(a))}size(){return this.C.length}has(a){return this.F.has(a)||this.ff().includes(a)}indexOf(a){return null===
|
|
512
512
|
a||void 0===a?-1:'string'===typeof a?this.C.indexOf(a):this.ff().indexOf(a)}get(a){return(a=this.F.get(a))?a:null}Oc(){return this.re(0)}re(a){return a<this.C.length?this.F.get(this.C[a]):null}push(...a){const b=this.ff();b.push(...a);return b}pop(){if(0===this.C.length)return[];const a=this.ff();a.pop();return a}shift(){if(0<this.C.length){const a=this.ff();a.shift();return a}return[]}filter(a){return this.ff().filter(a)}find(a){return(a=this.ff().find(a))?a:null}forEach(a){this.C.forEach((b,c)=>
|
|
513
|
-
a(this.F.get(b),c))}map(a){return this.ff().map(a)}sort(a){const b=this.entries().sort((c,d)=>a(c[1],d[1]));return olympe.dc.Va.create(b,Array.from(this.G),Array.from(this.N))}reduce(a,b){return this.ff().reduce(a,b)}concat(...a){const b=[this.entries(),...a.map(d=>d.entries())].flat();let c=Array.from(this.G);for(const d of a)c=c.concat(d.G.map(e=>e+c.length));a=this.N.concat(...a.map(d=>d.N));return olympe.dc.Va.create(b,c,a)}static from(a,b){const c=olympe.dc.Na();var d=Ce(b);if(b.Ld){const {kb:
|
|
514
|
-
order:
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
olympe.dc.Va.prototype.
|
|
518
|
-
olympe.dc.Va.prototype.
|
|
519
|
-
function De(a,b,c,d){if(0===c)return a.
|
|
520
|
-
olympe.dc.da.rq=class{constructor(a){this.C=Array.from({length:oe(a)+1},()=>new Map);this.
|
|
513
|
+
a(this.F.get(b),c))}map(a){return this.ff().map(a)}sort(a){const b=this.entries().sort((c,d)=>a(c[1],d[1]));return olympe.dc.Va.create(b,Array.from(this.G),Array.from(this.N))}reduce(a,b){return this.ff().reduce(a,b)}concat(...a){const b=[this.entries(),...a.map(d=>d.entries())].flat();let c=Array.from(this.G);for(const d of a)c=c.concat(d.G.map(e=>e+c.length));a=this.N.concat(...a.map(d=>d.N));return olympe.dc.Va.create(b,c,a)}static from(a,b){const c=olympe.dc.Na();var d=Ce(b);if(b.Ld){const {kb:k,
|
|
514
|
+
order:l,Ld:n,Gv:p}=b.Ld,q=Array.from(b.F).sort().indexOf(p),r=l===olympe.dc.da.km.ASC?1:-1;d.sort((t,u)=>{u=u[q];t=c.fb(t[q],k);u=c.fb(u,k);return null===t?-r:null===u?r:r*n(t,u)})}else d.sort((k,l)=>k.reduce((n,p,q)=>n||p.localeCompare(l[q]),0));0<b.offset&&(d=d.slice(b.offset));-1<b.max&&(d=d.slice(0,b.max));b=olympe.W.mb(d.flat().join(''));if(b===a.hash)return a;d=d.map(k=>[k.join('.'),1===k.length?olympe.dc.CloudObject.get(k[0]):k.map(l=>olympe.dc.CloudObject.get(l))]);const e=new Set(d.map(k=>
|
|
515
|
+
k[0])),f=new Set(a.keys()),g=[],h=[];d.forEach(([k],l)=>{!f.has(k)&&g.push(l)});f.forEach(k=>{!e.has(k)&&h.push(k)});return olympe.dc.Va.create(d,g,h,b)}static create(a,b,c,d){const e=new olympe.dc.Va;e.C=a.map(f=>f[0]);e.F=new Map(a);e.hash=d||olympe.W.mb(e.C.join(''));e.G=b||e.C.map((f,g)=>g);e.N=c||[];return e}ia(){const a=new olympe.dc.db.xc;var b=new Set(this.G.flatMap(c=>this.C[c].split('.')));for(const c of b)Ae(c,a);b=new olympe.dc.transaction.wd;a.Mc(b);return{k:this.C,p:$d(b),a:this.G,r:this.N}}};
|
|
516
|
+
olympe.dc.Va.prototype.concat=olympe.dc.Va.prototype.concat;olympe.dc.Va.prototype.reduce=olympe.dc.Va.prototype.reduce;olympe.dc.Va.prototype.sort=olympe.dc.Va.prototype.sort;olympe.dc.Va.prototype.map=olympe.dc.Va.prototype.map;olympe.dc.Va.prototype.forEach=olympe.dc.Va.prototype.forEach;olympe.dc.Va.prototype.find=olympe.dc.Va.prototype.find;olympe.dc.Va.prototype.filter=olympe.dc.Va.prototype.filter;olympe.dc.Va.prototype.shift=olympe.dc.Va.prototype.shift;olympe.dc.Va.prototype.pop=olympe.dc.Va.prototype.pop;
|
|
517
|
+
olympe.dc.Va.prototype.push=olympe.dc.Va.prototype.push;olympe.dc.Va.prototype.getAt=olympe.dc.Va.prototype.re;olympe.dc.Va.prototype.getFirst=olympe.dc.Va.prototype.Oc;olympe.dc.Va.prototype.get=olympe.dc.Va.prototype.get;olympe.dc.Va.prototype.indexOf=olympe.dc.Va.prototype.indexOf;olympe.dc.Va.prototype.has=olympe.dc.Va.prototype.has;olympe.dc.Va.prototype.size=olympe.dc.Va.prototype.size;olympe.dc.Va.prototype.toArray=olympe.dc.Va.prototype.ff;olympe.dc.Va.prototype.keys=olympe.dc.Va.prototype.keys;
|
|
518
|
+
olympe.dc.Va.prototype.values=olympe.dc.Va.prototype.values;olympe.dc.Va.prototype.entries=olympe.dc.Va.prototype.entries;olympe.dc.Va.empty=olympe.dc.Va.empty;function Ce(a){var b=new Set(X(a,a.Cg()-1).keys());a.C.push((new Map).set('sink',b));b=[];for(const c of De(a,'sink',a.Cg()-1,''))b.push(c.slice(0,-1).split(';'));a.C.pop();return b}function Ee(a,b,c,d,e){a.Ld={Ld:b,Gv:c,order:d,kb:e}}function Fe(a,b){a.G=b}function Ge(a){a.G?a.N||(a.N=!0,a.G()):olympe.pa.Xa('dc').error('Trying to notify update for partial result but callback has not been previously set')}function X(a,b){return b>=a.Cg()?new Map:a.C[b]}
|
|
519
|
+
function De(a,b,c,d){if(0===c)return a.F.has(c)?(b=Array.from(X(a,0).keys())[0],(new Set).add(`${b};${d}`)):(new Set).add(d);const e=He(a,b,c),f=a.F.has(c)?`${b};${d}`:d;return e.reduce((g,h)=>{for(const k of De(a,h,c-1,f))g.add(k);return g},new Set)}function He(a,b,c){return 0===c?null:(a=X(a,c))&&a.has(b)?Array.from(a.get(b)):null}function Ie(a,b,c,d){X(a,c+1).forEach((e,f)=>{e.has(d)&&a.remove(f,c+1,b)});X(a,c).delete(d);Ge(a)}
|
|
520
|
+
olympe.dc.da.rq=class{constructor(a){this.C=Array.from({length:oe(a)+1},()=>new Map);this.F=new Set(Array.from(a.F));this.Ld=null;this.N=!1;this.G=null;this.max=a.max;this.offset=a.offset}Cg(){return this.C.length}insert(a,b,c){var d=X(this,b);if(0<b&&(null===c||!X(this,b-1).has(c)))return olympe.pa.Xa('dc').error('Try to insert result entry linked to a non existing parent'),null;if(d.has(a)&&null!==c)return a=d.get(a),d=a.size,a.add(c),a.size>d&&Ge(this),!1;if(b>=this.Cg())return olympe.pa.Xa('dc').error('Try to insert result entry to a higher level than possible'),
|
|
521
521
|
null;b=new Set;null!==c&&b.add(c);d.set(a,b);Ge(this);return!0}remove(a,b,c){var d=X(this,b);if(!d.has(a))return!0;if(0<b&&(null===c||!X(this,b-1).has(c)))return olympe.pa.Xa('dc').error('Try to remove result entry linked to a non existing parent'),null;d=d.get(a);c&&d.delete(c);if(1>d.size)return Ge(this),Ie(this,a,b,a),!0;Ge(this);return!1}};olympe.dc.ld=class{constructor(a){this.query=a}static from(a){return new olympe.dc.ld(olympe.dc.gb.from(a))}sb(a){return new olympe.dc.ld(this.query.sb(a))}Zi(){return this}hb(a){return this.query.hb(a).then(b=>{const c=b.size();return 1<c?(olympe.pa.Xa('dc').warn('a follow() on a QuerySingle has '+c+' results (0 or 1 expected) -> returns null'),null):b.Oc()||null})}bd(){const a=this.query.bd(),b=a.size();return 1<b?(olympe.pa.Xa('dc').warn('a follow() on a QuerySingle has '+b+' results (0 or 1 expected) -> returns null'),
|
|
522
522
|
null):a.Oc()||null}};olympe.dc.ld.prototype.executeFromCache=olympe.dc.ld.prototype.bd;olympe.dc.ld.prototype.execute=olympe.dc.ld.prototype.hb;olympe.dc.ld.prototype.cast=olympe.dc.ld.prototype.Zi;olympe.dc.ld.prototype.follow=olympe.dc.ld.prototype.sb;olympe.dc.da.U={};olympe.dc.da.U.Vd=class{constructor(...a){this.U=a}hb(a){return this.U.reduce((b,c)=>b&&c.hb(a),!0)}observe(a,b,c){const d=this.U.map(()=>!1),e=this.U.map(()=>null),f=(g,h)=>{d[h]=g;g=d.every(k=>k);e[h]!==g&&(e[h]=g,c(g))};this.U.forEach((g,h)=>{g.observe(a,olympe.W.mb('AND-'+b+a+h),k=>f(k,h))})}ia(){return{pr:8,p:this.U.map(a=>a.ia())}}toString(){return'And-'+this.U.reduce((a,b)=>a+'-'+b.toString(),'')}clear(a,b){this.U.forEach((c,d)=>{c.clear(a,olympe.W.mb('AND-'+b+a+d))})}};
|
|
523
523
|
olympe.dc.da.U.Vd.C=8;olympe.dc.da.U.Vd.la=[olympe.dc.da.$a];olympe.dc.da.U.Sc=class{constructor(a,b,c,d=!1){this.kb=olympe.dc.xa(a);this.substring=b;this.db=c;this.C=d}fb(){return this.kb}hb(a){return this.apply(this.db.fb(a,this.kb))}observe(a,b,c){xd(this.db,a,this.kb,d=>{c(this.apply(d))},olympe.W.mb(b+a+this.toString()))}apply(a){return'string'===typeof a?this.C?a.includes(this.substring):a.toLowerCase().includes(this.substring.toLowerCase()):!1}toString(){return'Contains'+this.kb+'-'+this.substring+'-'+this.C}clear(a,b){this.db.F(a,this.kb,olympe.W.mb(b+
|
|
@@ -600,7 +600,7 @@ olympe.T.config(function(a){E(a,olympe.dc.query.Config.Sq,!1);C(a,olympe.dc.quer
|
|
|
600
600
|
olympe.dc.query.Ub.jp,olympe.dc.query.O.Ea,olympe.dc.query.Mb.Se,new olympe.T.fa(olympe.dc.Config.$g));B(a,olympe.dc.query.Mb.ep,olympe.dc.query.Ub.kp,olympe.dc.query.O.Ea,olympe.dc.query.Mb.Se,olympe.dc.query.Mb.Kj);B(a,olympe.dc.query.Mb.bp,olympe.dc.query.Ub.ip,olympe.dc.query.O.Ea,olympe.dc.query.Mb.Se);B(a,olympe.dc.query.Mb.ek,olympe.dc.query.Ub.Np,olympe.dc.query.O.Ea,olympe.dc.O.wi,olympe.dc.query.Mb.Se);B(a,olympe.dc.query.Mb.vq,olympe.dc.query.Ub.Cu,olympe.dc.query.O.Ea,olympe.dc.query.Mb.Se,
|
|
601
601
|
olympe.dc.query.Mb.yl,olympe.dc.query.Mb.Kj,olympe.dc.O.me,olympe.dc.db.O.va);B(a,olympe.dc.query.Mb.yl,olympe.dc.query.Ub.Qs,olympe.dc.query.O.Ea,olympe.dc.query.Mb.Se,olympe.dc.transaction.O.va);C(a,olympe.dc.query.O.va,[olympe.dc.query.O.Ea,new olympe.T.fa(olympe.dc.Config.$g),olympe.dc.O.me,olympe.dc.db.O.va,olympe.dc.query.Mb.Se,olympe.dc.query.Mb.Kj,olympe.dc.query.Mb.Gp,olympe.dc.query.Mb.cp,olympe.dc.query.Mb.ep,olympe.dc.query.Mb.bp,olympe.dc.query.Mb.ek,olympe.dc.query.Mb.vq],(b,c,d,e,f,
|
|
602
602
|
g,h,k,l,n,p,q)=>new olympe.dc.query.Au(b,c,d,e,f,g,[h,k,l,n,p],q))});olympe.T.run([olympe.dc.query.Mb.Se],a=>{olympe.hj().subscriptions=a});olympe.dc.query.ta={};function dg(){const a=Error.stackTraceLimit;Error.stackTraceLimit=16;let b=Error().stack||'';b=b.split('\n').map(d=>d.trim());var c='Error'===b[0]?2:1;b=b.slice(c,Error.stackTraceLimit+c).reverse();c=[];for(const d of b)if(c.push(' '+d),d.includes('at ListDef.')||d.includes('at GraphDef.'))break;Error.stackTraceLimit=a;3<c.length&&(c=c.slice(c.length-3));return c.join('\n')||b.join('\n')}
|
|
603
|
-
olympe.dc.query.ta.ar=class{constructor(a,b){this.C=new Map;this.G=new Map;this.V=a;this.ka=b}F(){}N(a){var b=this.C.get(a);this.C.set(a,void 0!==b?b+1:1);b=this.G.get(a);this.G.set(a,void 0!==b?b:!1)}};function bg(a,b){const c=b.Y();a.Z.set(c,b);olympe.D.Ia().onDestroy(()=>{a.Z.delete(c)})}function cg(a,b){const c=b.Y();a.aa.set(c,b);olympe.D.Ia().onDestroy(()=>{a.aa.delete(c)})}olympe.dc.query.ta.qt=class extends olympe.dc.query.ta.ar{constructor(a,b,c){super(a,b);this.ta=c;this.Z=new Map;this.aa=new Map;b&&dg()}F(){return this.V}};olympe.dc.query.ta.cu=class extends olympe.dc.query.ta.ar{constructor(a,b){super(a,b);this.Z=new Map}F(){return this.V}N(a){super.N(a);if(this.ka){const b='md_'+olympe.W.lc();this.Z.set(b,dg());olympe.D.Ia().onDestroy(()=>{this.Z.delete(b)})}}};olympe.dc.query.ta.Bu=class{constructor(a){this.query=a;this.F=olympe.dc.Ad();this.id=a.Y();this.C=olympe.D.Kc(olympe.dc.Va);this.G=null;this.counter=0}update(){const a=olympe.D.Ya(this.C)||olympe.dc.Va.empty(),b=olympe.dc.Va.from(a,this.G);b!==a&&(Pc(this.F,null,ze(b)),this.C.update(b))}destroy(){const a=olympe.D.Ya(this.C)||olympe.dc.Va.empty();Pc(this.F,null,ye(a))}};olympe.dc.query.Ub={};function eg(a,b,c,d,e){a.L.debug('CoverageProcessor: [ID:',d,'] - checking coverage of remote query over',b.length,'paths.');const f=new olympe.async.qg(olympe.D.Ia()),g=k=>{f.add((l,n)=>{k.hb(p=>{p?n(`The query ${d} is not covered by an existing graphdef, `+`and the specific graphdef id ${k.Y()} has encountered an error: ${p}`):l()});ag(a.ta,k.Y(),c)})},h=Array.from(Tf(a.ta,olympe.dc.Ja.Vc));b.forEach(k=>{const l=cf(k);let n=!1;for(let p=0,q=h.length;p<q;p++){const r=h[p];if(r.Ir(l)){g(r.sh,!1);
|
|
603
|
+
olympe.dc.query.ta.ar=class{constructor(a,b){this.C=new Map;this.G=new Map;this.V=a;this.ka=b}F(){}N(a){var b=this.C.get(a);this.C.set(a,void 0!==b?b+1:1);b=this.G.get(a);this.G.set(a,void 0!==b?b:!1)}};function bg(a,b){const c=b.Y();a.Z.set(c,b);olympe.D.Ia().onDestroy(()=>{a.Z.delete(c)})}function cg(a,b){const c=b.Y();a.aa.set(c,b);olympe.D.Ia().onDestroy(()=>{a.aa.delete(c)})}olympe.dc.query.ta.qt=class extends olympe.dc.query.ta.ar{constructor(a,b,c){super(a,b);this.ta=c;this.Z=new Map;this.aa=new Map;b&&dg()}F(){return this.V}};olympe.dc.query.ta.cu=class extends olympe.dc.query.ta.ar{constructor(a,b){super(a,b);this.Z=new Map}F(){return this.V}N(a){super.N(a);if(this.ka){const b='md_'+olympe.W.lc();this.Z.set(b,dg());olympe.D.Ia().onDestroy(()=>{this.Z.delete(b)})}}};olympe.dc.query.ta.Bu=class{constructor(a){this.query=a;this.F=olympe.dc.Ad();this.id=a.Y();this.C=olympe.D.Kc(olympe.dc.Va);this.G=null;this.counter=0}update(){const a=olympe.D.Ya(this.C)||olympe.dc.Va.empty(),b=olympe.dc.Va.from(a,this.G);this.G.N=!1;b!==a&&(Pc(this.F,null,ze(b)),this.C.update(b))}destroy(){const a=olympe.D.Ya(this.C)||olympe.dc.Va.empty();Pc(this.F,null,ye(a))}};olympe.dc.query.Ub={};function eg(a,b,c,d,e){a.L.debug('CoverageProcessor: [ID:',d,'] - checking coverage of remote query over',b.length,'paths.');const f=new olympe.async.qg(olympe.D.Ia()),g=k=>{f.add((l,n)=>{k.hb(p=>{p?n(`The query ${d} is not covered by an existing graphdef, `+`and the specific graphdef id ${k.Y()} has encountered an error: ${p}`):l()});ag(a.ta,k.Y(),c)})},h=Array.from(Tf(a.ta,olympe.dc.Ja.Vc));b.forEach(k=>{const l=cf(k);let n=!1;for(let p=0,q=h.length;p<q;p++){const r=h[p];if(r.Ir(l)){g(r.sh,!1);
|
|
604
604
|
n=!0;break}}n?a.L.debug('CoverageProcessor: [ID:',d,'] - graphPath',k,' is covered'):g(k,!0)});Wb(f,(k,l)=>e(l));f.start()}function fg(a,b,c){const d=[b.Od()],e=g=>g instanceof olympe.dc.X.uf,f=(b.Dg()||[]).filter(e);for(const g of f)d.push(g.Od()),f.push(...(g.Dg()||[]).filter(e));ke(a.C,()=>{olympe.D.wc(d,()=>{const g=b.Wf();eg(a,g,b,b.Y(),c)})})}function gg(a,b,c,d){const e=b.Y(),f=[qe(b,c)];ke(a.C,()=>eg(a,f,b,e,d))}olympe.dc.query.Ub.Qs=class{constructor(a,b,c){this.L=a;this.ta=b;this.C=c}};olympe.dc.query.Ub.ip=class{constructor(a,b){this.L=a;this.ta=b}process(a,b,c){const d=b.Y();this.ta.C.has(d)?(Ff(this.ta,d).ra(b),olympe.dc.Ad().bf(b.data,a),c(null,b)):c(Error(`Received a notification for the graphdef ${d} which does not exist.`),b)}};olympe.dc.query.Ub.ip.la=[olympe.dc.rg];olympe.dc.query.Ub.jp=class{constructor(a,b,c){this.L=a;this.ta=b;this.C=c}process(a,b,c){var d=b.Y();if(a===olympe.dc.Ja.rb||this.ta.C.has(d)){if(c(null,b),a=Ff(this.ta,d),this.C||a&&a.N)a=olympe.dc.Ja.rb,d=new olympe.dc.query.Di(d,a,a,new olympe.dc.db.xc),Mf(olympe.dc.Lf(),d)}else c(Error('The local Graph Engine is not implemented yet. It should handle Graphdefs addressed to instances owned by this local OVM'),b)}};olympe.dc.query.Ub.jp.la=[olympe.dc.rg];olympe.dc.query.Ub.kp=class{constructor(a,b,c){this.L=a;this.C=b;this.F=c}process(a,b,c){const d=b.Y();if(this.C.C.has(d)){const f=Ff(this.C,d);if(b instanceof olympe.dc.query.aj.Yj)Hf(this.C,d,a);else if(!f.N){f.ka(b);const g=olympe.dc.Ad();Pc(g,f.Z());g.bf(b.Bc,b.destination);f.onDestroy(()=>{Pc(g,null,f.Z())});mf(f)}}let e;b instanceof olympe.dc.query.aj.Yj&&(e=`graph subscription "${d}" failed to create the initial result: ${b.aa()}`,this.L.error(e));Se(this.F,b.Y(),b);c(e?Error(e):null,b)}};
|
|
605
605
|
olympe.dc.query.Ub.kp.la=[olympe.dc.rg];const hg=[],ig=new Map;function jg(a,b,c,d){uc(a.db,d,e=>{e?b.Fg(c)?a.L.warn('Adding the same index twice (should never happen) for sub #'+b.Y()+', index #'+c+', tag #'+d):b.zc(c,d):kg(a,b,c,d)},c)}function kg(a,b,c,d){vc(a.db,d,c,!0);b.Xc(c);hg.length=0;b.Nd(function(e,f){hg[e]=f});c=a=0;for(d=hg.length;a<d;a++)'string'===typeof hg[a]&&(hg[c++]=hg[a]);hg.length=c;b.cc(hg)}
|
|
606
606
|
olympe.dc.query.Ub.Np=class{constructor(a,b,c){this.L=a;this.db=b;this.ta=c}process(a,b,c){const d=b.Y();a=b.C;const e=Jf(this.ta,d);if(null===e)c(Error(`Received list notification for undefined subscription "${d}"`),b);else{hg.length=a.length;e.Nd((f,g)=>{if(f=e.mh(g)){f=f.R();var h=ig.get(f);void 0===h?ig.set(f,g):'string'===typeof h?ig.set(f,[h,g]):h.push(g)}else this.L.warn('Subscription #'+d+' has a rank for index #'+g+' but no instance. This is caused by receiving a new list notification before receiving all instances of the previous list notification.')});
|
|
@@ -609,8 +609,8 @@ Xf(a.ta,e,b)||a.notify(b,c);d(null,c)}
|
|
|
609
609
|
function mg(a,b){if(b.Z())a.L.debug('ListProcessor: [ID:',b.Y(),'] - Subscription already booted, ignoring');else{a.L.debug('ListProcessor: [ID:',b.Y(),'] - Booting subscription');var c=new olympe.dc.oc.$q(a.db,a.L),d=ng(a,b,c),e=b.Y();b.Hh().run(()=>{olympe.D.wc([b.Od()],f=>{const g=olympe.dc.xa(f);a.L.debug('ListProcessor: [ID:',b.Y(),'] - Booting with baseTag',g);b.wh()||b.ji();uc(a.db,g,h=>d(h,g),e);olympe.D.Ia().vc(()=>vc(a.db,g,e));a.db.Gb(g.valueOf())||og(c);b.Z()||(og(c),b.cc([]))})})}}
|
|
610
610
|
function ng(a,b,c){const d=new olympe.dc.oc.Ij;let e=!1;const f=b.Hh(),g=b.Dg(),h=[];h[g?g.length:0]=f.Cb((k,l,n,p)=>{f.gd()||f.yb()||(k?b.Fg(n)?a.L.warn('Adding the same index twice (should never happen) for sub #',b.Y(),', index #',n,', tag #',l):(a.L.debug('ListProcessor: [ID:',b.Y(),'] - Adding Instance',l,'to the subscription'),b.zc(n,l)):(a.L.debug('ListProcessor: [ID:',b.Y(),'] - Removing Instance',l,'from the subscription'),b.Xc(n)),e||(pg(c,()=>{p.vg();og(c)}),p.Qc().Lg(b.cc.bind(b)),e=!0),
|
|
611
611
|
qg(c,n))});if(null!==g){const k=olympe.dc.Qc();for(let l=g.length-1;0<=l;l--)h[l]=f.Cb(g[l].getTransform(k,c,h[l+1]))}return(k,l)=>{const n=b.Y();c.register(n,null);const p=d.C(k,l,n,null);if(null!==p)h[0](k,l,n,rg(p,k,l,n))}}
|
|
612
|
-
olympe.dc.query.Ub.Op=class{constructor(a,b,c,d,e,f){this.L=a;this.db=b;this.ta=c;this.C=d;this.F=f}process(a,b,c){lg(this,a,b,c)}notify(a,b){const c=b.Y();this.L.debug(`Register notification of list subscription ${c} for destination ${a}`);const d=()=>{const f=new olympe.dc.query.Mp(c);b.de(g=>f.F(g));Of(olympe.dc.Lf(),f)};let e=!1;b.forEach(()=>{e&&d()});b.Ke(()=>{e=!0;d()})}};olympe.dc.query.Ub.Op.la=[olympe.dc.rg];function Ef(a,b,c){const d=b.Y(),e=b.source,f=a.ta.G.has(d),g=Zf(a.ta,b);return new rxjs.Observable(h=>{c.run(()=>{olympe.D.wc([g.C.Eb()],h.next.bind(h))});const k=()=>{l&&c.Bn(l);{var n=a.ta;const q=n.G.get(d);var p;if(p=q)p=q,0<p.counter?p.counter--:olympe.pa.Xa('dc').warn('Try to decrement counter of query metadata below 0. Investigate...'),p=0===p.counter;p&&(q.destroy(),n.G.delete(d),n.V.delete(d))}},l=c.vc(k);if(e===olympe.dc.Ja.Vc)gg(a.N,b,!0,n=>{n?(h.error(n),k()):sg(a,d,b,g,c)});else if(e===
|
|
613
|
-
olympe.dc.Ja.rb)sg(a,d,b,g,c);else
|
|
612
|
+
olympe.dc.query.Ub.Op=class{constructor(a,b,c,d,e,f){this.L=a;this.db=b;this.ta=c;this.C=d;this.F=f}process(a,b,c){lg(this,a,b,c)}notify(a,b){const c=b.Y();this.L.debug(`Register notification of list subscription ${c} for destination ${a}`);const d=()=>{const f=new olympe.dc.query.Mp(c);b.de(g=>f.F(g));Of(olympe.dc.Lf(),f)};let e=!1;b.forEach(()=>{e&&d()});b.Ke(()=>{e=!0;d()})}};olympe.dc.query.Ub.Op.la=[olympe.dc.rg];function Ef(a,b,c){const d=b.Y(),e=b.source,f=a.ta.G.has(d),g=Zf(a.ta,b);return new rxjs.Observable(h=>{c.run(()=>{olympe.D.wc([g.C.Eb()],h.next.bind(h))});const k=()=>{l&&c.Bn(l);{var n=a.ta;const q=n.G.get(d);var p;if(p=q)p=q,0<p.counter?p.counter--:olympe.pa.Xa('dc').warn('Try to decrement counter of query metadata below 0. Investigate...'),p=0===p.counter;p&&(q.destroy(),n.G.delete(d),n.V.delete(d))}},l=c.vc(k);if(!f)if(e===olympe.dc.Ja.Vc)gg(a.N,b,!0,n=>{n?(h.error(n),k()):sg(a,d,b,g,c)});else if(e===
|
|
613
|
+
olympe.dc.Ja.rb)sg(a,d,b,g,c);else{const n=M(xc(new olympe.dc.ga(olympe.dc.ga.ja.tm,b,[e]),c),p=>{p&&(h.error(p.message),k())});a.G.send(n)}return k})}
|
|
614
614
|
function tg(a){const b=olympe.dc.ga.ja.sm,c=(d,e)=>Be(d,f=>{Pc(a.F,Array.from(f.ee()).filter(g=>g.se()).map(g=>g.tag()));a.F.bf(f,e)},e);a.G.C(olympe.dc.ga.ja.QUERY_RESULT,(d,{i:e,r:f,s:g})=>{d=c(f,g);null===d?(d=a.C,Re(d,e,`Error while deserialization of QueryResult for query ${e}`,d.G,`Query result of query ${e} has no associated handler in the datacloud`)):(f=a.C,Re(f,e,d,f.G,`Query result of query ${e} has no associated handler in the datacloud`))});a.G.C(b,(d,{i:e,r:f,s:g})=>{if(d=c(f,g))if(e=
|
|
615
615
|
a.ta.G.get(e))f=olympe.D.Ya(e.C),f&&f.hash===d.hash||(Pc(e.F,null,ze(d)),e.C.update(d))});Oc(a.F,()=>{var d=a.ta;for(const e of d.V)$f(d,e);d.V.clear()})}
|
|
616
616
|
function sg(a,b,c,d,e){const f=new olympe.dc.da.rq(c);Fe(f,()=>{var p=a.ta;p.G.has(b)&&p.V.add(b)});d.G=f;let g=(p,q)=>{p?a.L.debug(`New result tuple for query ${b}, ${q}`):a.L.debug(`Removed result tuple for query ${b}, ${q}`)};d=c.C;const h=d.reduce((p,q)=>{p.push(q.F(p[p.length-1]));return p},[0]);for(let p=d.length-1;0<=p;p--)g=d[p].observe(f,h[p],g);const k=a.F.view,l=c.G,n=uc(k,l,(p,q)=>{p?f.insert(q,0,null):f.remove(q,0,null);g(p,q,null,b)});e.vc(()=>vc(k,l,n));$f(a.ta,b)}
|