@objectstack/spec 0.1.2 → 0.3.0
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/README.md +127 -5
- package/dist/ai/index.d.ts +14 -0
- package/dist/ai/index.d.ts.map +1 -0
- package/dist/ai/index.js +29 -0
- package/dist/ai/model-registry.zod.d.ts +1389 -0
- package/dist/ai/model-registry.zod.d.ts.map +1 -0
- package/dist/ai/model-registry.zod.js +164 -0
- package/dist/ai/nlq.zod.d.ts +1126 -0
- package/dist/ai/nlq.zod.d.ts.map +1 -0
- package/dist/ai/nlq.zod.js +246 -0
- package/dist/ai/rag-pipeline.zod.d.ts +1034 -0
- package/dist/ai/rag-pipeline.zod.d.ts.map +1 -0
- package/dist/ai/rag-pipeline.zod.js +244 -0
- package/dist/api/index.d.ts +9 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +24 -0
- package/dist/data/filter.zod.d.ts +295 -0
- package/dist/data/filter.zod.d.ts.map +1 -0
- package/dist/data/filter.zod.js +226 -0
- package/dist/data/index.d.ts +21 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/index.js +36 -0
- package/dist/data/query.zod.d.ts +386 -3
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +386 -3
- package/dist/data/validation.zod.d.ts +349 -0
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +395 -0
- package/dist/index.d.ts +36 -39
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +64 -47
- package/dist/system/auth-protocol.d.ts +175 -0
- package/dist/system/auth-protocol.d.ts.map +1 -0
- package/dist/system/auth-protocol.js +60 -0
- package/dist/system/auth.zod.d.ts +3319 -0
- package/dist/system/auth.zod.d.ts.map +1 -0
- package/dist/system/auth.zod.js +499 -0
- package/dist/system/datasource.zod.d.ts +118 -38
- package/dist/system/datasource.zod.d.ts.map +1 -1
- package/dist/system/datasource.zod.js +25 -6
- package/dist/system/driver.zod.d.ts +106 -0
- package/dist/system/driver.zod.d.ts.map +1 -1
- package/dist/system/driver.zod.js +47 -0
- package/dist/system/identity.zod.d.ts +234 -180
- package/dist/system/identity.zod.d.ts.map +1 -1
- package/dist/system/identity.zod.js +168 -51
- package/dist/system/index.d.ts +28 -0
- package/dist/system/index.d.ts.map +1 -0
- package/dist/system/index.js +43 -0
- package/dist/system/manifest.zod.d.ts +10 -10
- package/dist/system/organization.zod.d.ts +179 -0
- package/dist/system/organization.zod.d.ts.map +1 -0
- package/dist/system/organization.zod.js +129 -0
- package/dist/system/policy.zod.d.ts +10 -10
- package/dist/ui/action.zod.d.ts +2 -2
- package/dist/ui/dashboard.zod.d.ts +10 -10
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +3 -2
- package/dist/ui/index.d.ts +17 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +32 -0
- package/dist/ui/report.zod.d.ts +4 -32
- package/dist/ui/report.zod.d.ts.map +1 -1
- package/dist/ui/report.zod.js +3 -8
- package/dist/ui/theme.zod.d.ts +6 -6
- package/json-schema/Account.json +87 -0
- package/json-schema/AccountLinkingConfig.json +27 -0
- package/json-schema/AuthConfig.json +841 -0
- package/json-schema/AuthPluginConfig.json +28 -0
- package/json-schema/AuthStrategy.json +17 -0
- package/json-schema/AuthenticationConfig.json +601 -0
- package/json-schema/AuthenticationProvider.json +617 -0
- package/json-schema/CSRFConfig.json +31 -0
- package/json-schema/ChunkingStrategy.json +133 -0
- package/json-schema/ComparisonOperator.json +56 -0
- package/json-schema/Dashboard.json +20 -0
- package/json-schema/DashboardWidget.json +20 -0
- package/json-schema/DatabaseAdapter.json +38 -0
- package/json-schema/DatabaseMapping.json +48 -0
- package/json-schema/Datasource.json +25 -5
- package/json-schema/DatasourceCapabilities.json +25 -5
- package/json-schema/DocumentChunk.json +97 -0
- package/json-schema/DocumentLoaderConfig.json +69 -0
- package/json-schema/DocumentMetadata.json +61 -0
- package/json-schema/DriverCapabilities.json +30 -0
- package/json-schema/DriverDefinition.json +25 -5
- package/json-schema/DriverInterface.json +30 -0
- package/json-schema/EmailPasswordConfig.json +43 -0
- package/json-schema/EmbeddingModel.json +57 -0
- package/json-schema/EnterpriseAuthConfig.json +172 -0
- package/json-schema/Entity.json +55 -0
- package/json-schema/EqualityOperator.json +14 -0
- package/json-schema/FieldOperators.json +108 -0
- package/json-schema/FieldSynonymConfig.json +39 -0
- package/json-schema/FilterCondition.json +28 -0
- package/json-schema/Invitation.json +69 -0
- package/json-schema/InvitationStatus.json +15 -0
- package/json-schema/LDAPConfig.json +22 -5
- package/json-schema/MagicLinkConfig.json +21 -0
- package/json-schema/Member.json +46 -0
- package/json-schema/ModelCapability.json +47 -0
- package/json-schema/ModelConfig.json +181 -0
- package/json-schema/ModelLimits.json +45 -0
- package/json-schema/ModelPricing.json +28 -0
- package/json-schema/ModelProvider.json +19 -0
- package/json-schema/ModelRegistry.json +427 -0
- package/json-schema/ModelRegistryEntry.json +239 -0
- package/json-schema/ModelSelectionCriteria.json +50 -0
- package/json-schema/NLQAnalytics.json +106 -0
- package/json-schema/NLQFieldMapping.json +40 -0
- package/json-schema/NLQModelConfig.json +78 -0
- package/json-schema/NLQParseResult.json +252 -0
- package/json-schema/NLQRequest.json +110 -0
- package/json-schema/NLQResponse.json +288 -0
- package/json-schema/NLQTrainingExample.json +120 -0
- package/json-schema/NormalizedFilter.json +348 -0
- package/json-schema/OAuthProvider.json +66 -0
- package/json-schema/OIDCConfig.json +18 -3
- package/json-schema/Organization.json +52 -0
- package/json-schema/PasskeyConfig.json +54 -0
- package/json-schema/PromptTemplate.json +163 -0
- package/json-schema/PromptVariable.json +56 -0
- package/json-schema/QueryContext.json +72 -0
- package/json-schema/QueryFilter.json +34 -0
- package/json-schema/QueryIntent.json +21 -0
- package/json-schema/QueryTemplate.json +81 -0
- package/json-schema/RAGPipelineConfig.json +552 -0
- package/json-schema/RAGPipelineStatus.json +66 -0
- package/json-schema/RAGQueryRequest.json +64 -0
- package/json-schema/RAGQueryResponse.json +108 -0
- package/json-schema/RangeOperator.json +41 -0
- package/json-schema/RateLimitConfig.json +36 -0
- package/json-schema/Report.json +20 -26
- package/json-schema/RerankingConfig.json +34 -0
- package/json-schema/RetrievalStrategy.json +121 -0
- package/json-schema/SAMLConfig.json +17 -3
- package/json-schema/Session.json +63 -0
- package/json-schema/SessionConfig.json +56 -0
- package/json-schema/SetOperator.json +18 -0
- package/json-schema/SpecialOperator.json +18 -0
- package/json-schema/StandardAuthProvider.json +857 -0
- package/json-schema/StringOperator.json +21 -0
- package/json-schema/Timeframe.json +68 -0
- package/json-schema/TwoFactorConfig.json +40 -0
- package/json-schema/User.json +51 -0
- package/json-schema/UserFieldMapping.json +47 -0
- package/json-schema/VectorStoreConfig.json +82 -0
- package/json-schema/VectorStoreProvider.json +21 -0
- package/json-schema/VerificationToken.json +36 -0
- package/package.json +27 -1
- package/json-schema/AuthProtocol.json +0 -17
- package/json-schema/AuthProvider.json +0 -171
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/StringOperator",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"StringOperator": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"$contains": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"$startsWith": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"$endsWith": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"additionalProperties": false
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
21
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Timeframe",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Timeframe": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"absolute",
|
|
11
|
+
"relative"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"start": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Start date (ISO format)"
|
|
17
|
+
},
|
|
18
|
+
"end": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "End date (ISO format)"
|
|
21
|
+
},
|
|
22
|
+
"relative": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"unit": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"hour",
|
|
29
|
+
"day",
|
|
30
|
+
"week",
|
|
31
|
+
"month",
|
|
32
|
+
"quarter",
|
|
33
|
+
"year"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"value": {
|
|
37
|
+
"type": "integer"
|
|
38
|
+
},
|
|
39
|
+
"direction": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": [
|
|
42
|
+
"past",
|
|
43
|
+
"future",
|
|
44
|
+
"current"
|
|
45
|
+
],
|
|
46
|
+
"default": "past"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"unit",
|
|
51
|
+
"value"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"text": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Original timeframe text"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"type",
|
|
62
|
+
"text"
|
|
63
|
+
],
|
|
64
|
+
"additionalProperties": false
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
68
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/TwoFactorConfig",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"TwoFactorConfig": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"enabled": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false
|
|
10
|
+
},
|
|
11
|
+
"issuer": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "TOTP issuer name"
|
|
14
|
+
},
|
|
15
|
+
"qrCodeSize": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"default": 200,
|
|
18
|
+
"description": "QR code size in pixels"
|
|
19
|
+
},
|
|
20
|
+
"backupCodes": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"enabled": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"default": true
|
|
26
|
+
},
|
|
27
|
+
"count": {
|
|
28
|
+
"type": "number",
|
|
29
|
+
"default": 10,
|
|
30
|
+
"description": "Number of backup codes to generate"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
40
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/User",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"User": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Unique user identifier"
|
|
10
|
+
},
|
|
11
|
+
"email": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"format": "email",
|
|
14
|
+
"description": "User email address"
|
|
15
|
+
},
|
|
16
|
+
"emailVerified": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"default": false,
|
|
19
|
+
"description": "Whether email is verified"
|
|
20
|
+
},
|
|
21
|
+
"name": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "User display name"
|
|
24
|
+
},
|
|
25
|
+
"image": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "uri",
|
|
28
|
+
"description": "Profile image URL"
|
|
29
|
+
},
|
|
30
|
+
"createdAt": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "date-time",
|
|
33
|
+
"description": "Account creation timestamp"
|
|
34
|
+
},
|
|
35
|
+
"updatedAt": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"format": "date-time",
|
|
38
|
+
"description": "Last update timestamp"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"id",
|
|
43
|
+
"email",
|
|
44
|
+
"createdAt",
|
|
45
|
+
"updatedAt"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/UserFieldMapping",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"UserFieldMapping": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"default": "id",
|
|
10
|
+
"description": "User ID field"
|
|
11
|
+
},
|
|
12
|
+
"email": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "email",
|
|
15
|
+
"description": "Email field"
|
|
16
|
+
},
|
|
17
|
+
"name": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "name",
|
|
20
|
+
"description": "Name field"
|
|
21
|
+
},
|
|
22
|
+
"image": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"default": "image",
|
|
25
|
+
"description": "Profile image field"
|
|
26
|
+
},
|
|
27
|
+
"emailVerified": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"default": "email_verified",
|
|
30
|
+
"description": "Email verification status field"
|
|
31
|
+
},
|
|
32
|
+
"createdAt": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"default": "created_at",
|
|
35
|
+
"description": "Created timestamp field"
|
|
36
|
+
},
|
|
37
|
+
"updatedAt": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"default": "updated_at",
|
|
40
|
+
"description": "Updated timestamp field"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
47
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/VectorStoreConfig",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"VectorStoreConfig": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"provider": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"pinecone",
|
|
11
|
+
"weaviate",
|
|
12
|
+
"qdrant",
|
|
13
|
+
"milvus",
|
|
14
|
+
"chroma",
|
|
15
|
+
"pgvector",
|
|
16
|
+
"redis",
|
|
17
|
+
"opensearch",
|
|
18
|
+
"elasticsearch",
|
|
19
|
+
"custom"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"indexName": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Index/collection name"
|
|
25
|
+
},
|
|
26
|
+
"namespace": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Namespace for multi-tenancy"
|
|
29
|
+
},
|
|
30
|
+
"host": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "Vector store host"
|
|
33
|
+
},
|
|
34
|
+
"port": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"description": "Vector store port"
|
|
37
|
+
},
|
|
38
|
+
"apiKey": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "API key or reference to secret"
|
|
41
|
+
},
|
|
42
|
+
"dimensions": {
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"exclusiveMinimum": 0,
|
|
45
|
+
"description": "Vector dimensions"
|
|
46
|
+
},
|
|
47
|
+
"metric": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"cosine",
|
|
51
|
+
"euclidean",
|
|
52
|
+
"dotproduct"
|
|
53
|
+
],
|
|
54
|
+
"default": "cosine"
|
|
55
|
+
},
|
|
56
|
+
"batchSize": {
|
|
57
|
+
"type": "integer",
|
|
58
|
+
"exclusiveMinimum": 0,
|
|
59
|
+
"default": 100
|
|
60
|
+
},
|
|
61
|
+
"connectionPoolSize": {
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"exclusiveMinimum": 0,
|
|
64
|
+
"default": 10
|
|
65
|
+
},
|
|
66
|
+
"timeout": {
|
|
67
|
+
"type": "integer",
|
|
68
|
+
"exclusiveMinimum": 0,
|
|
69
|
+
"default": 30000,
|
|
70
|
+
"description": "Timeout in milliseconds"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": [
|
|
74
|
+
"provider",
|
|
75
|
+
"indexName",
|
|
76
|
+
"dimensions"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
82
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/VectorStoreProvider",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"VectorStoreProvider": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"pinecone",
|
|
8
|
+
"weaviate",
|
|
9
|
+
"qdrant",
|
|
10
|
+
"milvus",
|
|
11
|
+
"chroma",
|
|
12
|
+
"pgvector",
|
|
13
|
+
"redis",
|
|
14
|
+
"opensearch",
|
|
15
|
+
"elasticsearch",
|
|
16
|
+
"custom"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
21
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/VerificationToken",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"VerificationToken": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"identifier": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Token identifier (email or phone)"
|
|
10
|
+
},
|
|
11
|
+
"token": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Verification token"
|
|
14
|
+
},
|
|
15
|
+
"expires": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"format": "date-time",
|
|
18
|
+
"description": "Token expiry timestamp"
|
|
19
|
+
},
|
|
20
|
+
"createdAt": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "date-time",
|
|
23
|
+
"description": "Token creation timestamp"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"identifier",
|
|
28
|
+
"token",
|
|
29
|
+
"expires",
|
|
30
|
+
"createdAt"
|
|
31
|
+
],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/spec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "ObjectStack Protocol & Specification - TypeScript Interfaces, JSON Schemas, and Convention Configurations",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./data": {
|
|
13
|
+
"types": "./dist/data/index.d.ts",
|
|
14
|
+
"default": "./dist/data/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./ui": {
|
|
17
|
+
"types": "./dist/ui/index.d.ts",
|
|
18
|
+
"default": "./dist/ui/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./system": {
|
|
21
|
+
"types": "./dist/system/index.d.ts",
|
|
22
|
+
"default": "./dist/system/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./ai": {
|
|
25
|
+
"types": "./dist/ai/index.d.ts",
|
|
26
|
+
"default": "./dist/ai/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./api": {
|
|
29
|
+
"types": "./dist/api/index.d.ts",
|
|
30
|
+
"default": "./dist/api/index.js"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
7
33
|
"files": [
|
|
8
34
|
"dist",
|
|
9
35
|
"json-schema",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/AuthProtocol",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"AuthProtocol": {
|
|
5
|
-
"type": "string",
|
|
6
|
-
"enum": [
|
|
7
|
-
"oidc",
|
|
8
|
-
"saml",
|
|
9
|
-
"ldap",
|
|
10
|
-
"oauth2",
|
|
11
|
-
"local",
|
|
12
|
-
"mock"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
17
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/AuthProvider",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"AuthProvider": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"name": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
10
|
-
"description": "Provider ID"
|
|
11
|
-
},
|
|
12
|
-
"label": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "Button Label (e.g. \"Login with Okta\")"
|
|
15
|
-
},
|
|
16
|
-
"type": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"enum": [
|
|
19
|
-
"oidc",
|
|
20
|
-
"saml",
|
|
21
|
-
"ldap",
|
|
22
|
-
"oauth2",
|
|
23
|
-
"local",
|
|
24
|
-
"mock"
|
|
25
|
-
]
|
|
26
|
-
},
|
|
27
|
-
"config": {
|
|
28
|
-
"anyOf": [
|
|
29
|
-
{
|
|
30
|
-
"type": "object",
|
|
31
|
-
"properties": {
|
|
32
|
-
"issuer": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"format": "uri",
|
|
35
|
-
"description": "OIDC Issuer URL (.well-known/openid-configuration)"
|
|
36
|
-
},
|
|
37
|
-
"clientId": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"clientSecret": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"scopes": {
|
|
44
|
-
"type": "array",
|
|
45
|
-
"items": {
|
|
46
|
-
"type": "string"
|
|
47
|
-
},
|
|
48
|
-
"default": [
|
|
49
|
-
"openid",
|
|
50
|
-
"profile",
|
|
51
|
-
"email"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
"attributeMapping": {
|
|
55
|
-
"type": "object",
|
|
56
|
-
"additionalProperties": {
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
|
-
"description": "Map IdP claims to User fields"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"required": [
|
|
63
|
-
"issuer",
|
|
64
|
-
"clientId",
|
|
65
|
-
"clientSecret"
|
|
66
|
-
],
|
|
67
|
-
"additionalProperties": false
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"type": "object",
|
|
71
|
-
"properties": {
|
|
72
|
-
"entryPoint": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"format": "uri",
|
|
75
|
-
"description": "IdP SSO URL"
|
|
76
|
-
},
|
|
77
|
-
"cert": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"description": "IdP Public Certificate"
|
|
80
|
-
},
|
|
81
|
-
"issuer": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"description": "Entity ID of the IdP"
|
|
84
|
-
},
|
|
85
|
-
"signatureAlgorithm": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"enum": [
|
|
88
|
-
"sha256",
|
|
89
|
-
"sha512"
|
|
90
|
-
],
|
|
91
|
-
"default": "sha256"
|
|
92
|
-
},
|
|
93
|
-
"attributeMapping": {
|
|
94
|
-
"type": "object",
|
|
95
|
-
"additionalProperties": {
|
|
96
|
-
"type": "string"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"required": [
|
|
101
|
-
"entryPoint",
|
|
102
|
-
"cert",
|
|
103
|
-
"issuer"
|
|
104
|
-
],
|
|
105
|
-
"additionalProperties": false
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"type": "object",
|
|
109
|
-
"properties": {
|
|
110
|
-
"url": {
|
|
111
|
-
"type": "string",
|
|
112
|
-
"format": "uri",
|
|
113
|
-
"description": "LDAP Server URL (ldap:// or ldaps://)"
|
|
114
|
-
},
|
|
115
|
-
"bindDn": {
|
|
116
|
-
"type": "string"
|
|
117
|
-
},
|
|
118
|
-
"bindCredentials": {
|
|
119
|
-
"type": "string"
|
|
120
|
-
},
|
|
121
|
-
"searchBase": {
|
|
122
|
-
"type": "string"
|
|
123
|
-
},
|
|
124
|
-
"searchFilter": {
|
|
125
|
-
"type": "string"
|
|
126
|
-
},
|
|
127
|
-
"groupSearchBase": {
|
|
128
|
-
"type": "string"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"required": [
|
|
132
|
-
"url",
|
|
133
|
-
"bindDn",
|
|
134
|
-
"bindCredentials",
|
|
135
|
-
"searchBase",
|
|
136
|
-
"searchFilter"
|
|
137
|
-
],
|
|
138
|
-
"additionalProperties": false
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"type": "object",
|
|
142
|
-
"additionalProperties": {}
|
|
143
|
-
}
|
|
144
|
-
],
|
|
145
|
-
"description": "Provider specific configuration"
|
|
146
|
-
},
|
|
147
|
-
"icon": {
|
|
148
|
-
"type": "string",
|
|
149
|
-
"description": "Icon URL or helper class"
|
|
150
|
-
},
|
|
151
|
-
"active": {
|
|
152
|
-
"type": "boolean",
|
|
153
|
-
"default": true
|
|
154
|
-
},
|
|
155
|
-
"registrationEnabled": {
|
|
156
|
-
"type": "boolean",
|
|
157
|
-
"default": false,
|
|
158
|
-
"description": "Allow new users to sign up via this provider"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"required": [
|
|
162
|
-
"name",
|
|
163
|
-
"label",
|
|
164
|
-
"type",
|
|
165
|
-
"config"
|
|
166
|
-
],
|
|
167
|
-
"additionalProperties": false
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
171
|
-
}
|