Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Modules #2344

Merged
merged 42 commits into from
Feb 18, 2025
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
5f87ca3
feat: Modules
harshilp24 Jun 25, 2024
7e3381d
..
harshilp24 Jun 25, 2024
11a8449
user-test-fixes
harshilp24 Jun 26, 2024
977322e
...
harshilp24 Jun 27, 2024
e93a601
..
harshilp24 Jul 2, 2024
e979cde
...
harshilp24 Jul 3, 2024
e54214c
...
harshilp24 Jul 4, 2024
f7b538a
..
harshilp24 Jul 4, 2024
72714e7
..
harshilp24 Jul 4, 2024
d25e62b
...
harshilp24 Jul 4, 2024
d2d0a5e
...
harshilp24 Jul 4, 2024
b24a3b1
..
harshilp24 Jul 8, 2024
9a2be93
...
harshilp24 Jul 9, 2024
e92d8ac
...
harshilp24 Jul 9, 2024
c878729
custom-login
harshilp24 Jul 11, 2024
c65f920
..
harshilp24 Jul 11, 2024
4a19340
..
harshilp24 Jul 11, 2024
9dd6319
..
harshilp24 Jul 11, 2024
6d76292
..
harshilp24 Jul 11, 2024
865046c
...
harshilp24 Jul 11, 2024
440e79d
..
harshilp24 Jul 12, 2024
9b09195
..
harshilp24 Jul 16, 2024
94d962d
...
harshilp24 Jul 16, 2024
5fbc0de
..
harshilp24 Jul 16, 2024
993ceed
...
harshilp24 Jul 16, 2024
abd71b1
custom-auth
harshilp24 Jul 16, 2024
d81aef6
..
harshilp24 Jul 16, 2024
f23de01
..
harshilp24 Jul 16, 2024
eb153db
...
harshilp24 Jul 22, 2024
d1da14d
..
harshilp24 Jul 22, 2024
8e367a2
..
harshilp24 Jul 22, 2024
7c50c7f
..
harshilp24 Jul 23, 2024
688b36c
...
harshilp24 Jul 24, 2024
ac1cad4
overview
harshilp24 Jul 24, 2024
fe7d53c
..
harshilp24 Jul 24, 2024
a975fae
...
harshilp24 Jul 28, 2024
d66b5c3
...
harshilp24 Jul 28, 2024
4349a3c
..
harshilp24 Aug 5, 2024
e6be569
callout
harshilp24 Jan 20, 2025
e2acb14
Merge branch 'main' into new-package-2
harshilp24 Jan 20, 2025
de545a0
..
harshilp24 Jan 20, 2025
afcc645
..
harshilp24 Jan 20, 2025
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
Prev Previous commit
Next Next commit
...
harshilp24 committed Jul 16, 2024
commit 993ceedbb93742b2df0f8c1b7b78b031c2b3f557
4 changes: 2 additions & 2 deletions website/docs/packages/reference/package.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Module

Modules in Appsmith are integral components of a Package tailored. They are reusable components containing queries and JSOjects that can yield results across multiple applications within the same workspace.
Modules in Appsmith are integral components of a Package tailored. They are reusable components containing queries and JSObjects that can yield results across multiple applications within the same workspace.

This page provides information on the various properties and settings available within modules.

@@ -18,7 +18,7 @@ The property allows you to create dynamic inputs for queries, which enables you

- To access JS module data in the query module, create input parameters and use them inside the query, like `{{inputs.id}}`. You can pass parameters at runtime using `run()`, like `{{ updateLogin.run({ id: user.id }) }}`.

- To access app data in the query module, create input parameters and use them inside the query. Pass data from the module instance on the app side.
- To access app data in the query module, create input parameters and use them inside the query. Pass data from the module instance on the app side. See [Module Instance](/packages/reference/query-module).



3 changes: 2 additions & 1 deletion website/docs/packages/reference/query-module.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@



When you incorporate a module from the package into your application, you create a module instance. You can create multiple instances of the same package, each with different settings and configurations. Instances are named sequentially (e.g., `productutil1`, `productutil2`), allowing for customized functionalities.

Check failure on line 5 in website/docs/packages/reference/query-module.md

GitHub Actions / run_vale

[vale] reported by reviewdog 🐶 [Google.Latin] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Google.Latin] Use 'for example' instead of 'e.g.,'.", "location": {"path": "website/docs/packages/reference/query-module.md", "range": {"start": {"line": 5, "column": 239}}}, "severity": "ERROR"}

This page provides information about the module settings and properties available within the app, enabling you to configure the query and JS modules.

@@ -35,7 +35,7 @@
You cannot edit the input name or query configuration from the App; you can only pass values to the available inputs.

<ZoomImage
src="/img/inputs_mod_app.png"
src="/img/query-module-instance.png"
alt="Inputs image"
caption=""
/>
@@ -50,6 +50,7 @@
{{appsmith.user.email}}
```

For more information on how to read the dynamic data, see [Module](/packages/reference/package).

</dd>

Binary file added website/static/img/query-module-instance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading