Notion
0.2.0-preview0895
Module for interaction with Notion based on classes
Minimum PowerShell version
7.0
Installation Options
Owners
Copyright
(c) Thomas Subotitsch, Fabian Franz Steiner. All rights reserved.
Package Details
Author(s)
- Thomas Subotitsch Fabian Franz Steiner
Tags
Functions
Add-NotionHeaderToBlock New-NotionHeader New-NotionTable New-NotionTableRow Add-NotionBlockToPage Get-NotionBlock Get-NotionBlockChildren Remove-NotionBlock Update-NotionBlock Add-NotionDatabaseProperty New-NotionDatabaseProperty Remove-NotionDatabaseProperty Add-NotionPageToDatabase Edit-NotionDatabase Get-NotionDatabase Move-NotionDatabaseToArchive New-NotionDatabase Remove-NotionDatabase Restore-NotionDatabase Get-NotionPageProperty Update-NotionPageProperty Get-NotionPage Get-NotionPageChildren Move-NotionPageToArchive New-NotionPage Remove-NotionPage Restore-NotionPage Get-NotionUser Connect-Notion ConvertTo-NotionObject Disconnect-Notion Invoke-NotionApiCall zz1_Type_Accelerator zz2_Type_Accelerator
Dependencies
This module has no dependencies.
Release Notes
## [0.2.0-preview0895] - 2025-03-24
### Added
- Documentation to Classes: Comment, Emoji, File, General, Page, Parent, User
- Documentation to Classes: Block, Database, DatabaseProperties
- Documentation to Classes: add relation between classes, in dedicated docs folder
- Documentation to all PSCmdlets
- prepared automatic Wiki Generation
- Add-NotionPageToDatabase, Move-NotionPageToArchive: prepared
- Get-NotionPageProperty: prepared and partly tested
- Update-NotionPageProperty: prepared
- Add-NotionDatabaseProperty, Remove-NotionDatabaseProperty, Move-NotionPageToArchive: prepared
- Add-NotionBlockToPage: prepared
- Get-NotionPageChildren: implemented
- Remove-NotionBlock: function to remove / trash a block
- Update-NotionBlock: function to update a block
- New-NotionTable: function to create a new table
- New-NotionTableRow: function to create a new table row
### Changed
- Module Manifest: Added Metadata
- Filenames: changed to match the cmdlet names
- ConvertTo-NotionObject: include property_item
- Disconnect-Notion: improve Confirm message
- Restore-NotionPage, Restore-NotionDatabase: add archived = $false, to ensure restore is possible from both trash and archive
- For changes in existing functionality.
- Remove-NotionPage: specify output type, fix code
- Get-NotionBlockChildren: refactored
### Removed
- page, Get-NotionPage: remove children
- TableCell: was only a wrongly implemented wrapper for rich_text
### Fixed
- Add-NotionHeaderToBlock: fix parameter types
- New-NotionHeader: switch to factory method of notion_heading_block
- block: fix ConvertFrom-Object
- Column List: fix ConvertFrom-Object
- Numbered List item: Fix constructors and color conversion to enum
- paragraph: added color in ConvertFrom-Object
- to_do: Fixed ConvertFrom-Object, added default constructor
- Heading: Adjusted implementation to match API Schema
- Remove-NullValuesFromObject: fix DateTime objects and remove empty arrays, include handling for nested arrays
- notion_table_block: implemented according to API Schema
- notion_table_row_block: implemented according to API Schema
- rich_text_text: handle primitive types correctly
### Security
- API Variables: switch from global to script scope
FileList
- Notion.nuspec
- Notion.psm1
- Notion.psd1
- en-US\about_Notion.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
0.2.0-previe... (current version) | 3 | 3/24/2025 |
0.2.0-previe... | 3 | 3/24/2025 |
0.2.0-previe... | 3 | 3/24/2025 |
0.2.0-previe... | 3 | 3/2/2025 |
0.2.0-previe... | 3 | 3/2/2025 |
0.2.0-previe... | 3 | 2/22/2025 |
0.2.0-previe... | 3 | 2/22/2025 |