Release Core v0.1.34 with JMAP mail contracts
Module Package Release / publish-packages (push) Successful in 14s
Module Package Release / publish-packages (push) Successful in 14s
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-core"
|
name = "govoplan-core"
|
||||||
version = "0.1.33"
|
version = "0.1.34"
|
||||||
description = "Reusable GovOPlaN platform core, access, tenancy, and RBAC components."
|
description = "Reusable GovOPlaN platform core, access, tenancy, and RBAC components."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
Generated
+3
-3
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/core-webui",
|
"name": "@govoplan/core-webui",
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@govoplan/core-webui",
|
"name": "@govoplan/core-webui",
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@govoplan/access-webui": "file:../../govoplan-access/webui",
|
"@govoplan/access-webui": "file:../../govoplan-access/webui",
|
||||||
"@govoplan/addresses-webui": "file:../../govoplan-addresses/webui",
|
"@govoplan/addresses-webui": "file:../../govoplan-addresses/webui",
|
||||||
@@ -475,7 +475,7 @@
|
|||||||
},
|
},
|
||||||
"../../govoplan-mail/webui": {
|
"../../govoplan-mail/webui": {
|
||||||
"name": "@govoplan/mail-webui",
|
"name": "@govoplan/mail-webui",
|
||||||
"version": "0.1.21",
|
"version": "0.1.22",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5.7.2"
|
"typescript": "^5.7.2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/core-webui",
|
"name": "@govoplan/core-webui",
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@govoplan/core-webui",
|
"name": "@govoplan/core-webui",
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@govoplan/access-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-access.git#v0.1.19",
|
"@govoplan/access-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-access.git#v0.1.19",
|
||||||
"@govoplan/admin-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-admin.git#v0.1.18",
|
"@govoplan/admin-webui": "git+ssh://git@git.add-ideas.de/GovOPlaN/govoplan-admin.git#v0.1.18",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/core-webui",
|
"name": "@govoplan/core-webui",
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/core-webui",
|
"name": "@govoplan/core-webui",
|
||||||
"version": "0.1.33",
|
"version": "0.1.34",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export type MailProfilePatternRules = Partial<Record<MailProfilePatternKey, stri
|
|||||||
|
|
||||||
export type MailConnectionTestResponse = {
|
export type MailConnectionTestResponse = {
|
||||||
ok: boolean;
|
ok: boolean;
|
||||||
protocol: "smtp" | "imap";
|
protocol: "smtp" | "imap" | "jmap" | "pop3";
|
||||||
host?: string | null;
|
host?: string | null;
|
||||||
port?: number | null;
|
port?: number | null;
|
||||||
security?: MailSecurity | string | null;
|
security?: MailSecurity | string | null;
|
||||||
@@ -52,7 +52,7 @@ export type MailImapFolderResponse = {
|
|||||||
|
|
||||||
export type MailImapFolderListResponse = {
|
export type MailImapFolderListResponse = {
|
||||||
ok: boolean;
|
ok: boolean;
|
||||||
protocol: "imap";
|
protocol: "imap" | "jmap";
|
||||||
host?: string | null;
|
host?: string | null;
|
||||||
port?: number | null;
|
port?: number | null;
|
||||||
security?: MailSecurity | string | null;
|
security?: MailSecurity | string | null;
|
||||||
@@ -69,6 +69,7 @@ export type MailImapFolderListResponse = {
|
|||||||
export const mailProfilePatternKeys = [
|
export const mailProfilePatternKeys = [
|
||||||
"smtp_hosts",
|
"smtp_hosts",
|
||||||
"imap_hosts",
|
"imap_hosts",
|
||||||
|
"jmap_hosts",
|
||||||
"envelope_senders",
|
"envelope_senders",
|
||||||
"from_headers",
|
"from_headers",
|
||||||
"recipient_domains"
|
"recipient_domains"
|
||||||
@@ -82,11 +83,13 @@ export const mailProfilePolicyLimitKeys = [
|
|||||||
"imap_credentials.inherit",
|
"imap_credentials.inherit",
|
||||||
"whitelist.smtp_hosts",
|
"whitelist.smtp_hosts",
|
||||||
"whitelist.imap_hosts",
|
"whitelist.imap_hosts",
|
||||||
|
"whitelist.jmap_hosts",
|
||||||
"whitelist.envelope_senders",
|
"whitelist.envelope_senders",
|
||||||
"whitelist.from_headers",
|
"whitelist.from_headers",
|
||||||
"whitelist.recipient_domains",
|
"whitelist.recipient_domains",
|
||||||
"blacklist.smtp_hosts",
|
"blacklist.smtp_hosts",
|
||||||
"blacklist.imap_hosts",
|
"blacklist.imap_hosts",
|
||||||
|
"blacklist.jmap_hosts",
|
||||||
"blacklist.envelope_senders",
|
"blacklist.envelope_senders",
|
||||||
"blacklist.from_headers",
|
"blacklist.from_headers",
|
||||||
"blacklist.recipient_domains"
|
"blacklist.recipient_domains"
|
||||||
|
|||||||
+13
-3
@@ -847,6 +847,16 @@ export type MailImapTransportSettings = MailTransportSettings & {
|
|||||||
folder_mappings?: MailImapFolderMappings | null;
|
folder_mappings?: MailImapFolderMappings | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MailJmapTransportSettings = {
|
||||||
|
session_url: string;
|
||||||
|
account_id?: string | null;
|
||||||
|
auth_scheme?: "bearer" | "basic";
|
||||||
|
timeout_seconds?: number | null;
|
||||||
|
max_response_bytes?: number | null;
|
||||||
|
max_body_value_bytes?: number | null;
|
||||||
|
allowed_api_origins?: string[];
|
||||||
|
};
|
||||||
|
|
||||||
export type MailServerProfileCredentials = {
|
export type MailServerProfileCredentials = {
|
||||||
smtp?: MailTransportCredentials | null;
|
smtp?: MailTransportCredentials | null;
|
||||||
imap?: MailTransportCredentials | null;
|
imap?: MailTransportCredentials | null;
|
||||||
@@ -883,9 +893,9 @@ export type MailServerEndpoint = {
|
|||||||
id: string;
|
id: string;
|
||||||
profile_id: string;
|
profile_id: string;
|
||||||
tenant_id?: string | null;
|
tenant_id?: string | null;
|
||||||
protocol: "smtp" | "imap";
|
protocol: "smtp" | "imap" | "jmap" | "pop3";
|
||||||
name: string;
|
name: string;
|
||||||
config: MailTransportSettings | MailImapTransportSettings;
|
config: MailTransportSettings | MailImapTransportSettings | MailJmapTransportSettings;
|
||||||
scope_type: MailProfileScope;
|
scope_type: MailProfileScope;
|
||||||
scope_id?: string | null;
|
scope_id?: string | null;
|
||||||
inherit_to_lower_scopes: boolean;
|
inherit_to_lower_scopes: boolean;
|
||||||
@@ -922,7 +932,7 @@ export type MailCredentialPolicy = {
|
|||||||
allow_override?: boolean | null;
|
allow_override?: boolean | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MailProfilePatternKey = "smtp_hosts" | "imap_hosts" | "envelope_senders" | "from_headers" | "recipient_domains";
|
export type MailProfilePatternKey = "smtp_hosts" | "imap_hosts" | "jmap_hosts" | "envelope_senders" | "from_headers" | "recipient_domains";
|
||||||
|
|
||||||
export type MailProfilePolicy = {
|
export type MailProfilePolicy = {
|
||||||
allowed_profile_ids?: string[] | null;
|
allowed_profile_ids?: string[] | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user