Notion.psd1
# # Module manifest for module 'Notion' # # Generated by: Thomas Subotitsch # # Generated on: 24.06.2024 # @{ # Script module or binary module file associated with this manifest. RootModule = 'Notion.psm1' # Version number of this module. ModuleVersion = '0.6.0' # Supported PSEditions # CompatiblePSEditions = @() # ID used to uniquely identify this module GUID = '6e2df8e9-be56-4be0-8c9b-fbc0af08d698' # Author of this module Author = 'Thomas Subotitsch, Fabian Franz Steiner' # Company or vendor of this module CompanyName = '' # Copyright statement for this module Copyright = '(c) Thomas Subotitsch, Fabian Franz Steiner. All rights reserved.' # Description of the functionality provided by this module Description = 'Module for interaction with Notion based on classes' # Minimum version of the PowerShell engine required by this module PowerShellVersion = '7.0' # Name of the PowerShell host required by this module # PowerShellHostName = '' # Minimum version of the PowerShell host required by this module # PowerShellHostVersion = '' # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # DotNetFrameworkVersion = '' # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. # ClrVersion = '' # Processor architecture (None, X86, Amd64) required by this module # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module RequiredModules = @() # Assemblies that must be loaded prior to importing this module # RequiredAssemblies = @() # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module # FormatsToProcess = @() # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess # NestedModules = @() # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. FunctionsToExport = @('New-NotionRichText','New-NotionRichTextAnnotation','New-NotionBookmarkBlock','New-NotionBreadcrumbBlock','New-NotionBulletedListItemBlock','New-NotionCalloutBlock','New-NotionChildPageBlock','New-NotionChildDatabaseBlock','New-NotionImageBlock','New-NotionPdfBlock','New-NotionVideoBlock','New-NotionCodeBlock','New-NotionColumnBlock','New-NotionColumnListBlock','New-NotionDividerBlock','New-NotionEmbedBlock','New-NotionEquationBlock','New-NotionFileBlock','Add-NotionHeaderToBlock','New-NotionHeadingBlock','New-NotionLinkPreviewBlock','New-NotionNumberedListItemBlock','New-NotionParagraphBlock','New-NotionQuoteBlock','New-NotionSyncedBlock','New-NotionTableBlock','New-NotionTableOfContentsBlock','New-NotionTableRowBlock','New-NotionToDoBlock','New-NotionToggleBlock','Add-NotionBlockToPage','Get-NotionBlock','Get-NotionBlockChildren','New-NotionBlock','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') # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() # Variables to export from this module VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. AliasesToExport = @('Add-NotionHeaderToPage','Add-NotionHeadingToBlock','Add-NotionHeadingToPage','New-NotionHeading') # DSC resources to export from this module DscResourcesToExport = @() # List of all modules packaged with this module # ModuleList = @() # List of all files packaged with this module # FileList = @() # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. Tags = @('Notion', 'API', 'Classes') # A URL to the license for this module. # LicenseUri = '' # A URL to the main website for this project. ProjectUri = 'https://github.com/fasteiner/Notion' # A URL to an icon representing this module. IconUri = 'https://raw.githubusercontent.com/fasteiner/Notion/main/TSNotion.png' # ReleaseNotes of this module ReleaseNotes = @('## [0.6.0] - 2025-06-16 ### Removed - **Development Container Configuration** - `.devcontainer/devcontainer.json`: Removed the Dev Container configuration that defined the base image, development tools, VSCode extensions, and user settings. - `.devcontainer/setup.ps1`: Removed setup script that installed PowerShell modules, configured PATH, installed GitVersion, and triggered an initial module build. ### Changed - **Development Environment Settings** - `.vscode/profile.ps1`: Removed conditional directory check to always set the working location to the Notion module path. - `.vscode/settings.json`: Removed the custom integrated terminal profile configuration for Linux, including associated settings. - **Build Script Behavior** - `build.ps1`: Simplified pre-build alias setup by always setting `gitversion` as an alias for `dotnet-gitversion` without checking for its existence. - `build.yaml`: Added `Create_ChangeLog_GitHub_PR` task to `publish` stage, which updates the versionnumber in `CHANGELOG.md` based on the latest GitHub release tag. - **Class Definitions** - `source/Classes/03_File/01_notion_file.ps1`: Removed the unsupported `"file_upload"` case in both `Create` and `ConvertFromObject` methods to streamline error handling. - `source/Classes/03_File/03_external_file.ps1`: Removed an unused constructor that accepted only a URL for `notion_external_file`. - **Block Type Handling** - `source/Classes/Block/04_Block.ps1`: Removed redundant check that returned early if the input was already a `notion_block`. - **Paragraph Block Structure** - `source/Classes/Block/23_Paragraph.ps1`: Removed constructors that took color as a second argument; simplified structure initialization. - **PDF Block Structure** - `source/Classes/Block/24_PDF.ps1`: Refactored `notion_PDF_block` to delegate PDF content to a new `PDF_structure` class, allowing rich text captions and improving type safety. - **Quote Block Structure** - `source/Classes/Block/25_Quote.ps1`: Simplified constructors and improved type parsing; `ConvertFromObject` now uses rich text conversion per element. - **Synced Block Structure** - `source/Classes/Block/26_Synced_Block.ps1`: Removed redundant `Synced_Block_Duplicate_structure` class and streamlined logic to handle synced blocks more directly. - **Table Row Logic** - `source/Classes/Block/27.2_TableRow.ps1`: Improved logic for adding cells by simplifying conditional checks and using `ForEach` directly. - **Table of Contents Block** - `source/Classes/Block/30_Table_Of_Contents.ps1`: Simplified constructor logic and clarified enum parsing. - **To-do Block Structure** - `source/Classes/Block/31_To_do.ps1`: Updated to use `ForEach` for rich text conversion and clarified constructor argument types. - **Toggle Block Structure** - `source/Classes/Block/32_Toggle.ps1`: Rewrote constructors to clarify expected types and simplify text conversion logic. ### Removed - **Cmdlet Scripts (Legacy Structure)** - Removed legacy cmdlet scripts for various Notion blocks (e.g., `New-NotionFileBlock`, `New-NotionQuoteBlock`, etc.) that existed outside of the standardized `Cmds` directory structure. These were replaced with stubbed or restructured versions in `source/Public/Block/Cmds/`. ','## [0.6.0] - 2025-06-16 ### Added - **`.devcontainer/devcontainer.json`** - Added VS Code extensions: `github.vscode-github-actions` and `shd101wyy.markdown-preview-enhanced` for enhanced GitHub workflow support and markdown preview. - **`.vscode/extensions.json`** - Added the same extensions as above to the recommended list. - **`.github/templates/README.template.md`** - Introduced a new README template that dynamically includes `README.md`, `CONTRIBUTING.md`, the Wiki homepage, and `CHANGELOG.md`. - **`.github/workflows/generate-project-page.yml`** - Created a new GitHub Actions workflow to generate and deploy a project page from a feature branch. - Steps include: - Checkout and metadata actions. - Rendering dynamic README content. - Preparing and generating a Jekyll-based site. - Publishing to GitHub Pages using `peaceiris/actions-gh-pages`. - **`GemFile`** - Added Gem dependencies for GitHub Pages site: - `jekyll`, `minima`, `csv`, `logger`, and `base64`. - **`jekyll_config.yml`** - Defined Jekyll site settings including theme and SEO plugin. ### Changed - **`README.md`** - Replaced deprecated `<center>` HTML tag with semantic `<p align="center">` for the logo block. - Updated image path to reflect asset relocation. - **`TSNotion_mini.png`** - Removed from the project root and relocated to `assets/TSNotion_mini.png` for better directory structure. ') # Prerelease string of this module Prerelease = '' # Flag to indicate whether the module requires explicit user acceptance for install/update/save # RequireLicenseAcceptance = $false # External dependent modules of this module # ExternalModuleDependencies = @() } # End of PSData hashtable } # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. # DefaultCommandPrefix = '' } |