@anvil-works/anvil-pyright 0.0.1 → 0.0.2-canary
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.
- package/dist/anvil-typeshed/TODOS.md +70 -0
- package/dist/anvil-typeshed/client/anvil/__init__.pyi +1291 -0
- package/dist/anvil-typeshed/client/anvil/__pycache__/server.cpython-39.pyc +0 -0
- package/dist/anvil-typeshed/client/anvil/email.pyi +152 -0
- package/dist/anvil-typeshed/client/anvil/facebook/__init__.pyi +8 -0
- package/dist/anvil-typeshed/client/anvil/facebook/auth.pyi +30 -0
- package/dist/anvil-typeshed/client/anvil/google/__init__.pyi +11 -0
- package/dist/anvil-typeshed/client/anvil/google/auth.pyi +37 -0
- package/dist/anvil-typeshed/client/anvil/google/drive.pyi +98 -0
- package/dist/anvil-typeshed/client/anvil/google/sheets.pyi +98 -0
- package/dist/anvil-typeshed/client/anvil/http.pyi +66 -0
- package/dist/anvil-typeshed/client/anvil/image.pyi +30 -0
- package/dist/anvil-typeshed/client/anvil/js/__init__.pyi +143 -0
- package/dist/anvil-typeshed/client/anvil/js/window/__init__.pyi +2935 -0
- package/dist/anvil-typeshed/client/anvil/media.pyi +46 -0
- package/dist/anvil-typeshed/client/anvil/microsoft/__init__.pyi +8 -0
- package/dist/anvil-typeshed/client/anvil/microsoft/auth.pyi +34 -0
- package/dist/anvil-typeshed/client/anvil/mpl_util.pyi +29 -0
- package/dist/anvil-typeshed/client/anvil/plotly_templates.pyi +15 -0
- package/dist/anvil-typeshed/client/anvil/saml/__init__.pyi +8 -0
- package/dist/anvil-typeshed/client/anvil/saml/auth.pyi +24 -0
- package/dist/anvil-typeshed/client/anvil/secrets.pyi +22 -0
- package/dist/anvil-typeshed/client/anvil/server.pyi +376 -0
- package/dist/anvil-typeshed/client/anvil/stripe.pyi +23 -0
- package/dist/anvil-typeshed/client/anvil/tables/__init__.pyi +297 -0
- package/dist/anvil-typeshed/client/anvil/tables/query.pyi +88 -0
- package/dist/anvil-typeshed/client/anvil/tz.pyi +92 -0
- package/dist/anvil-typeshed/client/anvil/users/__init__.pyi +191 -0
- package/dist/anvil-typeshed/client/anvil/users/mfa.pyi +76 -0
- package/dist/anvil-typeshed/client/stripe/__init__.pyi +8 -0
- package/dist/anvil-typeshed/client/stripe/checkout.pyi +67 -0
- package/dist/anvil-typeshed/server/anvil/__init__.pyi +148 -0
- package/dist/anvil-typeshed/server/anvil/email.pyi +188 -0
- package/dist/anvil-typeshed/server/anvil/facebook/__init__.pyi +8 -0
- package/dist/anvil-typeshed/server/anvil/facebook/auth.pyi +27 -0
- package/dist/anvil-typeshed/server/anvil/files.pyi +53 -0
- package/dist/anvil-typeshed/server/anvil/google/__init__.pyi +11 -0
- package/dist/anvil-typeshed/server/anvil/google/auth.pyi +31 -0
- package/dist/anvil-typeshed/server/anvil/google/drive.pyi +98 -0
- package/dist/anvil-typeshed/server/anvil/google/mail.pyi +24 -0
- package/dist/anvil-typeshed/server/anvil/google/sheets.pyi +98 -0
- package/dist/anvil-typeshed/server/anvil/http.pyi +66 -0
- package/dist/anvil-typeshed/server/anvil/image.pyi +30 -0
- package/dist/anvil-typeshed/server/anvil/media.pyi +32 -0
- package/dist/anvil-typeshed/server/anvil/microsoft/__init__.pyi +8 -0
- package/dist/anvil-typeshed/server/anvil/microsoft/auth.pyi +31 -0
- package/dist/anvil-typeshed/server/anvil/mpl_util.pyi +29 -0
- package/dist/anvil-typeshed/server/anvil/pdf.pyi +61 -0
- package/dist/anvil-typeshed/server/anvil/plotly_templates.pyi +15 -0
- package/dist/anvil-typeshed/server/anvil/saml/__init__.pyi +8 -0
- package/dist/anvil-typeshed/server/anvil/saml/auth.pyi +21 -0
- package/dist/anvil-typeshed/server/anvil/secrets.pyi +22 -0
- package/dist/anvil-typeshed/server/anvil/server.pyi +470 -0
- package/dist/anvil-typeshed/server/anvil/stripe.pyi +23 -0
- package/dist/anvil-typeshed/server/anvil/tables/__init__.pyi +319 -0
- package/dist/anvil-typeshed/server/anvil/tables/query.pyi +88 -0
- package/dist/anvil-typeshed/server/anvil/tz.pyi +92 -0
- package/dist/anvil-typeshed/server/anvil/users/__init__.pyi +83 -0
- package/dist/anvil-typeshed/server/anvil/users/mfa.pyi +65 -0
- package/dist/anvil-typeshed/server/stripe/__init__.pyi +8 -0
- package/dist/anvil-typeshed/server/stripe/checkout.pyi +9 -0
- package/dist/anvil-typeshed/source/anvil/__init__.pyi +1306 -0
- package/dist/anvil-typeshed/source/anvil/email.pyi +188 -0
- package/dist/anvil-typeshed/source/anvil/facebook/__init__.pyi +4 -0
- package/dist/anvil-typeshed/source/anvil/facebook/auth.pyi +28 -0
- package/dist/anvil-typeshed/source/anvil/files.pyi +50 -0
- package/dist/anvil-typeshed/source/anvil/google/__init__.pyi +7 -0
- package/dist/anvil-typeshed/source/anvil/google/auth.pyi +35 -0
- package/dist/anvil-typeshed/source/anvil/google/drive.pyi +94 -0
- package/dist/anvil-typeshed/source/anvil/google/mail.pyi +21 -0
- package/dist/anvil-typeshed/source/anvil/google/sheets.pyi +94 -0
- package/dist/anvil-typeshed/source/anvil/http.pyi +62 -0
- package/dist/anvil-typeshed/source/anvil/image.pyi +26 -0
- package/dist/anvil-typeshed/source/anvil/js/__init__.pyi +140 -0
- package/dist/anvil-typeshed/source/anvil/js/window/__init__.pyi +2932 -0
- package/dist/anvil-typeshed/source/anvil/media.pyi +62 -0
- package/dist/anvil-typeshed/source/anvil/microsoft/__init__.pyi +4 -0
- package/dist/anvil-typeshed/source/anvil/microsoft/auth.pyi +32 -0
- package/dist/anvil-typeshed/source/anvil/mpl_util.pyi +25 -0
- package/dist/anvil-typeshed/source/anvil/pdf.pyi +58 -0
- package/dist/anvil-typeshed/source/anvil/plotly_templates.pyi +11 -0
- package/dist/anvil-typeshed/source/anvil/saml/__init__.pyi +4 -0
- package/dist/anvil-typeshed/source/anvil/saml/auth.pyi +22 -0
- package/dist/anvil-typeshed/source/anvil/secrets.pyi +18 -0
- package/dist/anvil-typeshed/source/anvil/server.pyi +511 -0
- package/dist/anvil-typeshed/source/anvil/stripe.pyi +19 -0
- package/dist/anvil-typeshed/source/anvil/tables/__init__.pyi +319 -0
- package/dist/anvil-typeshed/source/anvil/tables/query.pyi +84 -0
- package/dist/anvil-typeshed/source/anvil/tz.pyi +88 -0
- package/dist/anvil-typeshed/source/anvil/users/__init__.pyi +196 -0
- package/dist/anvil-typeshed/source/anvil/users/mfa.pyi +74 -0
- package/dist/anvil-typeshed/source/stripe/__init__.pyi +4 -0
- package/dist/anvil-typeshed/source/stripe/checkout.pyi +65 -0
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Missing Anvil Stubs
|
|
2
|
+
|
|
3
|
+
This document tracks Anvil modules and functions that have documentation but are not yet included in our type stubs.
|
|
4
|
+
|
|
5
|
+
## Completed Modules
|
|
6
|
+
|
|
7
|
+
The following modules have been implemented:
|
|
8
|
+
|
|
9
|
+
### Core Modules
|
|
10
|
+
- ✅ `anvil` (main module) - Components, Media, Notification, etc.
|
|
11
|
+
- ✅ `anvil.server` - Server functions, Capabilities, Background Tasks, CallContext
|
|
12
|
+
- ✅ `anvil.tables` - Data tables, Row, SearchIterator, Query operators
|
|
13
|
+
- ✅ `anvil.tables.query` - Query operators (like, ilike, between, etc.)
|
|
14
|
+
- ✅ `anvil.users` - User authentication and management
|
|
15
|
+
- ✅ `anvil.users.mfa` - Multi-factor authentication
|
|
16
|
+
- ✅ `anvil.email` - Email sending
|
|
17
|
+
|
|
18
|
+
### Media & Files
|
|
19
|
+
- ✅ `anvil.media` - Media utilities (TempFile, TempUrl)
|
|
20
|
+
- ✅ `anvil.image` - Image processing
|
|
21
|
+
- ✅ `anvil.pdf` - PDF generation (server-only)
|
|
22
|
+
- ✅ `anvil.files` - Data Files Service (server-only)
|
|
23
|
+
|
|
24
|
+
### HTTP & Networking
|
|
25
|
+
- ✅ `anvil.http` - HTTP client
|
|
26
|
+
|
|
27
|
+
### Authentication Integrations
|
|
28
|
+
- ✅ `anvil.google.auth` - Google authentication
|
|
29
|
+
- ✅ `anvil.google.drive` - Google Drive integration
|
|
30
|
+
- ✅ `anvil.google.sheets` - Google Sheets integration
|
|
31
|
+
- ✅ `anvil.google.mail` - Gmail integration (server-only)
|
|
32
|
+
- ✅ `anvil.microsoft.auth` - Microsoft authentication
|
|
33
|
+
- ✅ `anvil.facebook.auth` - Facebook authentication
|
|
34
|
+
- ✅ `anvil.saml.auth` - SAML authentication
|
|
35
|
+
|
|
36
|
+
### Other Integrations
|
|
37
|
+
- ✅ `anvil.stripe` - Stripe integration (Customer)
|
|
38
|
+
- ✅ `stripe.checkout` - Stripe Checkout (client-only)
|
|
39
|
+
|
|
40
|
+
### Utilities
|
|
41
|
+
- ✅ `anvil.tz` - Timezone handling
|
|
42
|
+
- ✅ `anvil.secrets` - Secrets management
|
|
43
|
+
- ✅ `anvil.js` - JavaScript interop (client-only)
|
|
44
|
+
- ✅ `anvil.mpl_util` - Matplotlib utilities
|
|
45
|
+
- ✅ `anvil.plotly_templates` - Plotly templates
|
|
46
|
+
|
|
47
|
+
## Not Documented in index.json
|
|
48
|
+
|
|
49
|
+
The following items from the original TODOS were not found in the Anvil documentation index.json:
|
|
50
|
+
|
|
51
|
+
### Modules
|
|
52
|
+
- `anvil.history` - Not documented in index.json
|
|
53
|
+
- `anvil.regex` - Not needed (user requested to skip)
|
|
54
|
+
- `anvil.live_object_backend` - Not needed (user requested to skip)
|
|
55
|
+
|
|
56
|
+
### Functions
|
|
57
|
+
- `anvil.users.get_user_with_token()` - Not in index.json
|
|
58
|
+
- `anvil.users.create_user()` - Not in index.json
|
|
59
|
+
- `anvil.tables.batch_update()` - Not in index.json
|
|
60
|
+
- `anvil.tables.batch_delete()` - Not in index.json
|
|
61
|
+
- `anvil.LazyMedia` - Not in index.json
|
|
62
|
+
|
|
63
|
+
## Notes
|
|
64
|
+
|
|
65
|
+
- When adding new modules, follow the pattern in existing stubs
|
|
66
|
+
- Use `# @server-only` / `# @end-server-only` markers for server-only code
|
|
67
|
+
- Use `# @client-only` / `# @end-client-only` markers for client-only code
|
|
68
|
+
- Use `# @server-only-file` for entire files that are server-only
|
|
69
|
+
- Use `# @client-only-file` for entire files that are client-only
|
|
70
|
+
- Always include `[Anvil Docs](url)` in docstrings when a helpLink is available
|