mirror of
https://github.com/pikami/cosmium.git
synced 2025-03-27 12:08:43 +00:00
31 lines
795 B
Go
31 lines
795 B
Go
package structhidrators
|
|
|
|
import "github.com/pikami/cosmium/internal/datastore"
|
|
|
|
var defaultCollection datastore.Collection = datastore.Collection{
|
|
IndexingPolicy: datastore.CollectionIndexingPolicy{
|
|
IndexingMode: "consistent",
|
|
Automatic: true,
|
|
IncludedPaths: []datastore.CollectionIndexingPolicyPath{
|
|
{Path: "/*"},
|
|
},
|
|
ExcludedPaths: []datastore.CollectionIndexingPolicyPath{
|
|
{Path: "/\"_etag\"/?"},
|
|
},
|
|
},
|
|
PartitionKey: datastore.CollectionPartitionKey{
|
|
Paths: []string{"/_partitionKey"},
|
|
Kind: "Hash",
|
|
Version: 2,
|
|
},
|
|
ResourceID: "nFFFFFFFFFF=",
|
|
TimeStamp: 0,
|
|
Self: "",
|
|
ETag: "\"00000000-0000-0000-0000-000000000000\"",
|
|
Docs: "docs/",
|
|
Sprocs: "sprocs/",
|
|
Triggers: "triggers/",
|
|
Udfs: "udfs/",
|
|
Conflicts: "conflicts/",
|
|
}
|